Skip to content

Commit

Permalink
nix: use convert.py instead of legacy wrapper convert-pth-to-ggml.py (g…
Browse files Browse the repository at this point in the history
  • Loading branch information
prusnak committed Apr 25, 2023
1 parent 7a32fcb commit bb98e77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
mv bin/* $out/bin/
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";
};
Expand Down

0 comments on commit bb98e77

Please sign in to comment.