NVIDIA / NVIDIA/TensorRT-Model-Connect
[Performance] riva-translate-4b latency is 35.3% above reference
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 254
- Forks
- 58
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 235
Description
This was generated by AI during triage.
Summary
riva-translate-4b completes aligned FP16 generation and matches exact token IDs, but TRTMC latency is 35.3% above the reference.
Observed behavior
- Precision: TRTMC FP16, reference FP16
- Output contract: exact token IDs (matched)
- Request: batch 1, 20 new tokens
- Measurement: 3 warmups followed by 10 iterations
- Candidate p50: 397.75 ms
- Reference p50: 293.93 ms
- Regression: +35.3% (allowed margin: 5%)
Expected behavior
The translation generation path should remain within the registered performance margin.
Acceptance criteria
- Profile prefill, decode, KV-cache handling, and synchronization.
- Identify and fix the dominant latency source.
- Preserve exact-token output and the existing performance gate.
Reproduction platform
- Hardware: NVIDIA Thor X
- Architecture: aarch64
- TensorRT: 11.0
- GPU carveout: 48 GiB
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the aligned FP16 generation benchmark on NVIDIA Thor X with batch 1, 20 new tokens, three warmups, and ten iterations. Profile prefill, decode, KV-cache handling, and synchronization to identify the dominant latency source; done means latency is within the 5% margin while exact token IDs and the existing performance gate remain unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, backend, performance
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100