Skip to content

Commit

Permalink
Add default wall time
Browse files Browse the repository at this point in the history
  • Loading branch information
XkunW committed Apr 5, 2024
1 parent 115ecca commit d6240a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions models/llama2/vllm.slurm
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
#SBATCH --cpus-per-task=16
#SBATCH --mem=32G
#SBATCH --time=04:00:00


# NOTE: Instead of invoking this script directly via sbatch, use `bash openai_entrypoint.sh`
# to keep track of environment configurations.
Expand Down
4 changes: 2 additions & 2 deletions models/mixtral/launch_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ sbatch --job-name ${JOB_NAME} \
--partition ${JOB_PARTITION} \
--gres gpu:${NUM_GPUS} \
--qos ${QOS} \
--output $(dirname $(realpath "$0"))/vllm-${MODEL_NAME}-${MODEL_VARIANT}.%j.out\
--error $(dirname $(realpath "$0"))/vllm-${MODEL_NAME}-${MODEL_VARIANT}.%j.err\
--output $(dirname $(realpath "$0"))/vllm-${MODEL_NAME}.%j.out\
--error $(dirname $(realpath "$0"))/vllm-${MODEL_NAME}.%j.err\
$(dirname $(realpath "$0"))/vllm.slurm
1 change: 1 addition & 0 deletions models/mixtral/vllm.slurm
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
#SBATCH --cpus-per-task=16
#SBATCH --mem=64G
#SBATCH --time=04:00:00

# NOTE: Instead of invoking this script directly via sbatch, use `bash openai_entrypoint.sh`
# to keep track of environment configurations.
Expand Down

0 comments on commit d6240a7

Please sign in to comment.