Przeglądaj źródła

nix: use convert.py instead of legacy wrapper convert-pth-to-ggml.py (#981)

Pavol Rusnak 2 lat temu
rodzic
commit
bb98e77be7
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      flake.nix

+ 3 - 3
flake.nix

@@ -30,9 +30,9 @@
             mv bin/* $out/bin/
             mv bin/* $out/bin/
             mv $out/bin/main $out/bin/llama
             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
-            chmod +x $out/bin/convert-pth-to-ggml
+            echo "#!${llama-python}/bin/python" > $out/bin/convert.py
+            cat ${./convert.py} >> $out/bin/convert.py
+            chmod +x $out/bin/convert.py
           '';
           '';
           meta.mainProgram = "llama";
           meta.mainProgram = "llama";
         };
         };