Skip to content

[fix] MD-TRT: rebind NCCL communicator after execution context invalidation - #4464

Open
apbose wants to merge 1 commit into
mainfrom
abose/md_nccl_rebind
Open

[fix] MD-TRT: rebind NCCL communicator after execution context invalidation#4464
apbose wants to merge 1 commit into
mainfrom
abose/md_nccl_rebind

Conversation

@apbose

@apbose apbose commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

bind_nccl_comm() attaches the communicator to the IExecutionContext. disable_profiling() and set_resource_allocation_strategy() dropped that context without clearing nccl_initialized, so the lazy re-bind in execute_engine.cpp never fired and the replacement context ran collectives with no communicator (~98% output mismatch). Mirrors runtime_settings().

bind_nccl_comm() attaches the communicator to the IExecutionContext.
disable_profiling() and set_resource_allocation_strategy() dropped that
context without clearing nccl_initialized, so the lazy re-bind in
execute_engine.cpp never fired and the replacement context ran collectives
with no communicator (~98% output mismatch). Mirrors runtime_settings().

Verified on 2 GPUs: both new tests fail before the fix and pass after.
@meta-cla meta-cla Bot added the cla signed label Aug 6, 2026
@apbose apbose changed the title fix MD-TRT: rebind NCCL communicator after execution context invalidation [fix] MD-TRT: rebind NCCL communicator after execution context invalidation Aug 6, 2026
@apbose apbose added this to the v2.14.0 milestone Aug 18, 2026
@lanluo-nvidia lanluo-nvidia modified the milestones: v2.14.0, v2.15.0 Aug 20, 2026
@apbose apbose modified the milestones: v2.15.0, v2.14.0 Aug 20, 2026
@apbose

apbose commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator Author

/nightly

@apbose

apbose commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator Author

/test nightly

@apbose

apbose commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator Author

/test full

@lanluo-nvidia lanluo-nvidia added ci: full ci: nightly Run the nightly lane (all tiers incl. llm / kernels / distributed) on every push labels Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci: full ci: nightly Run the nightly lane (all tiers incl. llm / kernels / distributed) on every push cla signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants