|
|
@ -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
|
|
|
|