NVIDIA / NVIDIA/TensorRT-Model-Connect

[Performance] nemotron-hindi-4b latency is 17.0% above reference

Open
#905 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

AI bug
Dominant language
Python
Stars
254
Forks
58
Avg merge
1d 7h
Merged PRs (30d)
235

Description

This was generated by AI during triage.

Summary

nemotron-hindi-4b completes aligned BF16 generation and matches exact token IDs, but TRTMC latency is 17.0% above the reference.

Observed behavior

  • Precision: TRTMC BF16, reference BF16
  • Output contract: exact token IDs (matched)
  • Request: batch 1, 20 new tokens
  • Measurement: 3 warmups followed by 10 iterations
  • Candidate p50: 717.17 ms
  • Reference p50: 612.85 ms
  • Regression: +17.0% (allowed margin: 5%)

The ten measured iterations are stable enough that this is not a single-sample outlier.

Expected behavior

The generation path should remain within the registered performance margin after warmup.

Acceptance criteria

  • Profile prefill, decode, KV-cache access, and synchronization.
  • Identify and fix the measured regression.
  • 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Profile prefill, decode, KV-cache access, and synchronization on NVIDIA Thor X using the stated BF16 batch-1 workload, comparing warmed iterations with the reference. Done means identifying and correcting the regression while preserving exact token IDs and the existing performance gate.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.