Skip to content

[x86] Fix missing fake metadata in quantized concat linear CPU fusion#4508

Draft
Yuxingwang-intel wants to merge 1 commit into
pytorch:mainfrom
Yuxingwang-intel:concat_linear
Draft

[x86] Fix missing fake metadata in quantized concat linear CPU fusion#4508
Yuxingwang-intel wants to merge 1 commit into
pytorch:mainfrom
Yuxingwang-intel:concat_linear

Conversation

@Yuxingwang-intel

Copy link
Copy Markdown
Contributor

This PR adds fake tensor metadata for the fused qlinear node created by the quantized concat linear CPU fusion pass.

The pass replaces multiple qlinear nodes with one fused qlinear node followed by split_with_sizes. Since the new qlinear node is manually created, it does not automatically carry meta["val"]. Without this metadata, FakeTensorUpdater may treat the fused qlinear output as None when updating the following split_with_sizes node.

The fused output shape is inferred from the original qlinear users.

@pytorch-bot

pytorch-bot Bot commented Jun 18, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/4508

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 18, 2026
@Yuxingwang-intel Yuxingwang-intel marked this pull request as draft June 18, 2026 08:09
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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant