Open BurakaKrishna opened 1 week ago
Tried
pip install -U torch==2.3.1
pip install torchvision==0.17.2
Was able to import torchvision, but got a new issue
Unsloth: Will patch your computer to enable 2x faster free finetuning.
WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
PyTorch 2.5.0+cu121 with CUDA 1201 (you have 2.2.2+cu121)
Python 3.11.10 (you have 3.11.0rc1)
Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
Memory-efficient attention, SwiGLU, sparse and more won't be available.
Set XFORMERS_MORE_DETAILS=1 for more details
Unsloth: Your Flash Attention 2 installation seems to be broken?
A possible explanation is you have a new CUDA version which isn't
yet compatible with FA2? Please file a ticket to Unsloth or FA2.
We shall now use Xformers instead, which does not have any performance hits!
We found this negligible impact by benchmarking on 1x A100.
ImportError: Unsloth: You have torch = 2.2.2+cu121 but xformers = 0.0.28.post2.
Please install xformers < 0.0.26 for torch = 2.2.2+cu121.
Try running wget -qO- https://raw.githubusercontent.com/unslothai/unsloth/main/unsloth/_auto_install.py | python -
then running that directly
Tried installing unsloth in databricks
While importing
from unsloth import FastLanguageModel
Got error
Anyone who has used unsloth in databricks have faced this issue ?