forked from lm-sys/FastChat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeci6.slurm
27 lines (22 loc) · 893 Bytes
/
deci6.slurm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
#SBATCH --job-name=deci6
#SBATCH --output=/p/haicluster/llama/FastChat/logs/%j.txt
#SBATCH --error=/p/haicluster/llama/FastChat/logs/%j.txt
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=16
#SBATCH --time=100:00:00
#SBATCH --gres=gpu:1
echo "I AM ON "$(hostname) " running DeciLM-6b"
cd /p/haicluster/llama/FastChat
source sc_venv_template/activate.sh
# We use model-names to fool langchain, which expects model names from OpenAI
# This messes up with the web server, as seen in https://github.com/lm-sys/FastChat/issues/1947
srun python3 fastchat/serve/model_worker.py \
--controller http://haicluster1.fz-juelich.de:21001 \
--port 31027 --worker http://$(hostname):31027 \
--num-gpus 1 \
--host 0.0.0.0 \
--model-path models/DeciLM-6b \
# --model-names "gpt-3.5-turbo,vicuna-7b-v.13" \
# --max-gpu-memory 22Gb \