convert-pth-to-ggml.py has become very slow #663
Replies: 1 comment
-
By writing the models to my SSD instead of my HDD, converting them is much much faster. Maybe some room for improvement in the future (the naive solution if you have enough ram is just to store the entire thing in ram with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A few weeks ago,
convert-pth-to-ggml.py
ran reasonably fast for me (still took a while to convert the larger models). Now (seemingly after the format changes to allowmmap
) it is very slow. It will likely take over an hour to convert the 13B model. I'm running it in an anaconda environment on Windows using miniconda3. I can provide additional specs or debugging information if necessary.Edit: looking at
cProfiler
trace, it looks like thefile.seek()
method is performing very poorly. Maybe this is because I'm on Windows and it performs better on linux?Beta Was this translation helpful? Give feedback.
All reactions