snakeConda Install

To install Unsloth locally on Conda, follow the steps below:

circle-exclamation

Select either pytorch-cuda=11.8,12.1 for CUDA 11.8 or CUDA 12.1. We support python=3.10,3.11,3.12.

conda create --name unsloth_env python=3.11 -y
conda activate unsloth_env
pip install unsloth

If you're looking to install Conda in a Linux environment, read herearrow-up-right, or run the below:

mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh
~/miniconda3/bin/conda init bash
~/miniconda3/bin/conda init zsh

Last updated

Was this helpful?