Skip to content

Update HSTU inference README file - #360

Merged
shijieliu merged 1 commit into
NVIDIA:mainfrom
geoffreyQiu:junyiq/update_inference_readme
Apr 14, 2026
Merged

shijieliu merged 1 commit into
NVIDIA:mainfrom
geoffreyQiu:junyiq/update_inference_readme

Conversation

@geoffreyQiu

Copy link
Copy Markdown
Collaborator

Add torch.export support introduction for HSTU inference.

@geoffreyQiu
geoffreyQiu force-pushed the junyiq/update_inference_readme branch from 02282d2 to ee2047c Compare April 14, 2026 05:46
@greptile-apps

greptile-apps Bot commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR updates examples/hstu/inference/README.md with two typo/grammar fixes ("paddding" → "padding", "need to be access" → "need to be accessed") and adds a new section 6 documenting end-to-end C++ inference support via torch.export and AOTInductor, including the output archive layout and a link to an existing guide file.

Confidence Score: 5/5

  • This PR is safe to merge — it is a documentation-only change with no code modifications.
  • All changes are documentation fixes (typos, grammar) and a new informational section. The linked guide file exists, the archive layout is self-consistent, and the only finding is a P2 suggestion to note the private-API stability caveat for torch._inductor.aoti_compile_and_package.
  • No files require special attention.

Important Files Changed

Filename Overview
examples/hstu/inference/README.md Documentation-only update: fixes two typos ("paddding"→"padding", "need to be access"→"need to be accessed") and adds a new section (6) describing end-to-end C++ inference via torch.export and AOTInductor, including an archive layout diagram and a link to a guide that exists on disk.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[PyTorch Python Model] --> B[torch.export]
    B --> C[torch._inductor.aoti_compile_and_package]
    C --> D[model.pt2 archive]
    
    E[NVEmbedding export_and_aot] --> F[metadata.json]
    E --> G[weights/*.nve]
    
    D --> H[model_archive/]
    F --> H
    G --> H
    
    H --> I[AOTIModelPackageLoader]
    I --> J[C++ Inference Runtime]
Loading

Reviews (1): Last reviewed commit: "Update the inference README file with to..." | Re-trigger Greptile

Comment thread examples/hstu/inference/README.md Resolved
@shijieliu
shijieliu merged commit 6a06fd1 into NVIDIA:main Apr 14, 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