Step1:
conda create –name unsloth_env \
python=3.10 \
pytorch-cuda=11.8 \
pytorch cudatoolkit xformers -c pytorch -c nvidia -c xformers \
-y
Step2:
conda activate unsloth_env
pip install –upgrade pip
pip install unsloth
Step3:
pip3 install -U xformers –index-url https://download.pytorch.org/whl/cu118