Browse Source

Fix Nix build

Ben Siraphob 2 years ago
parent
commit
a18c19259a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      flake.nix

+ 2 - 2
flake.nix

@@ -28,8 +28,8 @@
           ];
           installPhase = ''
             mkdir -p $out/bin
-            mv llama $out/bin/llama
-            mv quantize $out/bin/quantize
+            mv bin/main $out/bin/llama
+            mv bin/quantize $out/bin/quantize
             echo "#!${llama-python}/bin/python" > $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