Repository navigation
Conversation
Contributor
|
@q10 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D133657924. |
q10
added a commit
to q10/FBGEMM
that referenced
this pull request
Nov 21, 2026
Summary: X-link: https://github.com/facebookresearch/FBGEMM/pull/3684 Prevent the multi-architecture TBE backward link from combining all optimizer fatbinaries into one oversized shared library. CUDA builds use one shared library per GPU optimizer, a shared library for the three other helpers, and the existing CPU-registration facade. Compile the small gradient-helper translation unit inside each optimizer because its kernel templates inherit hidden visibility from PyTorch packed-accessor types. This avoids the undefined `grad_mean_kernel` failure across shared-library boundaries. Retain the shards as `DT_NEEDED` dependencies by putting Linux `--no-as-needed`/`--as-needed` flags around their dependency list. Install the shards alongside the facade with the existing `$ORIGIN` postbuild processing. CPU and ROCm keep their current source grouping. Differential Revision: D133657924
q10
force-pushed
the
export-D133657924
branch
from
November 24, 2026 00:53
2632aae to
f2b97b2
Compare
q10
added a commit
to q10/FBGEMM
that referenced
this pull request
Nov 24, 2026
Summary: X-link: https://github.com/facebookresearch/FBGEMM/pull/3684 Prevent the multi-architecture TBE backward link from combining all optimizer fatbinaries into one oversized shared library. CUDA builds use one shared library per GPU optimizer, a shared library for the three other helpers, and the existing CPU-registration facade. Compile the small gradient-helper translation unit inside each optimizer because its kernel templates inherit hidden visibility from PyTorch packed-accessor types. This avoids the undefined `grad_mean_kernel` failure across shared-library boundaries. Retain the shards as `DT_NEEDED` dependencies by putting Linux `--no-as-needed`/`--as-needed` flags around their dependency list. Install the shards alongside the facade with the existing `$ORIGIN` postbuild processing. CPU and ROCm keep their current source grouping. Differential Revision: D133657924
q10
added a commit
to q10/FBGEMM
that referenced
this pull request
Nov 29, 2026
Summary: X-link: https://github.com/facebookresearch/FBGEMM/pull/3684 Prevent the multi-architecture TBE backward link from combining all optimizer fatbinaries into one oversized shared library. CUDA builds use one shared library per GPU optimizer, a shared library for the three other helpers, and the existing CPU-registration facade. Compile the small gradient-helper translation unit inside each optimizer because its kernel templates inherit hidden visibility from PyTorch packed-accessor types. This avoids the undefined `grad_mean_kernel` failure across shared-library boundaries. Retain the shards as `DT_NEEDED` dependencies by putting Linux `--no-as-needed`/`--as-needed` flags around their dependency list. Install the shards alongside the facade with the existing `$ORIGIN` postbuild processing. CPU and ROCm keep their current source grouping. Differential Revision: D133657924
q10
added a commit
to q10/FBGEMM
that referenced
this pull request
Nov 29, 2026
Summary: X-link: https://github.com/facebookresearch/FBGEMM/pull/3684 Prevent the multi-architecture TBE backward link from combining all optimizer fatbinaries into one oversized shared library. CUDA builds use one shared library per GPU optimizer, a shared library for the three other helpers, and the existing CPU-registration facade. Compile the small gradient-helper translation unit inside each optimizer because its kernel templates inherit hidden visibility from PyTorch packed-accessor types. This avoids the undefined `grad_mean_kernel` failure across shared-library boundaries. Retain the shards as `DT_NEEDED` dependencies by putting Linux `--no-as-needed`/`--as-needed` flags around their dependency list. Install the shards alongside the facade with the existing `$ORIGIN` postbuild processing. CPU and ROCm keep their current source grouping. Differential Revision: D133657924
q10
force-pushed
the
export-D133657924
branch
from
November 29, 2026 03:31
f2b97b2 to
3960ac3
Compare
Summary: X-link: https://github.com/facebookresearch/FBGEMM/pull/3684 Prevent the multi-architecture TBE backward link from combining all optimizer fatbinaries into one oversized shared library. CUDA builds use one shared library per GPU optimizer, a shared library for the three other helpers, and the existing CPU-registration facade. Compile the small gradient-helper translation unit inside each optimizer because its kernel templates inherit hidden visibility from PyTorch packed-accessor types. This avoids the undefined `grad_mean_kernel` failure across shared-library boundaries. Retain the shards as `DT_NEEDED` dependencies by putting Linux `--no-as-needed`/`--as-needed` flags around their dependency list. Install the shards alongside the facade with the existing `$ORIGIN` postbuild processing. CPU and ROCm keep their current source grouping. Independent CUDA packaging fix. The signed-comparison warning-policy stack does not require this library split; CPU and ROCm retain their existing grouping. The oversized-library evidence is a controlled padded fixture, not a before/after full-wheel reproduction. Differential Revision: D133657924
q10
force-pushed
the
export-D133657924
branch
from
November 29, 2026 09:55
3960ac3 to
6e4e3b0
Compare
This branch has not been deployed
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.
Summary:
X-link: https://github.com/facebookresearch/FBGEMM/pull/3684
Prevent the multi-architecture TBE backward link from combining all optimizer fatbinaries into one oversized shared library. CUDA builds use one shared library per GPU optimizer, a shared library for the three other helpers, and the existing CPU-registration facade. Compile the small gradient-helper translation unit inside each optimizer because its kernel templates inherit hidden visibility from PyTorch packed-accessor types. This avoids the undefined
grad_mean_kernelfailure across shared-library boundaries.Retain the shards as
DT_NEEDEDdependencies by putting Linux--no-as-needed/--as-neededflags around their dependency list. Install the shards alongside the facade with the existing$ORIGINpostbuild processing. CPU and ROCm keep their current source grouping.Independent CUDA packaging fix. The signed-comparison warning-policy stack does not require this library split; CPU and ROCm retain their existing grouping. The oversized-library evidence is a controlled padded fixture, not a before/after full-wheel reproduction.
Differential Revision: D133657924