mirror of
https://git.adityakumar.xyz/llama.cpp.git
synced 2024-11-14 00:59:43 +00:00
flake.nix: add all binaries from bin (#848)
This commit is contained in:
parent
4579af95e8
commit
c729ff730a
1 changed files with 2 additions and 4 deletions
|
@ -28,10 +28,8 @@
|
||||||
];
|
];
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
mv bin/main $out/bin/llama
|
mv bin/* $out/bin/
|
||||||
mv bin/quantize $out/bin/quantize
|
mv $out/bin/main $out/bin/llama
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue