nix: use convert.py instead of legacy wrapper convert-pth-to-ggml.py

This commit is contained in:
Pavol Rusnak 2023-04-14 21:17:35 +02:00
parent c56b715269
commit 4d0f761a4c
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -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";
}; };