[None][infra] Automate and gate LLM args telemetry manifest updates#16013
Conversation
Signed-off-by: venkywonka <23023424+venkywonka@users.noreply.github.com>
Signed-off-by: venkywonka <23023424+venkywonka@users.noreply.github.com>
Signed-off-by: venkywonka <23023424+venkywonka@users.noreply.github.com>
Signed-off-by: venkywonka <23023424+venkywonka@users.noreply.github.com>
Signed-off-by: venkywonka <23023424+venkywonka@users.noreply.github.com>
Signed-off-by: venkywonka <23023424+venkywonka@users.noreply.github.com>
Signed-off-by: venkywonka <23023424+venkywonka@users.noreply.github.com>
Signed-off-by: venkywonka <23023424+venkywonka@users.noreply.github.com>
Signed-off-by: venkywonka <23023424+venkywonka@users.noreply.github.com>
Signed-off-by: venkywonka <23023424+venkywonka@users.noreply.github.com>
|
/bot run |
|
PR_Github #57853 [ run ] triggered by Bot. Commit: |
📝 WalkthroughWalkthroughThis PR adds a deterministic CLI script to generate/check the LLM args telemetry golden manifest, extends the committed golden manifest JSON with new schema fields (KV-cache routing, encoder sizing, sparse attention, quantization), adds corresponding test coverage, and updates developer/telemetry documentation. ChangesGolden manifest generator, schema, tests, and docs
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant CLI as generate_llm_args_golden_manifest.main
participant Renderer as _render_manifest
participant FileSystem as llm_args_golden_manifest.json
CLI->>Renderer: _render_manifest()
Renderer-->>CLI: generated manifest string
CLI->>FileSystem: _read_manifest()
FileSystem-->>CLI: committed manifest string
alt --check flag
CLI->>CLI: _check_manifest(committed, generated)
CLI-->>CLI: print unified diff on mismatch
else write mode
CLI->>FileSystem: _write_manifest(generated)
FileSystem-->>CLI: atomic replace via temp file
end
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Signed-off-by: venkywonka <23023424+venkywonka@users.noreply.github.com>
Signed-off-by: venkywonka <23023424+venkywonka@users.noreply.github.com>
|
PR_Github #57853 [ run ] completed with state
|
|
PR_Github #58154 [ run ] completed with state |
|
/bot run |
|
PR_Github #58249 [ run ] triggered by Bot. Commit: |
|
PR_Github #58249 [ run ] completed with state
|
Signed-off-by: venkywonka <23023424+venkywonka@users.noreply.github.com>
|
/bot run |
|
PR_Github #58291 [ run ] triggered by Bot. Commit: |
Signed-off-by: venkywonka <23023424+venkywonka@users.noreply.github.com>
|
/bot run |
|
PR_Github #58293 [ run ] triggered by Bot. Commit: |
|
PR_Github #58291 [ run ] completed with state |
Signed-off-by: venkywonka <23023424+venkywonka@users.noreply.github.com>
|
/bot run |
|
PR_Github #58307 [ run ] triggered by Bot. Commit: |
|
PR_Github #58293 [ run ] completed with state |
|
PR_Github #58307 [ run ] completed with state
|
|
/bot run |
|
PR_Github #58326 [ run ] triggered by Bot. Commit: |
|
PR_Github #58326 [ run ] completed with state |
|
Heads-up: this gate appears to have landed with a stale golden manifest, and Repro in today's Could you regenerate and commit the manifest (with the telemetry/privacy CODEOWNER approval the gate asks for)? Happy to help verify. cc @venkywonka |
|
this would require all API-touching PRs to rebase to ToT once above is meged. Small price to pay to ensure better API-churn tracking |
Description
The committed LLM-args telemetry manifest is the reviewable contract for fields that
build_capture_manifest()may collect. Its drift test was not enrolled in repository-defined premerge CI, and contributors had no supported regeneration command.This PR makes that contract deterministic and connects it to telemetry/privacy ownership and the existing LLM API compatibility workflow.
Changes
scripts/generate_llm_args_golden_manifest.pywith deterministic write and--checkmodes, checkout-local source resolution, and atomic replacement.python3 scripts/generate_llm_args_golden_manifest.pyAGENTS.md,CODING_GUIDELINES.md, the API-change guide, telemetry documentation, and schema README.@NVIDIA/trt-llm-usage-telemetry-devs; the golden manifest also routes to OSS compliance and the noncommitted API review committee.tensorrt_llm/llmapi/llm_args.pyortensorrt_llm/usage/llm_args_golden_manifest.jsonwithout broadening it to all ofllmapi/.Test Coverage
blossom-cipipeline #46956 passed on commit8e64daa.unittest/usage/test_llmapi_config_telemetry_docs.py.Check LLM API Compatibility Labelpassed with theapi-compatiblelabel.python3 scripts/generate_llm_args_golden_manifest.py --checkpassed without modifying the manifest.A10-PyTorch-1andA10-PyTorch-2.PR Checklist
api-compatiblelabel is applied and CODEOWNERS/docs are updated.GitHub Bot Help
To see a list of available CI bot commands, comment
/bot help.