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
If you want to build LMDeploy with support for Ascend, Cambricon, or MACA, install LMDeploy with the corresponding `LMDEPLOY_TARGET_DEVICE` environment variable.
58
+
59
+
LMDeploy also supports installation on AMD GPUs with ROCm.
60
+
61
+
```shell
62
+
#The recommended way is to use the official ROCm PyTorch Docker image with pre-installed dependencies:
63
+
docker run -it \
64
+
--cap-add=SYS_PTRACE \
65
+
--security-opt seccomp=unconfined \
66
+
--device=/dev/kfd \
67
+
--device=/dev/dri \
68
+
--group-add video \
69
+
--ipc=host \
70
+
--network=host \
71
+
--shm-size 32G \
72
+
-v /root:/workspace \
73
+
rocm/pytorch:latest
74
+
75
+
76
+
#Once inside the container, install LMDeploy with ROCm support:
0 commit comments