Skip to content

Upgrade NV-Embedding-Cache - #465

Merged
shijieliu merged 30 commits into
NVIDIA:mainfrom
geoffreyQiu:nve-26.07-upgrade
Sep 2, 2026
Merged

shijieliu merged 30 commits into
NVIDIA:mainfrom
geoffreyQiu:nve-26.07-upgrade

Conversation

@geoffreyQiu

Copy link
Copy Markdown
Collaborator

Description

  • Upgrade the NV-Embedding-Cache to 26.07

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@geoffreyQiu
geoffreyQiu force-pushed the nve-26.07-upgrade branch 2 times, most recently from 3df5f17 to c08f30e Compare August 26, 2026 16:33
@geoffreyQiu
geoffreyQiu marked this pull request as ready for review August 26, 2026 16:34
@greptile-apps

greptile-apps Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR upgrades the submodule-backed NV-Embedding-Cache integration while retaining a separate NVE 26.05 compatibility path.

  • Builds isolated default and 26.05 NVE Python installations and native replay plugins.
  • Adds generation-aware Python export/loading and C++ replay initialization.
  • Updates cache sizing, Triton packaging, workflow isolation, tests, and documentation.

Confidence Score: 5/5

The PR appears safe to merge because no blocking failure remains in the eligible follow-up review scope.

No blocking failure remains.

Important Files Changed

Filename Overview
docker/Dockerfile Builds isolated default and 26.05 NVE installations, replay plugins, and AOTI runtime artifacts.
docker/Dockerfile.tritonserver Packages the NVE 26.05 compatibility runtime and associated Triton dependencies.
examples/hstu/inference_aoti/cpp_inference/nve_loader_plugin.cpp Selects and dynamically loads the native replay plugin for the requested NVE generation.
examples/hstu/inference_aoti/cpp_inference/nve_loader_plugin_impl.cu Implements generation-specific NVE layer state creation and destruction.
examples/hstu/inference_aoti/nve_aoti_compat.py Centralizes output-directory validation and generation-specific AOTI package loading.
corelib/dynamicemb/dynamicemb/exportable_tables.py Adds NVE API compatibility selection and minimum cache-size accounting.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  S[NVE source trees] --> D[Default NVE installation]
  S --> C[NVE 26.05 compatibility installation]
  D --> E[Python export and native replay]
  C --> E
  C --> T[Triton runtime and model-init hook]
  E --> P[AOTI package]
  P --> R[Native validation]
  P --> T
Loading

Reviews (14): Last reviewed commit: "Use submodule NVE as the default version" | Re-trigger Greptile

@geoffreyQiu

Copy link
Copy Markdown
Collaborator Author

@geoffreyQiu

Copy link
Copy Markdown
Collaborator Author

Adapt HSTU embedding construction, fake registration, and AOTI loading to both NVE generations. Add generation-specific tests and configurable exporter output paths.
Install NVE 26.05 and 26.07 in isolated prefixes, select native replay through versioned loader plugins, and keep the Triton deployment fixed to 26.05. Remove the obsolete overlay Dockerfile and standalone feature file.
Describe Python and native version selection and provide the exporter, replayer, and 26.05-only Triton command matrix.
Copy third_party/nv-embedding-cache into the 26.07 build root while retaining the separately pinned 26.05 checkout.
Fetch the pinned PyTorch backend commit directly, remove runtime NVE verification from the Docker build, and isolate the Python-backend Triton model repository.
@shijieliu
shijieliu merged commit a199efd into NVIDIA:main Sep 2, 2026
1 check 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.

2 participants