Skip to content

Consolidate NcclxConfig into shared meta/ directory (#2059)#2059

Open
minsii wants to merge 1 commit intometa-pytorch:mainfrom
minsii:export-D98925499
Open

Consolidate NcclxConfig into shared meta/ directory (#2059)#2059
minsii wants to merge 1 commit intometa-pytorch:mainfrom
minsii:export-D98925499

Conversation

@minsii
Copy link
Copy Markdown
Contributor

@minsii minsii commented Apr 13, 2026

Summary:

Move NcclxConfig.cc and NcclxConfig.h from per-version directories (v2_27/meta/, v2_28/meta/, v2_29/meta/) into the shared ncclx/meta/ directory, and relocate ncclxParseCommConfig from each version's src/init.cc into meta/NcclxConfig.cc:

  • sl mv v2_29/meta/NcclxConfig.{cc,h} to meta/ to preserve history
  • Remove identical copies from v2_27/meta/ and v2_28/meta/
  • Move ncclxParseCommConfig function definition from all 3 src/init.cc into meta/NcclxConfig.cc
  • Update all 3 def_build.bzl to reference shared meta/NcclxConfig.{cc,h}
  • Include path "meta/NcclxConfig.h" unchanged for all consumers

Reviewed By: YulunW

Differential Revision: D98925499

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

meta-codesync bot commented Apr 13, 2026

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

minsii added a commit to minsii/torchcomms-1 that referenced this pull request Apr 13, 2026
Summary:
Pull Request resolved: meta-pytorch#2059

Move NcclxConfig.cc and NcclxConfig.h from per-version directories (v2_27/meta/, v2_28/meta/, v2_29/meta/) into the shared ncclx/meta/ directory, and relocate ncclxParseCommConfig from each version's src/init.cc into meta/NcclxConfig.cc:
- sl mv v2_29/meta/NcclxConfig.{cc,h} to meta/ to preserve history
- Remove identical copies from v2_27/meta/ and v2_28/meta/
- Move ncclxParseCommConfig function definition from all 3 src/init.cc into meta/NcclxConfig.cc
- Update all 3 def_build.bzl to reference shared meta/NcclxConfig.{cc,h}
- Include path "meta/NcclxConfig.h" unchanged for all consumers

Differential Revision: D98925499
@minsii minsii force-pushed the export-D98925499 branch from 11d885f to b848e2e Compare April 13, 2026 23:55
@meta-codesync meta-codesync bot changed the title Consolidate NcclxConfig into shared meta/ directory Consolidate NcclxConfig into shared meta/ directory (#2059) Apr 13, 2026
Summary:
Pull Request resolved: meta-pytorch#2059

Move NcclxConfig.cc and NcclxConfig.h from per-version directories (v2_27/meta/, v2_28/meta/, v2_29/meta/) into the shared ncclx/meta/ directory, and relocate ncclxParseCommConfig from each version's src/init.cc into meta/NcclxConfig.cc:
- sl mv v2_29/meta/NcclxConfig.{cc,h} to meta/ to preserve history
- Remove identical copies from v2_27/meta/ and v2_28/meta/
- Move ncclxParseCommConfig function definition from all 3 src/init.cc into meta/NcclxConfig.cc
- Update all 3 def_build.bzl to reference shared meta/NcclxConfig.{cc,h}
- Include path "meta/NcclxConfig.h" unchanged for all consumers

Reviewed By: YulunW

Differential Revision: D98925499
@minsii minsii force-pushed the export-D98925499 branch from b848e2e to 5024d41 Compare April 15, 2026 03:35
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