diff --git a/README.md b/README.md index 9c5bf033df..c862d52b6b 100644 --- a/README.md +++ b/README.md @@ -50,43 +50,35 @@ Unsloth Studio works on **Windows, Linux, WSL** and **macOS**. * **Coming soon:** Training support for Apple MLX, AMD, and Intel. * **Multi-GPU:** Available now, with a major upgrade on the way -#### MacOS, Linux or WSL Setup (One time): +#### Windows, MacOS, Linux or WSL Setup (One time): ``` -pip install --upgrade pip ; pip install uv -uv venv unsloth_studio -source unsloth_studio/bin/activate +pip install -U pip uv +uv venv uv pip install unsloth --torch-backend=auto -unsloth studio setup +uv run unsloth studio setup +uv run unsloth studio -H 0.0.0.0 -p 8888 ``` Then to launch everytime: ``` -source unsloth_studio/bin/activate ; unsloth studio -H 0.0.0.0 -p 8888 +uv run unsloth studio -H 0.0.0.0 -p 8888 ``` -#### Windows Setup (One time): -``` -pip install --upgrade pip ; pip install uv -uv venv unsloth_studio -.\unsloth_studio\Scripts\activate -uv pip install unsloth --torch-backend=auto -unsloth studio setup -``` -Then to launch everytime: -``` -.\unsloth_studio\Scripts\activate ; unsloth studio -H 0.0.0.0 -p 8888 -``` Use our [Docker image](https://hub.docker.com/r/unsloth/unsloth) ```unsloth/unsloth``` container. Read our [Docker Guide](https://unsloth.ai/docs/get-started/install/docker). You can also install directly from source: ``` -pip install --upgrade pip ; pip install uv +pip install --upgrade pip uv git clone --filter=blob:none https://github.com/unslothai/unsloth.git cd unsloth -uv venv unsloth_studio -source unsloth_studio/bin/activate +uv venv uv pip install -e . --torch-backend=auto -unsloth studio setup -unsloth studio -H 0.0.0.0 -p 8888 +uv run unsloth studio setup +uv run unsloth studio -H 0.0.0.0 -p 8888 +``` +Then to launch everytime: +``` +cd unsloth +uv run unsloth studio -H 0.0.0.0 -p 8888 ``` ### Unsloth Core (code-based)