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
8 changes: 4 additions & 4 deletions PROJECT_MANIFEST.sha256
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fc9737e71d1258113190b602d769a91537979af56cefe3b6bf1d763b08cece97 ./.env.example
9a76f67fdf6e34a5a296fc0c6dc8790f68c980da882fe7dfcfa7c239181fa602 ./.gitignore
1126322e2cc8d165adc4c792eeb195717de2bcc7b39be1ce77959d78e87ef685 ./LICENSE
c6ce66613fe24e44b86db05bb0ff42734f3109cff378eea1f33a5738463667d3 ./pyproject.toml
98837d71e9c8efc8834e94e82740ee2efa11c52b1291c768b10a44973a9d75c5 ./README.md
260ee54477507e5ebc366a42cc997352e5bc7408e829ea41d5cddd707a40da73 ./README.md
f9d4e391eee30f9d6cb74404521826859c0aabe7a88708899ecf51c1da090626 ./reports/benchmark-report.md
b8b508ae02706f1f807ef74add54aefe1f4cd488f45684e215a0241c891c269a ./reports/executive-summary.md
a3eb564b35671d3757bc5cc5387f8eeca05f865ecc991fb5eaed003528bf6d11 ./requirements.lock
Expand All @@ -51,9 +51,9 @@ a35a62233b000188b3f22a1acfcf6a2f2cccdb9dfe7324a7d5870f0b8eea36f2 ./results/summ
6f2b6c6306d42fd9f848eb299d4e46b20d94bbdb19100753107212a39b34a620 ./results/summaries/tensorrt-llm-capacity-analysis.md
3943bd5d7494ded94b75977fa12befe278ee2deb4246eb013b67703ed0f1009b ./results/summaries/tensorrt-llm-capacity-provenance.json
09d5cb91d8aa05ae9c19839f3967b1b08ec1404cca67a1e5108c9bf35ec10f4f ./results/summaries/tensorrt-llm-capacity-validation.csv
a1bec1f39ec8103505a86c45553d95b6b2d455a09040ce973e4bda183cf81e71 ./results/summaries/tensorrt-llm-context-scaling-analysis.md
792bb9e84fda513aa8b2d71f8c3397b756af81ba1dda634b9a0500750e62a3e4 ./results/summaries/tensorrt-llm-context-scaling-provenance.json
0f25c359b35bae0ec6af80c330ff37dd69b0f129f61d572027ba8ee25d51eabe ./results/summaries/tensorrt-llm-context-scaling-validation.csv
3c6796330264bee413c05a682df3178db3229567327b21fbc2a9e7314d120a18 ./results/summaries/tensorrt-llm-context-scaling-analysis.md
ab015bc07583fe5b814a730ef5dc65828087428aeaf82b5f903609e36c73810f ./results/summaries/tensorrt-llm-context-scaling-provenance.json
e22ecd5fde1801149c6b18e8617c5b26327bb300f7c341691515ae6e210a58a9 ./results/summaries/tensorrt-llm-context-scaling-validation.csv
f68cfded99ca189e652973d85c02ec637b13f09d0010598453783b728e5a86a0 ./results/summaries/tensorrt-llm-prefill-budget-analysis.md
a0870ff18a976b91ddb91fd2c28f4d14cab8fb9b52d797d2fdc8eefe93eae257 ./results/summaries/tensorrt-llm-prefill-budget-profiling.csv
4867a7373ee0695c9bf49496a4ed9d3de655aafcfdb266d3d58f98c12649d022 ./results/summaries/tensorrt-llm-prefill-budget-provenance.json
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ The repository excludes model weights, Hugging Face caches, TensorRT engines, se
- [x] Nsight Systems capture integration
- [x] Profiler-backed root cause for the TensorRT-LLM cold-C4 ITL anomaly
- [ ] TensorRT-LLM through Triton
- [ ] Context scaling: 8K, 32K, 64K, 120K ([isolated workflow implemented](docs/context-scaling.md); GPU validation pending)
- [x] Context scaling: 8K, 32K, 64K, 120K ([three-repetition validation](results/summaries/tensorrt-llm-context-scaling-analysis.md))
- [x] SLA-constrained throughput with [validated production capacity evidence](results/summaries/tensorrt-llm-capacity-analysis.md)

## Authorship and citation
Expand Down
31 changes: 15 additions & 16 deletions results/summaries/tensorrt-llm-context-scaling-analysis.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,34 @@
# TensorRT-LLM Context-Scaling Analysis

- Evidence status: **complete_discovery**.
- Accepted cells: 8 / 8.
- Repetitions expected per cell: 1.
- Evidence status: **complete_repeated_validation**.
- Accepted cells: 24 / 24.
- Repetitions expected per cell: 3.
- Controlled closed-loop cold-prefix characterization; not production capacity.

## Context matrix

| Input tokens | C | Runs | TTFT P95 | ITL P95 | E2E P95 | Output tok/s |
| ---: | ---: | ---: | ---: | ---: | ---: | ---: |
| 8000 | 1 | 1 | 0.879 s | 0.023 s | 11.966 s | 42.859 |
| 8000 | 4 | 1 | 2.661 s | 0.040 s | 23.643 s | 93.228 |
| 32000 | 1 | 1 | 5.531 s | 0.024 s | 17.522 s | 29.314 |
| 32000 | 4 | 1 | 16.974 s | 0.306 s | 52.228 s | 48.011 |
| 64000 | 1 | 1 | 16.864 s | 0.027 s | 30.146 s | 17.081 |
| 64000 | 4 | 1 | 51.807 s | 0.663 s | 120.516 s | 22.783 |
| 120000 | 1 | 1 | 50.050 s | 0.031 s | 65.361 s | 7.860 |
| 120000 | 4 | 1 | 146.148 s | 1.225 s | 305.989 s | 9.362 |
| 8000 | 1 | 3 | 0.859 ± 0.002 s | 0.023 ± 0.000 s | 11.948 ± 0.015 s | 42.946 ± 0.069 |
| 8000 | 4 | 3 | 2.621 ± 0.022 s | 0.040 ± 0.000 s | 23.160 ± 0.128 s | 93.854 ± 0.299 |
| 32000 | 1 | 3 | 5.597 ± 0.034 s | 0.025 ± 0.000 s | 17.643 ± 0.057 s | 29.258 ± 0.158 |
| 32000 | 4 | 3 | 17.249 ± 0.081 s | 0.310 ± 0.002 s | 52.474 ± 0.101 s | 48.122 ± 0.139 |
| 64000 | 1 | 3 | 16.495 ± 0.177 s | 0.027 ± 0.000 s | 29.742 ± 0.174 s | 17.312 ± 0.094 |
| 64000 | 4 | 3 | 50.886 ± 0.592 s | 0.660 ± 0.005 s | 119.058 ± 1.315 s | 23.002 ± 0.194 |
| 120000 | 1 | 3 | 49.667 ± 1.456 s | 0.031 ± 0.000 s | 64.931 ± 1.430 s | 7.922 ± 0.174 |
| 120000 | 4 | 3 | 150.626 ± 2.313 s | 1.261 ± 0.017 s | 315.419 ± 4.691 s | 9.123 ± 0.129 |

## Concurrency effect

| Input tokens | TTFT C4/C1 | ITL C4/C1 | E2E C4/C1 | Throughput C4/C1 |
| ---: | ---: | ---: | ---: | ---: |
| 8000 | 3.03× | 1.79× | 1.98× | 2.18× |
| 32000 | 3.07× | 12.48× | 2.98× | 1.64× |
| 64000 | 3.07× | 24.44× | 4.00× | 1.33× |
| 120000 | 2.92× | 39.40× | 4.68× | 1.19× |
| 8000 | 3.05× | 1.75× | 1.94× | 2.19× |
| 32000 | 3.08× | 12.61× | 2.97× | 1.64× |
| 64000 | 3.08× | 24.42× | 4.00× | 1.33× |
| 120000 | 3.03× | 40.64× | 4.86× | 1.15× |

## Interpretation guardrails

- This is complete discovery evidence, but one run per cell does not establish repeatability or confidence intervals.
- P95 values are per-run summaries; averaging repeated P95 values is not a pooled percentile.
- Concurrency ratios describe this fixed workload and do not identify a kernel-level cause.
- Use separate Nsight runs before attributing changes to attention, KV memory, or scheduling.
Loading
Loading