Skip to content

Add unit tests for ncclxParseCommConfig#985

Open
pavanbalaji wants to merge 2 commits intometa-pytorch:mainfrom
pavanbalaji:export-D95714600
Open

Add unit tests for ncclxParseCommConfig#985
pavanbalaji wants to merge 2 commits intometa-pytorch:mainfrom
pavanbalaji:export-D95714600

Conversation

@pavanbalaji
Copy link
Contributor

Summary:
Add unit tests exercising ncclxParseCommConfig, covering
flat ncclConfig_t fields, hints-based configuration, default
values, idempotency, and conflict detection between flat
fields and hints.

Applied identically to v2_27, v2_28, and v2_29.

Differential Revision: D95714600

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 8, 2026
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Mar 8, 2026

@pavanbalaji has exported this pull request. If you are a Meta employee, you can view the originating Diff in D95714600.

pavanbalaji added a commit to pavanbalaji/torchcomms-1 that referenced this pull request Mar 9, 2026
Summary:
Pull Request resolved: meta-pytorch#985

Add unit tests exercising ncclxParseCommConfig, covering
flat ncclConfig_t fields, hints-based configuration, default
values, idempotency, and conflict detection between flat
fields and hints.

Applied identically to v2_27, v2_28, and v2_29.

Differential Revision: D95714600
@pavanbalaji pavanbalaji force-pushed the export-D95714600 branch 2 times, most recently from 792f4ea to 8365cc9 Compare March 9, 2026 09:34
pavanbalaji added a commit to pavanbalaji/torchcomms-1 that referenced this pull request Mar 9, 2026
Summary:
Pull Request resolved: meta-pytorch#985

Add unit tests exercising ncclxParseCommConfig, covering
flat ncclConfig_t fields, hints-based configuration, default
values, idempotency, and conflict detection between flat
fields and hints.

Applied identically to v2_27, v2_28, and v2_29.

Differential Revision: D95714600
Summary:
Remove ncclxParseCommConfig from inside parseCommConfig (a
low-level function) and call it from the three comm-init
entry points instead: ncclCommInitRankConfig (already there
from prior commit), ncclCommInitChildComm, and ncclCommGrow
(v2_29 only).

This ensures ncclx::Config is created early at each
public entry point rather than deep inside a shared helper,
making the initialization flow clearer and more explicit.

Differential Revision: D95714601
pavanbalaji added a commit to pavanbalaji/torchcomms-1 that referenced this pull request Mar 11, 2026
Summary:

Add unit tests exercising ncclxParseCommConfig, covering
flat ncclConfig_t fields, hints-based configuration, default
values, idempotency, and conflict detection between flat
fields and hints.

Applied identically to v2_27, v2_28, and v2_29.

Reviewed By: minsii

Differential Revision: D95714600
Summary:
Pull Request resolved: meta-pytorch#985

Add unit tests exercising ncclxParseCommConfig, covering
flat ncclConfig_t fields, hints-based configuration, default
values, idempotency, and conflict detection between flat
fields and hints.

Applied identically to v2_27, v2_28, and v2_29.

Reviewed By: minsii

Differential Revision: D95714600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant