Skip to content

Back out "Forward-compat nfp8_dtype fallback for torch.package re-export version blends" - #6091

Open
q10 wants to merge 1 commit into
pytorch:mainfrom
q10:export-D114033024
Open

Back out "Forward-compat nfp8_dtype fallback for torch.package re-export version blends"#6091
q10 wants to merge 1 commit into
pytorch:mainfrom
q10:export-D114033024

Conversation

@q10

@q10 q10 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary:
Backs out D113966884. That diff was a Python forward-fix for S685573 layered
on top of D113263502. We are now fully reverting D113263502 (via D113962469)
because it also caused a HIP binary-size relocation overflow in
sigrid.predictor.hip (cxx_relocation_overflow: doubled FP8 kernel
instantiations pushed .text past the 2^32 PC-relative limit), which a Python
fix cannot address.

Backing this out first restores split_table_batched_embeddings_ops_training.py
to the D113263502 state so the D113263502 backout (D113962469) applies cleanly
and the tree returns to the exact pre-D113263502 state. Left in place, this
forward-compat shim would become dead code (split_embedding_configs loses
nfp8_dtype after the D113263502 backout, so the try-import always hits the
fallback).

Reviewed By: ericluometa

Differential Revision: D114033024

…ort version blends"

Summary:
Backs out D113966884. That diff was a Python forward-fix for S685573 layered
on top of D113263502. We are now fully reverting D113263502 (via D113962469)
because it also caused a HIP binary-size relocation overflow in
sigrid.predictor.hip (cxx_relocation_overflow: doubled FP8 kernel
instantiations pushed .text past the 2^32 PC-relative limit), which a Python
fix cannot address.

Backing this out first restores split_table_batched_embeddings_ops_training.py
to the D113263502 state so the D113263502 backout (D113962469) applies cleanly
and the tree returns to the exact pre-D113263502 state. Left in place, this
forward-compat shim would become dead code (split_embedding_configs loses
nfp8_dtype after the D113263502 backout, so the try-import always hits the
fallback).

Reviewed By: ericluometa

Differential Revision: D114033024
@meta-cla meta-cla Bot added the cla signed label Jul 29, 2026
@meta-codesync

meta-codesync Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant