Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/integration/defs/perf/disagg/execution/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ def submit_job(test_config) -> tuple:
logger.error(f"Job submission exception: {error_msg}")
# Clean up temporary file on exception
temp_config_path = test_config.temp_config_path
if os.path.exists(temp_config_path):
os.remove(temp_config_path)
# if os.path.exists(temp_config_path):
# os.remove(temp_config_path)
return False, error_msg

@staticmethod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
import subprocess
from typing import Optional

from utils.logger import logger


def exec_cmd(*popenargs, timeout: Optional[float] = None, **kwargs) -> int:
"""Execute command and return exit code.
Expand Down Expand Up @@ -54,4 +56,10 @@ def exec_cmd_with_output(*popenargs, timeout: Optional[float] = None, **kwargs)
check=True,
**kwargs,
)

# Log stderr if it exists
if result.stderr:
stderr_output = result.stderr.decode()
logger.error(f"Command stderr: {stderr_output}")

return result.stdout.decode()
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ slurm:
account: <account>
job_time: 02:00:00
job_name: unified-benchmark
extra_args: "--gres=gpu:4"
numa_bind: true
benchmark:
mode: e2e
Expand All @@ -36,6 +37,8 @@ environment:
trtllm_repo: ''
build_wheel: false
work_dir: <full_path_to_work_dir>
worker_env_var: "TLLM_LOG_LEVEL=INFO TRTLLM_SERVER_DISABLE_GC=1 TRTLLM_WORKER_DISABLE_GC=1 TRTLLM_ENABLE_PDL=1 ENROOT_ALLOW_DEV=yes"
server_env_var: "TRTLLM_SERVER_DISABLE_GC=1"
profiling:
nsys_on: false
accuracy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ slurm:
account: <account>
job_time: 02:00:00
job_name: unified-benchmark
extra_args: "--gres=gpu:4"
numa_bind: true
benchmark:
mode: e2e
Expand All @@ -36,6 +37,8 @@ environment:
trtllm_repo: ''
build_wheel: false
work_dir: <full_path_to_work_dir>
worker_env_var: "TLLM_LOG_LEVEL=INFO TRTLLM_SERVER_DISABLE_GC=1 TRTLLM_WORKER_DISABLE_GC=1 TRTLLM_ENABLE_PDL=1 ENROOT_ALLOW_DEV=yes"
server_env_var: "TRTLLM_SERVER_DISABLE_GC=1"
profiling:
nsys_on: false
accuracy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ slurm:
account: <account>
job_time: 02:00:00
job_name: unified-benchmark
extra_args: "--gres=gpu:4"
numa_bind: true
benchmark:
mode: e2e
Expand All @@ -36,6 +37,8 @@ environment:
trtllm_repo: ''
build_wheel: false
work_dir: <full_path_to_work_dir>
worker_env_var: "TLLM_LOG_LEVEL=INFO TRTLLM_SERVER_DISABLE_GC=1 TRTLLM_WORKER_DISABLE_GC=1 TRTLLM_ENABLE_PDL=1 ENROOT_ALLOW_DEV=yes"
server_env_var: "TRTLLM_SERVER_DISABLE_GC=1"
profiling:
nsys_on: false
accuracy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ slurm:
account: <account>
job_time: 02:00:00
job_name: unified-benchmark
extra_args: "--gres=gpu:4"
numa_bind: true
benchmark:
mode: e2e
Expand All @@ -36,6 +37,8 @@ environment:
trtllm_repo: ''
build_wheel: false
work_dir: <full_path_to_work_dir>
worker_env_var: "TLLM_LOG_LEVEL=INFO TRTLLM_SERVER_DISABLE_GC=1 TRTLLM_WORKER_DISABLE_GC=1 TRTLLM_ENABLE_PDL=1 ENROOT_ALLOW_DEV=yes"
server_env_var: "TRTLLM_SERVER_DISABLE_GC=1"
profiling:
nsys_on: false
accuracy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ slurm:
account: <account>
job_time: 02:00:00
job_name: unified-benchmark
extra_args: "--gres=gpu:4"
numa_bind: true
benchmark:
mode: e2e
Expand All @@ -36,6 +37,8 @@ environment:
trtllm_repo: ''
build_wheel: false
work_dir: <full_path_to_work_dir>
worker_env_var: "TLLM_LOG_LEVEL=INFO TRTLLM_SERVER_DISABLE_GC=1 TRTLLM_WORKER_DISABLE_GC=1 TRTLLM_ENABLE_PDL=1 ENROOT_ALLOW_DEV=yes"
server_env_var: "TRTLLM_SERVER_DISABLE_GC=1"
profiling:
nsys_on: false
accuracy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ slurm:
account: <account>
job_time: 02:00:00
job_name: unified-benchmark
extra_args: "--gres=gpu:4"
numa_bind: true
benchmark:
mode: e2e
Expand All @@ -36,6 +37,8 @@ environment:
trtllm_repo: ''
build_wheel: false
work_dir: <full_path_to_work_dir>
worker_env_var: "TLLM_LOG_LEVEL=INFO TRTLLM_SERVER_DISABLE_GC=1 TRTLLM_WORKER_DISABLE_GC=1 TRTLLM_ENABLE_PDL=1 ENROOT_ALLOW_DEV=yes"
server_env_var: "TRTLLM_SERVER_DISABLE_GC=1"
profiling:
nsys_on: false
accuracy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ slurm:
account: <account>
job_time: 02:00:00
job_name: unified-benchmark
extra_args: "--gres=gpu:4"
numa_bind: true
benchmark:
mode: e2e
Expand All @@ -36,6 +37,8 @@ environment:
trtllm_repo: ''
build_wheel: false
work_dir: <full_path_to_work_dir>
worker_env_var: "TLLM_LOG_LEVEL=INFO TRTLLM_SERVER_DISABLE_GC=1 TRTLLM_WORKER_DISABLE_GC=1 TRTLLM_ENABLE_PDL=1 ENROOT_ALLOW_DEV=yes"
server_env_var: "TRTLLM_SERVER_DISABLE_GC=1"
profiling:
nsys_on: false
accuracy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ slurm:
account: <account>
job_time: 02:00:00
job_name: unified-benchmark
extra_args: "--gres=gpu:4"
numa_bind: true
benchmark:
mode: e2e
Expand All @@ -36,6 +37,8 @@ environment:
trtllm_repo: ''
build_wheel: false
work_dir: <full_path_to_work_dir>
worker_env_var: "TLLM_LOG_LEVEL=INFO TRTLLM_SERVER_DISABLE_GC=1 TRTLLM_WORKER_DISABLE_GC=1 TRTLLM_ENABLE_PDL=1 ENROOT_ALLOW_DEV=yes"
server_env_var: "TRTLLM_SERVER_DISABLE_GC=1"
profiling:
nsys_on: false
accuracy:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# nvbugs: 5561153
metadata:
model_name: Qwen3-235B-A22B-FP8
precision: fp8
model_dir_name: Qwen3-235B-A22B-FP8
supported_gpus:
- GB200
- GB300
script_file: disaggr_torch.slurm
benchmark_type: 1k1k
config_index: 21
slurm:
script_file: disaggr_torch.slurm
partition: <partition>
account: <account>
job_time: 02:00:00
job_name: unified-benchmark
extra_args: "--gres=gpu:4"
numa_bind: true
benchmark:
mode: e2e
use_nv_sa_benchmark: true
multi_round: 8
benchmark_ratio: 0.8
streaming: true
concurrency_list: 1 2 4 8 16 36
input_length: 1024
output_length: 1024
dataset_file: <dataset_file>
hardware:
gpus_per_node: 4
num_ctx_servers: 1
num_gen_servers: 1
environment:
container_mount: <container_mount>
container_image: <container_image>
model_path: <model_path>
trtllm_repo: ''
build_wheel: false
work_dir: <full_path_to_work_dir>
worker_env_var: "TLLM_LOG_LEVEL=INFO TRTLLM_SERVER_DISABLE_GC=1 TRTLLM_WORKER_DISABLE_GC=1 TRTLLM_ENABLE_PDL=1 ENROOT_ALLOW_DEV=yes"
server_env_var: "TRTLLM_SERVER_DISABLE_GC=1"
profiling:
nsys_on: false
accuracy:
enable_accuracy_test: false
model: local-completions
tasks: gsm8k
model_args_extra: num_concurrent=512,max_retries=3,tokenized_requests=false,timeout=1200,max_gen_toks=256,max_length=4096
worker_config:
gen:
tensor_parallel_size: 4
moe_expert_parallel_size: 4
enable_attention_dp: false
pipeline_parallel_size: 1
max_batch_size: 64
max_num_tokens: 2048
max_seq_len: 2051
cuda_graph_config:
enable_padding: true
max_batch_size: 128
print_iter_log: true
kv_cache_config:
enable_block_reuse: true
free_gpu_memory_fraction: 0.7
dtype: fp8
moe_config:
backend: TRTLLM
cache_transceiver_config:
max_tokens_in_buffer: 2048
backend: NIXL
stream_interval: 20
num_postprocess_workers: 4
allreduce_strategy: MNNVL
disable_overlap_scheduler: false
ctx:
max_batch_size: 32
max_num_tokens: 2048
max_seq_len: 2051
tensor_parallel_size: 4
moe_expert_parallel_size: 4
enable_attention_dp: false
pipeline_parallel_size: 1
print_iter_log: true
cuda_graph_config: null
disable_overlap_scheduler: true
kv_cache_config:
enable_block_reuse: true
free_gpu_memory_fraction: 0.7
dtype: fp8
moe_config:
backend: TRTLLM
cache_transceiver_config:
max_tokens_in_buffer: 2048
backend: NIXL
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# nvbugs: 5561153
metadata:
model_name: Qwen3-235B-A22B-FP8
precision: fp8
model_dir_name: Qwen3-235B-A22B-FP8
supported_gpus:
- GB200
- GB300
script_file: disaggr_torch.slurm
benchmark_type: 1k1k
config_index: 21
slurm:
script_file: disaggr_torch.slurm
partition: <partition>
account: <account>
job_time: 02:00:00
job_name: unified-benchmark
extra_args: "--gres=gpu:4"
numa_bind: true
benchmark:
mode: e2e
use_nv_sa_benchmark: true
multi_round: 8
benchmark_ratio: 0.8
streaming: true
concurrency_list: 1 2 4 8 16 36
input_length: 1024
output_length: 1024
dataset_file: <dataset_file>
hardware:
gpus_per_node: 4
num_ctx_servers: 1
num_gen_servers: 1
environment:
container_mount: <container_mount>
container_image: <container_image>
model_path: <model_path>
trtllm_repo: ''
build_wheel: false
work_dir: <full_path_to_work_dir>
worker_env_var: "TLLM_LOG_LEVEL=INFO TRTLLM_SERVER_DISABLE_GC=1 TRTLLM_WORKER_DISABLE_GC=1 TRTLLM_ENABLE_PDL=1 ENROOT_ALLOW_DEV=yes"
server_env_var: "TRTLLM_SERVER_DISABLE_GC=1"
profiling:
nsys_on: false
accuracy:
enable_accuracy_test: false
model: local-completions
tasks: gsm8k
model_args_extra: num_concurrent=512,max_retries=3,tokenized_requests=false,timeout=1200,max_gen_toks=256,max_length=4096
worker_config:
gen:
tensor_parallel_size: 4
moe_expert_parallel_size: 4
enable_attention_dp: false
pipeline_parallel_size: 1
max_batch_size: 64
max_num_tokens: 2048
max_seq_len: 2051
cuda_graph_config:
enable_padding: true
max_batch_size: 128
print_iter_log: true
kv_cache_config:
enable_block_reuse: true
free_gpu_memory_fraction: 0.7
dtype: fp8
moe_config:
backend: TRTLLM
cache_transceiver_config:
max_tokens_in_buffer: 2048
backend: UCX
stream_interval: 20
num_postprocess_workers: 4
allreduce_strategy: MNNVL
disable_overlap_scheduler: false
ctx:
max_batch_size: 32
max_num_tokens: 2048
max_seq_len: 2051
tensor_parallel_size: 4
moe_expert_parallel_size: 4
enable_attention_dp: false
pipeline_parallel_size: 1
print_iter_log: true
cuda_graph_config: null
disable_overlap_scheduler: true
kv_cache_config:
enable_block_reuse: true
free_gpu_memory_fraction: 0.7
dtype: fp8
moe_config:
backend: TRTLLM
cache_transceiver_config:
max_tokens_in_buffer: 2048
backend: UCX
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ slurm:
account: <account>
job_time: 02:00:00
job_name: unified-benchmark
extra_args: "--gres=gpu:4"
numa_bind: true
benchmark:
mode: e2e
Expand All @@ -37,6 +38,8 @@ environment:
build_wheel: false
trtllm_wheel_path: ''
work_dir: <full_path_to_work_dir>
worker_env_var: "TLLM_LOG_LEVEL=INFO TRTLLM_SERVER_DISABLE_GC=1 TRTLLM_WORKER_DISABLE_GC=1 TRTLLM_ENABLE_PDL=1 ENROOT_ALLOW_DEV=yes"
server_env_var: "TRTLLM_SERVER_DISABLE_GC=1"
profiling:
nsys_on: false
accuracy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ slurm:
account: <account>
job_time: 02:00:00
job_name: unified-benchmark
extra_args: "--gres=gpu:4"
numa_bind: true
benchmark:
mode: e2e
Expand All @@ -36,6 +37,8 @@ environment:
trtllm_repo: ''
build_wheel: false
work_dir: <full_path_to_work_dir>
worker_env_var: "TLLM_LOG_LEVEL=INFO TRTLLM_SERVER_DISABLE_GC=1 TRTLLM_WORKER_DISABLE_GC=1 TRTLLM_ENABLE_PDL=1 ENROOT_ALLOW_DEV=yes"
server_env_var: "TRTLLM_SERVER_DISABLE_GC=1"
profiling:
nsys_on: false
accuracy:
Expand Down
Loading