mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-26 06:10:29 +01:00
nix: use convert.py instead of legacy wrapper convert-pth-to-ggml.py (#981)
This commit is contained in:
parent
7a32fcb3b2
commit
bb98e77be7
@ -30,9 +30,9 @@
|
|||||||
mv bin/* $out/bin/
|
mv bin/* $out/bin/
|
||||||
mv $out/bin/main $out/bin/llama
|
mv $out/bin/main $out/bin/llama
|
||||||
|
|
||||||
echo "#!${llama-python}/bin/python" > $out/bin/convert-pth-to-ggml
|
echo "#!${llama-python}/bin/python" > $out/bin/convert.py
|
||||||
cat ${./convert-pth-to-ggml.py} >> $out/bin/convert-pth-to-ggml
|
cat ${./convert.py} >> $out/bin/convert.py
|
||||||
chmod +x $out/bin/convert-pth-to-ggml
|
chmod +x $out/bin/convert.py
|
||||||
'';
|
'';
|
||||||
meta.mainProgram = "llama";
|
meta.mainProgram = "llama";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user