r/LocalLLaMA•
No-Mud-1902

Trouble setting up conda environment for unsloth finetuning

Question | Help

Can you please help me find a clean way to set up a conda environment correctly to finetune a model from huggingface using unsloth. I keep getting dependency issues and am losing my mind. this is what am doing now:

conda create --name unsloth_env python=3.10 -y
conda activate unsloth_env
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia -y
pip install bitsandbytes
pip install git+https://github.com/unslothai/unsloth.git

Posted Jul 7, 2025, 3:16 PM UTC

10
Loading comments…