chore: Enable cuda-13 build - #2332
Merged
Merged
Conversation
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Contributor
Author
|
/ok to test |
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Contributor
Author
|
/ok to test |
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Contributor
Author
|
/ok to test |
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Contributor
Author
|
/ok to test |
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Contributor
Author
|
/ok to test |
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Contributor
Author
|
/ok to test |
Contributor
Author
|
/ok to test |
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Contributor
Author
|
/ok to test |
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Contributor
Author
|
/ok to test |
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Contributor
Author
|
/ok to test |
kajalj22
approved these changes
May 11, 2026
zswerth
pushed a commit
to zswerth/RL
that referenced
this pull request
May 12, 2026
Signed-off-by: Charlie Truong <chtruong@nvidia.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: zswerth <zwertheimer@nvidia.com>
4 tasks
jthomson04
added a commit
to jthomson04/RL
that referenced
this pull request
May 25, 2026
Upstream nemo-rl flipped its Dockerfile to `cuda-dl-base:26.03-cuda13.2` in NVIDIA-NeMo#2332, so the `nightly` base we now target is CUDA 13. nixl-cu12 wheels won't link against the cu13 runtime; install nixl-cu13 instead. Inline comment notes how to flip back to cu12 if pointing BASE_IMAGE at an older tag.
jthomson04
added a commit
to jthomson04/RL
that referenced
this pull request
May 25, 2026
…base Consolidates the iterative overlay rework that happened while tracking the upstream nemo-rl image bump from 664d29c (CUDA-12) to :nightly (`cuda-dl-base:26.03-cuda13.2`, upstream NVIDIA-NeMo#2332). The Dockerfile.nemorl now: * Targets BASE_IMAGE=nvcr.io/nvidian/nemo-rl:nightly, MX_REF=8594fd6 (kavink/nemo_rl_moe sidecar fix + post-rebase fixups), NIXL_VERSION=0.10.1 (wire-compatible with the dynamo worker image). * Installs both `nixl` (Python bindings) and `nixl-cu13` (cu13 native libs sidecar) with --no-deps so the cu13 cuDNN/cuBLAS stack the base already pins isn't reinstalled from scratch. Same --no-deps treatment for modelexpress (whose pyproject pins nixl[cu12], wrong CUDA major for us) and tensordict (whose torch dep would re-touch the nvidia-* stack). * Layers back only the small deps the upstream base doesn't already supply: ai-dynamo-runtime, grpcio, pyvers (tensordict's only not-already-installed runtime dep). runai-model-streamer is dropped — modelexpress lists it but our v2 refit path doesn't exercise the runai-loader. * Bakes tensordict into both the main venv and per-actor Ray venvs so the :nightly base lag for upstream PR NVIDIA-NeMo#2439 doesn't bite at runtime. Validated end-to-end against the rebased dynamo-k8s-integration tree on the workplace-assistant dynamo-MX smoke (SUCCEEDED, driver_exit=0).
hchings
pushed a commit
to hchings/RL
that referenced
this pull request
Jul 10, 2026
Add the TRT-LLM PyTorch backend integration needed to validate GRPO with draft-target speculative decoding, Mongo rollout logging, and weight-sync timing on AIHub. chore(trtllm): drop speculative decoding and MongoDB logging Remove the experimental speculative-decoding hooks (config, worker plumbing, spec_token_origins propagation, specdec exemplar config) and the MongoDB logger backend that were bundled with the TRT-LLM backend introduction. The TRT-LLM PyTorch backend itself is unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> chore(trtllm): WIP — wire trtllm backend on top of CUDA 13 TMP commit (will amend or squash later). Layers TRT-LLM-specific wiring on top of the CUDA 13 squash from NVIDIA-NeMo#2332: - pyproject.toml: pin trtllm extra to tensorrt_llm==1.3.0rc13 - virtual_cluster.py: add PY_EXECUTABLES.TRTLLM - ray_actor_environment_registry.py: add TRTLLM_EXECUTABLE (with NEMO_RL_PY_EXECUTABLES_SYSTEM=1 fallback) - docker/Dockerfile: add SKIP_TRTLLM_BUILD arg + HPCX env exposure (cuda-compat removed — cu13.2 base image already provides it) - docs/docker.md: SKIP_TRTLLM_BUILD usage docs Known TODOs before this can be promoted: - `uv lock` likely fails: tensorrt-llm 1.3.0rc13 has no cp313 wheel. Either move trtllm to its own workspace (cp312) or relax pin. - Build + smoke test on a GB200 node not yet validated. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Downgrade to Python 3.12 Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Successfully run nemorl+trtllm and verify convergence Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Add async support Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Support colocated case Cleanup Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> drop cp313 flash-attn wheel pin to unblock cp312 lock Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> drop branch-local nemo_gym changes Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Refactor Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Refactor code Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Change flash attn wheel Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Verify perf Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Discard weights Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> add py3.13 build infrastructure with torch 2.10 Signed-off-by: Shiki Wu <shikiw@ipp1-3010.ipp1a1.colossus.nvidia.com> Initial Async support Signed-off-by: Shiki Wu <shikiw@ipp1-3010.ipp1a1.colossus.nvidia.com> add async support for trtllm Signed-off-by: Shiki Wu <shikiw@nvidia.com>
shuyixiong
pushed a commit
to shuyixiong/RL
that referenced
this pull request
Jul 14, 2026
Add the TRT-LLM PyTorch backend integration needed to validate GRPO with draft-target speculative decoding, Mongo rollout logging, and weight-sync timing on AIHub. chore(trtllm): drop speculative decoding and MongoDB logging Remove the experimental speculative-decoding hooks (config, worker plumbing, spec_token_origins propagation, specdec exemplar config) and the MongoDB logger backend that were bundled with the TRT-LLM backend introduction. The TRT-LLM PyTorch backend itself is unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> chore(trtllm): WIP — wire trtllm backend on top of CUDA 13 TMP commit (will amend or squash later). Layers TRT-LLM-specific wiring on top of the CUDA 13 squash from NVIDIA-NeMo#2332: - pyproject.toml: pin trtllm extra to tensorrt_llm==1.3.0rc13 - virtual_cluster.py: add PY_EXECUTABLES.TRTLLM - ray_actor_environment_registry.py: add TRTLLM_EXECUTABLE (with NEMO_RL_PY_EXECUTABLES_SYSTEM=1 fallback) - docker/Dockerfile: add SKIP_TRTLLM_BUILD arg + HPCX env exposure (cuda-compat removed — cu13.2 base image already provides it) - docs/docker.md: SKIP_TRTLLM_BUILD usage docs Known TODOs before this can be promoted: - `uv lock` likely fails: tensorrt-llm 1.3.0rc13 has no cp313 wheel. Either move trtllm to its own workspace (cp312) or relax pin. - Build + smoke test on a GB200 node not yet validated. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Downgrade to Python 3.12 Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Successfully run nemorl+trtllm and verify convergence Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Add async support Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Support colocated case Cleanup Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> drop cp313 flash-attn wheel pin to unblock cp312 lock Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> drop branch-local nemo_gym changes Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Refactor Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Refactor code Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Change flash attn wheel Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Verify perf Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Discard weights Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> add py3.13 build infrastructure with torch 2.10 Signed-off-by: Shiki Wu <shikiw@ipp1-3010.ipp1a1.colossus.nvidia.com> Initial Async support Signed-off-by: Shiki Wu <shikiw@ipp1-3010.ipp1a1.colossus.nvidia.com> add async support for trtllm Signed-off-by: Shiki Wu <shikiw@nvidia.com>
shuyixiong
pushed a commit
to shuyixiong/RL
that referenced
this pull request
Jul 20, 2026
Add the TRT-LLM PyTorch backend integration needed to validate GRPO with draft-target speculative decoding, Mongo rollout logging, and weight-sync timing on AIHub. chore(trtllm): drop speculative decoding and MongoDB logging Remove the experimental speculative-decoding hooks (config, worker plumbing, spec_token_origins propagation, specdec exemplar config) and the MongoDB logger backend that were bundled with the TRT-LLM backend introduction. The TRT-LLM PyTorch backend itself is unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> chore(trtllm): WIP — wire trtllm backend on top of CUDA 13 TMP commit (will amend or squash later). Layers TRT-LLM-specific wiring on top of the CUDA 13 squash from NVIDIA-NeMo#2332: - pyproject.toml: pin trtllm extra to tensorrt_llm==1.3.0rc13 - virtual_cluster.py: add PY_EXECUTABLES.TRTLLM - ray_actor_environment_registry.py: add TRTLLM_EXECUTABLE (with NEMO_RL_PY_EXECUTABLES_SYSTEM=1 fallback) - docker/Dockerfile: add SKIP_TRTLLM_BUILD arg + HPCX env exposure (cuda-compat removed — cu13.2 base image already provides it) - docs/docker.md: SKIP_TRTLLM_BUILD usage docs Known TODOs before this can be promoted: - `uv lock` likely fails: tensorrt-llm 1.3.0rc13 has no cp313 wheel. Either move trtllm to its own workspace (cp312) or relax pin. - Build + smoke test on a GB200 node not yet validated. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Downgrade to Python 3.12 Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Successfully run nemorl+trtllm and verify convergence Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Add async support Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Support colocated case Cleanup Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> drop cp313 flash-attn wheel pin to unblock cp312 lock Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> drop branch-local nemo_gym changes Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Refactor Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Refactor code Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Change flash attn wheel Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Verify perf Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Discard weights Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> add py3.13 build infrastructure with torch 2.10 Signed-off-by: Shiki Wu <shikiw@ipp1-3010.ipp1a1.colossus.nvidia.com> Initial Async support Signed-off-by: Shiki Wu <shikiw@ipp1-3010.ipp1a1.colossus.nvidia.com> add async support for trtllm Signed-off-by: Shiki Wu <shikiw@nvidia.com>
shuyixiong
pushed a commit
to shuyixiong/RL
that referenced
this pull request
Jul 21, 2026
Add the TRT-LLM PyTorch backend integration needed to validate GRPO with draft-target speculative decoding, Mongo rollout logging, and weight-sync timing on AIHub. chore(trtllm): drop speculative decoding and MongoDB logging Remove the experimental speculative-decoding hooks (config, worker plumbing, spec_token_origins propagation, specdec exemplar config) and the MongoDB logger backend that were bundled with the TRT-LLM backend introduction. The TRT-LLM PyTorch backend itself is unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> chore(trtllm): WIP — wire trtllm backend on top of CUDA 13 TMP commit (will amend or squash later). Layers TRT-LLM-specific wiring on top of the CUDA 13 squash from NVIDIA-NeMo#2332: - pyproject.toml: pin trtllm extra to tensorrt_llm==1.3.0rc13 - virtual_cluster.py: add PY_EXECUTABLES.TRTLLM - ray_actor_environment_registry.py: add TRTLLM_EXECUTABLE (with NEMO_RL_PY_EXECUTABLES_SYSTEM=1 fallback) - docker/Dockerfile: add SKIP_TRTLLM_BUILD arg + HPCX env exposure (cuda-compat removed — cu13.2 base image already provides it) - docs/docker.md: SKIP_TRTLLM_BUILD usage docs Known TODOs before this can be promoted: - `uv lock` likely fails: tensorrt-llm 1.3.0rc13 has no cp313 wheel. Either move trtllm to its own workspace (cp312) or relax pin. - Build + smoke test on a GB200 node not yet validated. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Downgrade to Python 3.12 Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Successfully run nemorl+trtllm and verify convergence Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Add async support Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Support colocated case Cleanup Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> drop cp313 flash-attn wheel pin to unblock cp312 lock Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> drop branch-local nemo_gym changes Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Refactor Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Refactor code Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Change flash attn wheel Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Verify perf Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> Discard weights Signed-off-by: shuyixiong <219646547+shuyixiong@users.noreply.github.com> add py3.13 build infrastructure with torch 2.10 Signed-off-by: Shiki Wu <shikiw@ipp1-3010.ipp1a1.colossus.nvidia.com> Initial Async support Signed-off-by: Shiki Wu <shikiw@ipp1-3010.ipp1a1.colossus.nvidia.com> add async support for trtllm Signed-off-by: Shiki Wu <shikiw@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do ?
build: Enable cuda-13 build
ENV CPLUS_INCLUDE_PATH=/usr/local/cuda/include/ccclto fix deep_gemm and deep_ep buildsOpening PR as draft to run CI tests here. After those pass, will check nightly tests.
Issues
#2111
Usage
# Add a code snippet demonstrating how to use thisBefore your PR is "Ready for review"
Pre checks:
Additional Information