mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-25 02:44:36 +00:00
Fix Nix build
This commit is contained in:
parent
a50e39c6fe
commit
a18c19259a
@ -28,8 +28,8 @@
|
|||||||
];
|
];
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
mv llama $out/bin/llama
|
mv bin/main $out/bin/llama
|
||||||
mv quantize $out/bin/quantize
|
mv bin/quantize $out/bin/quantize
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user