更新多卡部署

This commit is contained in:
hzg0601 2023-08-14 11:24:52 +08:00
parent 84e4981cc1
commit 6590ca32db
2 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def create_model_worker_app(
gptq_act_order=None,
gpus=None,
num_gpus=1,
max_gpu_memory=None,
max_gpu_memory="20GiB",
cpu_offloading=None,
worker_address=base_url.format(model_worker_port),
controller_address=base_url.format(controller_port),

View File

@ -76,6 +76,7 @@ parser.add_argument("--num-gpus", type=int, default=1)
parser.add_argument(
"--max-gpu-memory",
type=str,
default="20GiB",
help="The maximum memory per gpu. Use a string like '13Gib'",
)
parser.add_argument(