From 2b652b25953925130f592182d3bbfe25459be0cf Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Mon, 15 Sep 2025 01:46:07 -0700 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 8e19744c62..b425a259dd 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,13 @@ SFTConfig( For **advanced installation instructions** or if you see weird errors during installations: +First try using an isolated environment via then `pip install unsloth` +```bash +python -m venv unsloth +source unsloth/bin/activate +pip install unsloth +``` + 1. Install `torch` and `triton`. Go to https://pytorch.org to install it. For example `pip install torch torchvision torchaudio triton` 2. Confirm if CUDA is installed correctly. Try `nvcc`. If that fails, you need to install `cudatoolkit` or CUDA drivers. 3. Install `xformers` manually via: