-
Notifications
You must be signed in to change notification settings - Fork 277
Port GLM-5.1 TileRT fixed-sequence benchmarks to srt-slurm #2755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
8690c8d
Port GLM 5.1 TileRT fixed benchmarks to srt-slurm
cquil11 ddee07c
Document TileRT fixed-sequence migration PR
cquil11 4914eaf
fix(tilert): pin HTTP dependency preflight
cquil11 fc08cd9
chore(tilert): refresh shared runtime pin
cquil11 e6f5eef
chore: refresh TileRT fixed-sequence port on PR10
cquil11 28d0c55
chore(tilert): consume NVIDIA container-hook fix
cquil11 5a39fcd
fix(tilert): preserve NVIDIA driver capabilities
cquil11 82d5e44
fix(tilert): load GLM tokenizer in native router
cquil11 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
113 changes: 113 additions & 0 deletions
113
...ulti_node/srt-slurm-recipes/tilert/glm5.1/b200-fp8/fixed-seq-len/disagg-1p1d-tp8-mtp.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,113 @@ | ||
| name: "b200-glm51-tilert-fixed-disagg-1p1d-tp8-mtp" | ||
|
|
||
| model: | ||
| path: "hf:zai-org/GLM-5.1-FP8" | ||
| container: "tilert-decode" | ||
| precision: "fp8" | ||
|
|
||
| identity: | ||
| model: | ||
| repo: "zai-org/GLM-5.1-FP8" | ||
| container: | ||
| image: "ghcr.io/tile-ai/tilert:0.1.5" | ||
| frameworks: | ||
| tilert: "0.1.5.post3" | ||
| vllm: "0.26.0" | ||
| nixl: "1.3.1" | ||
|
|
||
| dynamo: | ||
| install: false | ||
|
|
||
| setup_script: tilert_setup.sh | ||
|
|
||
| slurm: | ||
| time_limit: "04:00:00" | ||
|
|
||
| resources: | ||
| gpu_type: "b200" | ||
| gpus_per_node: 8 | ||
| prefill_nodes: 1 | ||
| decode_nodes: 1 | ||
| prefill_workers: 1 | ||
| decode_workers: 1 | ||
| gpus_per_prefill: 8 | ||
| gpus_per_decode: 8 | ||
|
|
||
| frontend: | ||
| type: tilert-router | ||
| enable_multiple_frontends: false | ||
| env: | ||
| TILERT_ROLE: router | ||
| args: | ||
| parser: none | ||
| queue-timeout: 0 | ||
|
|
||
| backend: | ||
| type: tilert | ||
| prefill_container: "tilert-prefill" | ||
| model_profile: "glm5" | ||
| weight_model_type: "glm-5" | ||
| weights_dir: "/data/home/sa-shared/gharunners/tilert-cache/glm5.1-fp8-8shard" | ||
| max_seq_len: 202752 | ||
| kv_cache_dtype: "fp8" | ||
| prefill_kv_cache_dtype: "fp8_ds_mla" | ||
| transport: nixl | ||
| with_mtp: true | ||
| speculative_tokens: 1 | ||
| prefill_environment: &common_environment | ||
| HF_HOME: "/hf_hub_cache" | ||
| HF_HUB_CACHE: "/hf_hub_cache/hub" | ||
| HUGGINGFACE_HUB_CACHE: "/hf_hub_cache/hub" | ||
| PYTHONUNBUFFERED: "1" | ||
| UCX_MEMTYPE_CACHE: "n" | ||
| UCX_MEMTYPE_REG_WHOLE: "n" | ||
| decode_environment: | ||
| <<: *common_environment | ||
| tilert_config: | ||
| prefill: | ||
| enforce-eager: true | ||
| trust-remote-code: true | ||
| gpu-memory-utilization: 0.75 | ||
|
|
||
| srun_options: | ||
| container-writable: "" | ||
| container-remap-root: "" | ||
|
|
||
| health_check: | ||
| max_attempts: 720 | ||
| interval_seconds: 5 | ||
|
|
||
| benchmark: | ||
| type: custom | ||
| command: | | ||
| set -euo pipefail | ||
| result_dir="/logs/${ISL}isl${OSL}osl" | ||
| mkdir -p "$result_dir" | ||
| for concurrency in $CONC_LIST; do | ||
| num_prompts=$((concurrency * 10)) | ||
| if (( num_prompts < 16 )); then | ||
| num_prompts=16 | ||
| fi | ||
| python /infmax-workspace/utils/bench_serving/benchmark_serving.py \ | ||
| --backend openai-chat \ | ||
| --base-url "http://${SRT_FRONTEND_HOST}:${SRT_FRONTEND_PORT}" \ | ||
| --endpoint /v1/chat/completions \ | ||
| --dataset-name random \ | ||
| --model zai-org/GLM-5.1-FP8 \ | ||
| --tokenizer zai-org/GLM-5.1-FP8 \ | ||
| --random-input-len "$ISL" \ | ||
| --random-output-len "$OSL" \ | ||
| --random-range-ratio "$RANDOM_RANGE_RATIO" \ | ||
| --num-prompts "$num_prompts" \ | ||
| --max-concurrency "$concurrency" \ | ||
| --ignore-eos \ | ||
| --use-chat-template \ | ||
| --trust-remote-code \ | ||
| --save-result \ | ||
| --result-dir "$result_dir" \ | ||
| --result-filename "results_concurrency_${concurrency}_gpus_16_ctx_8_gen_8.json" | ||
| done | ||
| env: | ||
| HF_HOME: "/hf_hub_cache" | ||
| HF_HUB_CACHE: "/hf_hub_cache/hub" | ||
| HUGGINGFACE_HUB_CACHE: "/hf_hub_cache/hub" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark omits warmup requests
Medium Severity
The custom
benchmark_serving.pyinvocation never passes--num-warmups. The previous TileRT path always warmed up with twice the concurrency viarun_benchmark_serving, while the script default is0. At the preserved conc-1 points that folds cold-start requests into TTFT/TPOT, so the ported 1k/1k and 8k/1k numbers are not comparable to the old launcher.Reviewed by Cursor Bugbot for commit 82d5e44. Configure here.