Open pusapatiakhilraju opened 4 weeks ago
Apologies on the issue - it's possible torch got randomnly updated - instead of updating all of Unsloth's dependencies, another way is to do pip install --no-deps --upgrade --no-cache-dir unsloth
Thank you for a quick response :)
I've done pip install --no-cache-dir unsloth
in a new environment that results in -
But - still has the below issue - and has become slow.
I assume with upgrade what has happened is that, unsloth is expecting CUDA 12 libraries (libnvrtc.so.12) but I have CUDA 8.
Cool the fix for that is - I had to manually downgrade the torch
version to work with CUDA8 and the same for xformers
.
Thanks @danielhanchen
I had previously installed
unsloth
on an environment usingpip install unsloth
. It was working fine with inference for the below code at around 1min 10seconds. I then learnt about the new unsloth_trainer and didpip install --upgrade unsloth
. Now running the below code gives following warning and the time forinference
on the same datatakes 2mins
frompreviously 1min
.I'm pretty sure even model loading also is taking a lot more time. How can I fix it?