Skip to content

Commit dc0a187

Browse files
committed
Add/modify A4 & A4X Qwen2.5-VL-7B, Qwen3-235B-A22B, Llama3.1-405B, TRTLLM launcher, TRTLLM values YAML files for A4 & A4X
1 parent c5c2cb4 commit dc0a187

12 files changed

Lines changed: 96 additions & 77 deletions

File tree

inference/a4/single-host-serving/tensorrt-llm/values.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@ workload:
5555
value: "/usr/local/nvidia/lib64:/usr/local/lib/"
5656
benchmarks:
5757
experiments:
58-
- isl: 1024 # input sequence length
59-
osl: 4096 # output sequence length
60-
# psl: 7900 # prefix sequence length
58+
- isl: 1024 # Input sequence length
59+
osl: 4096 # Output sequence length
6160
num_requests: 1000
6261

6362
network:

inference/a4x/single-host-serving/tensorrt-llm/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ workload:
5151
value: "/workload/configs/serving-args.yaml"
5252
benchmarks:
5353
experiments:
54-
- isl: 2048
55-
osl: 2048
54+
- isl: 1024 # Input sequence length
55+
osl: 4096 # Output sequence length
5656
num_requests: 1000
5757

5858
network:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tp_size: 4
1+
tp_size: 8
22
pp_size: 1
33
backend: pytorch
44
kv_cache_free_gpu_mem_fraction: 0.90
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
tp_size: 1
22
pp_size: 1
33
backend: pytorch
4-
kv_cache_free_gpu_mem_fraction: 0.90
4+
modality: image # For multimodal VL models
5+
streaming: true # For multimodal VL models
6+
max_input_len: 8192 # For multimodal VL models
7+
max_batch_size: 2 # For multimodal VL models
8+
kv_cache_free_gpu_mem_fraction: 0.95
9+
dataset: /gcs/datasets/Qwen2.5-VL-7B-Instruct/Qwen_Qwen2.5-VL-7B-Instruct/inlen1024_outlen110_prefixlen0_MM_imgnum5.5_imgsize736x736.jsonl
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
tp_size: 1
22
pp_size: 1
33
backend: pytorch
4-
kv_cache_free_gpu_mem_fraction: 0.90
4+
modality: image # For multimodal VL models
5+
streaming: true # For multimodal VL models
6+
max_input_len: 8192 # For multimodal VL models
7+
max_batch_size: 2 # For multimodal VL models
8+
kv_cache_free_gpu_mem_fraction: 0.95
9+
dataset: /gcs/datasets/Qwen2.5-VL-7B-Instruct/Qwen_Qwen2.5-VL-7B-Instruct/inlen1024_outlen110_prefixlen0_MM_imgnum5.5_imgsize736x736.jsonl
Lines changed: 15 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,18 @@
11
tp_size: 4
22
pp_size: 1
3-
ep_size: 1
43
backend: pytorch
5-
kv_cache_free_gpu_mem_fraction: 0.20
6-
# llm_api_args:
7-
# cuda_graph_config:
8-
# batch_sizes:
9-
# - 1
10-
# - 2
11-
# - 4
12-
# - 8
13-
# - 16
14-
# - 20
15-
# - 24
16-
# - 32
17-
# - 64
18-
# - 96
19-
# - 128
20-
# - 160
21-
# - 192
22-
# - 256
23-
# - 320
24-
# - 384
25-
# - 512
26-
# enable_padding: true
27-
# enable_attention_dp: true
28-
# enable_chunked_prefill: true
29-
# kv_cache_config:
30-
# dtype: auto
31-
# enable_block_reuse: false
32-
# free_gpu_memory_fraction: 0.40
33-
# moe_config:
34-
# backend: CUTLASS
35-
# print_iter_log: true
4+
moe_backend: DEEPGEMM
5+
llm_api_args:
6+
print_iter_log: true
7+
cuda_graph_config:
8+
max_batch_size: 1762
9+
enable_padding: true
10+
torch_compile_config:
11+
capture_num_tokens: [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 768, 1024, 1280, 1536, 1792, 2048, 2304, 2560, 2816, 3072, 3328, 3584, 3840]
12+
enable_userbuffers: false
13+
max_num_streams: 2
14+
enable_piecewise_cuda_graph: true
15+
enable_chunked_prefill: true
16+
kv_cache_config:
17+
enable_block_reuse: false
18+
free_gpu_memory_fraction: 0.90
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
tp_size: 4
22
pp_size: 1
33
backend: pytorch
4-
kv_cache_free_gpu_mem_fraction: 0.90
4+
moe_backend: DEEPGEMM
5+
llm_api_args:
6+
print_iter_log: true
7+
cuda_graph_config:
8+
max_batch_size: 1762
9+
enable_padding: true
10+
torch_compile_config:
11+
capture_num_tokens: [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 768, 1024, 1280, 1536, 1792, 2048, 2304, 2560, 2816, 3072, 3328, 3584, 3840]
12+
enable_userbuffers: false
13+
max_num_streams: 2
14+
enable_piecewise_cuda_graph: true
15+
enable_chunked_prefill: true
16+
kv_cache_config:
17+
enable_block_reuse: false
18+
free_gpu_memory_fraction: 0.90
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
tp_size: 1
22
pp_size: 1
33
backend: pytorch
4-
kv_cache_free_gpu_mem_fraction: 0.90
4+
modality: image # For multimodal VL models
5+
streaming: true # For multimodal VL models
6+
max_input_len: 8192 # For multimodal VL models
7+
max_batch_size: 2 # For multimodal VL models
8+
kv_cache_free_gpu_mem_fraction: 0.95
9+
dataset: /gcs/datasets/Qwen2.5-VL-7B-Instruct/Qwen_Qwen2.5-VL-7B-Instruct/inlen1024_outlen110_prefixlen0_MM_imgnum5.5_imgsize736x480.jsonl
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
tp_size: 1
22
pp_size: 1
33
backend: pytorch
4-
kv_cache_free_gpu_mem_fraction: 0.90
4+
modality: image # For multimodal VL models
5+
streaming: true # For multimodal VL models
6+
max_input_len: 8192 # For multimodal VL models
7+
max_batch_size: 2 # For multimodal VL models
8+
kv_cache_free_gpu_mem_fraction: 0.95
9+
dataset: /gcs/datasets/Qwen2.5-VL-7B-Instruct/Qwen_Qwen2.5-VL-7B-Instruct/inlen1024_outlen110_prefixlen0_MM_imgnum5.5_imgsize736x480.jsonl
Lines changed: 15 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,18 @@
11
tp_size: 4
22
pp_size: 1
3-
ep_size: 1
43
backend: pytorch
5-
kv_cache_free_gpu_mem_fraction: 0.20
6-
# llm_api_args:
7-
# cuda_graph_config:
8-
# batch_sizes:
9-
# - 1
10-
# - 2
11-
# - 4
12-
# - 8
13-
# - 16
14-
# - 20
15-
# - 24
16-
# - 32
17-
# - 64
18-
# - 96
19-
# - 128
20-
# - 160
21-
# - 192
22-
# - 256
23-
# - 320
24-
# - 384
25-
# - 512
26-
# enable_padding: true
27-
# enable_attention_dp: true
28-
# enable_chunked_prefill: true
29-
# kv_cache_config:
30-
# dtype: auto
31-
# enable_block_reuse: false
32-
# free_gpu_memory_fraction: 0.40
33-
# moe_config:
34-
# backend: CUTLASS
35-
# print_iter_log: true
4+
moe_backend: DEEPGEMM
5+
llm_api_args:
6+
print_iter_log: true
7+
cuda_graph_config:
8+
max_batch_size: 1762
9+
enable_padding: true
10+
torch_compile_config:
11+
capture_num_tokens: [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 768, 1024, 1280, 1536, 1792, 2048, 2304, 2560, 2816, 3072, 3328, 3584, 3840]
12+
enable_userbuffers: false
13+
max_num_streams: 2
14+
enable_piecewise_cuda_graph: true
15+
enable_chunked_prefill: true
16+
kv_cache_config:
17+
enable_block_reuse: false
18+
free_gpu_memory_fraction: 0.90

0 commit comments

Comments
 (0)