Skip to content

Commit 0ff42d0

Browse files
authored
Merge pull request #31 from james-tang17/james-tang17-patch-1
Update README.md
2 parents b6e6076 + 46af476 commit 0ff42d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

vllm/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ HOST_DIR is the directory you want to mount into the docker.
8585
8686
```bash
8787
IMAGE_NAME="intel/llm-scaler-platform:latest"
88-
HOST_DIR="$2"
88+
HOST_DIR=""
8989

9090
# Verify directory exists
9191
if [ ! -d "$HOST_DIR" ]; then
@@ -95,7 +95,9 @@ fi
9595

9696
# Run the container
9797
docker run -it \
98+
--privileged \
9899
--device=/dev/dri \
100+
$(for dev in /dev/mei*; do echo --device $dev; done) \
99101
--group-add video \
100102
--cap-add=SYS_ADMIN \
101103
--mount type=bind,source=/dev/dri/by-path,target=/dev/dri/by-path \

0 commit comments

Comments
 (0)