Skip to content

Add inference aoti benchmark results - #394

Merged
shijieliu merged 1 commit into
NVIDIA:mainfrom
geoffreyQiu:update_aoti_benchmark_results
May 18, 2026
Merged

shijieliu merged 1 commit into
NVIDIA:mainfrom
geoffreyQiu:update_aoti_benchmark_results

Conversation

@geoffreyQiu

Copy link
Copy Markdown
Collaborator

Add a set of benchmark results comparing hstu model pytorch runtime with torch C++ runtime.

@geoffreyQiu geoffreyQiu self-assigned this May 15, 2026
@greptile-apps

greptile-apps Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR appends a third benchmark section to the HSTU inference README, reporting end-to-end timing results for the HSTU training-version model exported via PyTorch's AOTInductor (AOTI) to a Torch C++ runtime, measured on the Kuairand-1k dataset across L20, L40, and L40S GPUs.

  • Speedup figures (1.63x–1.90x) are mathematically consistent with the reported raw timings.
  • The linked exporting script (export_inference_gr_ranking.py) exists at the expected relative path.
  • The new section omits the benchmark configuration (batch size, sequence length, number of layers) that the earlier sections document, making the results harder to reproduce or compare.

Confidence Score: 4/5

Documentation-only change; no code is modified and the linked script already exists in the repo.

The addition is purely descriptive — benchmark numbers, a table, and a relative link. The speedup math is correct and the referenced file is present. The only gaps are missing reproduction details (batch size, sequence length, hardware memory) and a slightly ambiguous section title, both documentation quality issues rather than correctness problems.

examples/hstu/inference/benchmark/README.md — the new section would benefit from a test-configuration summary before the results table.

Important Files Changed

Filename Overview
examples/hstu/inference/benchmark/README.md Adds a new Section 3 with AOTI/Torch C++ Runtime benchmark results on three GPU SKUs; speedup math checks out, linked script exists, but benchmark configuration details and terminology are unclear.

Reviews (1): Last reviewed commit: "Add inference aoti benchmark results" | Re-trigger Greptile

@shijieliu
shijieliu merged commit e0c1fbb into NVIDIA:main May 18, 2026
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.

2 participants