Skip to content

Commit

Permalink
flake.nix: add all binaries from bin (ggerganov#848)
Browse files Browse the repository at this point in the history
  • Loading branch information
prusnak authored Apr 13, 2023
1 parent 4579af9 commit c729ff7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@
];
installPhase = ''
mkdir -p $out/bin
mv bin/main $out/bin/llama
mv bin/quantize $out/bin/quantize
mv bin/embedding $out/bin/embedding
mv bin/perplexity $out/bin/perplexity
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
Expand Down

0 comments on commit c729ff7

Please sign in to comment.