[Edge][WP2] Finalize edge profile init knobs from init_profile; WP4 CPU emulation results

init_profile 20260909-112200 (1.7B, L20X, warm): default 152.0 s, eager_stage1
149.9 s, eager_both 110.9 s (first TTFA 15 s, no graphs), parallel_stage_init
94.6 s, edge 145.7 s. Edge profile now carries `orchestrator: parallel_stage_init:
true`, applied by the deploy_profile selector (explicit values win); graphs stay on.

hw_emulation 20260909-110229 (CPU venv, 0.6B, deploy_profile=auto):
x86_cpu_avx2 (4c, fp32) TTFA 2.65 s RTF 11.9; x86_cpu_avx512 (8c) TTFA 0.68 s
RTF 2.45; x86_cpu_amx (16c) TTFA 0.51 s RTF 1.72; arm64 logic-only same as avx2.
Emulation rows now record the auto-detected hardware class.

Adds tests/e2e/offline_inference/test_qwen3_tts_edge_profile.py (L3, one GPU).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
tzhouamandClaude Fable 5.1 committed 2026-09-09 14:40:13 +08:00
1 parent 285db2fa3c
commit 602e39647e
23 files changed
+8393 -3

No files matched your search

+11 -2
View File
@@ -15,11 +15,20 @@
# * Both stages share logical device "0" (one GPU). Memory fractions are
# what the two 0.6B/1.7B stages actually need with these limits, not the
# server defaults; raise stage 1 if the KV-profile log reports OOM.
# * ``enforce_eager`` / ``parallel_stage_init`` are intentionally not set
# here yet; benchmarks/tts/init_profile.py results decide them (WP2).
# * Init-time knobs come from benchmarks/tts/init_profile.py run
# 20260909-112200 (1.7B, L20X, warm caches): default 152.0 s,
# eager_stage1 149.9 s, eager_both 110.9 s but first-request TTFA 15 s
# (no talker/predictor graphs), parallel_stage_init 94.6 s with unchanged
# TTFA. So graphs stay on (``enforce_eager`` untouched) and both stages
# initialise concurrently on the shared device.
base_config: ../qwen3_tts.yaml
async_chunk: true
# Orchestrator arguments carried by the profile (applied by the ``deploy_profile``
# selector; explicit CLI/engine values win). Not part of the stage schema.
orchestrator:
parallel_stage_init: true
connectors:
connector_of_shared_memory:
name: SharedMemoryConnector