Open regstuff opened 6 months ago
@regstuff Could you try uninstalling then installing Unsloth ie:
pip uninstall unsloth -y
pip install --upgrade --force-reinstall --no-cache-dir git+https://github.com/unslothai/unsloth.git
@danielhanchen Thanks. Deleted my whole virtual env and did everything from scratch, and it's working now. For some weir reason I also have to install packaging via pip otherwise it says can't find this module.
Oh interesting on packaging
Using the latest unsloth I get this error when trying to do a lora finetune of Mistral 7B.
Inferencing works just fine btw.
Here's the relevant code block. This code works fine in colab though. (JFYI my local install is done as per the github repo instructions. I did not simply copy the colab install cells.)