You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/installation.mdx
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,15 +146,25 @@ Please follow these steps to install bitsandbytes with device-specific backend s
146
146
bitsandbytes is fully supported from ROCm 6.1 onwards (currently in alpha release).
147
147
148
148
> [!TIP]
149
-
> If you already installed ROCm and PyTorch, skip Docker steps below and please check that the torch version matches your ROCm install. To install torch for a specific ROCm version, please refer to step 3 of wheels install in [Installing PyTorch for ROCm](https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/3rd-party/pytorch-install.html#using-wheels-package)guide.
149
+
> If you would like to install ROCm and PyTorch on bare metal, skip Docker steps and refer to our official guides at [ROCm installation overview](https://rocm.docs.amd.com/projects/install-on-linux/en/latest/tutorial/install-overview.html#rocm-install-overview) and [Installing PyTorch for ROCm](https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/3rd-party/pytorch-install.html#using-wheels-package)(Step 3 of wheels build for quick installation). Please make sure to get PyTorch wheel for the installed ROCm version.
150
150
151
151
```bash
152
-
# Create a docker container with latest pytorch. It comes with ROCm and pytorch preinstalled
153
-
docker pull rocm/pytorch:latest
154
-
docker run -it --device=/dev/kfd --device=/dev/dri --group-add video rocm/pytorch:latest
152
+
# Create a docker container with latest ROCm image, which includes ROCm libraries
153
+
docker pull rocm/dev-ubuntu-22.04:6.1.2-complete
154
+
docker run -it --device=/dev/kfd --device=/dev/dri --group-add video rocm/dev-ubuntu-22.04:6.1.2-complete
155
+
apt-get update && apt-get install -y git &&cd home
155
156
157
+
# Install pytorch compatible with above ROCm version
0 commit comments