nix: use convert.py instead of legacy wrapper convert-pth-to-ggml.py (#981)

This commit is contained in:
Pavol Rusnak 2023-04-25 23:19:57 +02:00 committed by GitHub
parent 17cded0679
commit 3c1c300ec5
1 changed files with 3 additions and 3 deletions

View File

@ -30,9 +30,9 @@
mv bin/* $out/bin/
mv $out/bin/main $out/bin/llama
echo "#!${llama-python}/bin/python" > $out/bin/convert-pth-to-ggml
cat ${./convert-pth-to-ggml.py} >> $out/bin/convert-pth-to-ggml
chmod +x $out/bin/convert-pth-to-ggml
echo "#!${llama-python}/bin/python" > $out/bin/convert.py
cat ${./convert.py} >> $out/bin/convert.py
chmod +x $out/bin/convert.py
'';
meta.mainProgram = "llama";
};