Add new binaries to flake.nix (#847)

This commit is contained in:
lon 2023-04-08 07:04:23 -03:00 committed by GitHub
parent 62cfc54f77
commit 317fb12fbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,9 @@
mkdir -p $out/bin mkdir -p $out/bin
mv bin/main $out/bin/llama mv bin/main $out/bin/llama
mv bin/quantize $out/bin/quantize mv bin/quantize $out/bin/quantize
mv bin/embedding $out/bin/embedding
mv bin/perplexity $out/bin/perplexity
echo "#!${llama-python}/bin/python" > $out/bin/convert-pth-to-ggml echo "#!${llama-python}/bin/python" > $out/bin/convert-pth-to-ggml
cat ${./convert-pth-to-ggml.py} >> $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 chmod +x $out/bin/convert-pth-to-ggml