Skip to content

Add isolated context-length scaling characterization - #3

Merged
ramsred merged 5 commits into
mainfrom
feature/context-scaling
Sep 11, 2026
Merged

ramsred merged 5 commits into
mainfrom
feature/context-scaling

Conversation

@ramsred

@ramsred ramsred commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds controlled TensorRT-LLM context scaling across 8K, 32K, 64K, and 120K.
  • Measures concurrency 1 and 4 using cold, unique-prefix requests.
  • Adds fail-closed recovery and --resume support.
  • Adds multi-source analysis, provenance, and interpretation guardrails.
  • Includes complete one-repetition discovery evidence for all eight cells.

Key findings

  • TTFT P95 increases from 0.879s at 8K/C1 to 50.050s at 120K/C1.
  • At C4, TTFT P95 reaches 146.148s at 120K.
  • C4/C1 throughput gain declines from 2.18× at 8K to 1.19× at 120K.
  • C4 ITL degradation grows from 1.79× at 8K to 39.40× at 120K.
  • The apparent context/concurrency knee lies between 32K and 64K.

Validation

  • 102 tests passed.
  • Project manifest verified.
  • All eight discovery cells accepted.
  • Zero observed cached prompt tokens.
  • Recovery behavior validated against a completed 120K/C1 cell.

Limitations

This is controlled closed-loop discovery evidence, not production-capacity validation. One repetition per cell does not establish repeatability or confidence intervals. Kernel-level attribution requires separate Nsight profiling.

@ramsred
ramsred merged commit b075aae into main Sep 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant