-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b0cd97b
commit 46146ed
Showing
8 changed files
with
40 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
TRTLLM/models/Meta-Llama-3-8B-Instruct/put-original-model-files-here.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Docker Developing and Debugging Reference: https://cloud.tencent.com/developer/article/2125942 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
docker exec -it reserve /bin/bash | ||
docker exec -it reserve-leader /bin/bash | ||
docker exec -it reserve-worker /bin/bash | ||
|
||
/code/REServe/Initializer/main.sh run --tp 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
docker network create --driver bridge reserve-network |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
apt-get install vim | ||
apt-get install openssh-server | ||
passwd | ||
# vim /etc/ssh/sshd_config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
# Replace MODEL_PATH to your own model path | ||
MODEL_PATH="/home/LAB/zhangyh2/workspace/models" | ||
# under MODEL_PATH: | ||
# models/checkpoints | ||
# models/engines | ||
# models/models/Meta-Llama-3-8B-Instruct | ||
|
||
docker run -it -d --network=reserve-network -p 8888:22 -p 8080:8080 -p 8081:8081 -p 8082:8082 \ | ||
--runtime=nvidia --cap-add=SYS_PTRACE --cap-add=SYS_ADMIN --hostname reserve-leader \ | ||
--security-opt seccomp=unconfined --shm-size=16g --privileged \ | ||
--ulimit memlock=-1 --gpus=all --volume ${MODEL_PATH}:/mnt/models --workdir /code \ | ||
--name=reserve-leader reserve-llm:latest | ||
|
||
docker run -it -d --network=reserve-network \ | ||
--runtime=nvidia --cap-add=SYS_PTRACE --cap-add=SYS_ADMIN --hostname reserve-worker \ | ||
--security-opt seccomp=unconfined --shm-size=16g --privileged \ | ||
--ulimit memlock=-1 --gpus=all --volume ${MODEL_PATH}:/mnt/models --workdir /code \ | ||
--name=reserve-worker reserve-llm:latest |