Skip to content

Conversation

@jerryzh168
Copy link
Contributor

@jerryzh168 jerryzh168 commented Nov 7, 2025

Summary:
The underlying fbgemm conv3d kernel for float8 only supports channels_out/channels_in are both multiples of 16 so we skip the shapes that doesn't satisfy the requirements for now, we can expand the support to do padding if needed in the future

Test Plan:
(in B200 machine) python test/quantization/quantize_/workflows/float8/test_float8_tensor.py -k test_fp8_conv_skip_quant

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 7, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 3e52ad2 with merge base 6259e98 (image):

NEW FAILURE - The following job has failed:

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 Nov 7, 2025
@jerryzh168 jerryzh168 force-pushed the skip-quant-for-unsupported-shapes branch from fb4b5d4 to bceadd1 Compare November 7, 2025 19:19
@jerryzh168 jerryzh168 added the topic: improvement Use this tag if this PR is an improvement (doesn't fit into any of the other categories) label Nov 7, 2025
Summary:
The underlying fbgemm conv3d kernel for float8 only supports channels_out/channels_in are both multiples of 16
so we skip the shapes that doesn't satisfy the requirements for now, we can expand the support to do padding
if needed in the future

Test Plan:
python test/quantization/quantize_/workflows/float8/test_float8_tensor.py -k test_fp8_conv_skip_quant
@jerryzh168 jerryzh168 force-pushed the skip-quant-for-unsupported-shapes branch from bceadd1 to 3e52ad2 Compare November 7, 2025 19:27
@jerryzh168
Copy link
Contributor Author

CI error unrelated

@jerryzh168 jerryzh168 merged commit 86af458 into pytorch:main Nov 7, 2025
17 of 19 checks passed
compile: bool,
granularity,
inference_mode: bool,
kernel_preference: KernelPreference,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry just noticed that this is not removed, the test is skipped in CI so should not be ran for now, will remove in next PR

jainapurva pushed a commit that referenced this pull request Nov 13, 2025
… 16 (#3309)

Summary:
The underlying fbgemm conv3d kernel for float8 only supports channels_out/channels_in are both multiples of 16
so we skip the shapes that doesn't satisfy the requirements for now, we can expand the support to do padding
if needed in the future

Test Plan:
python test/quantization/quantize_/workflows/float8/test_float8_tensor.py -k test_fp8_conv_skip_quant
namgyu-youn pushed a commit to namgyu-youn/ao that referenced this pull request Nov 21, 2025
… 16 (pytorch#3309)

Summary:
The underlying fbgemm conv3d kernel for float8 only supports channels_out/channels_in are both multiples of 16
so we skip the shapes that doesn't satisfy the requirements for now, we can expand the support to do padding
if needed in the future

Test Plan:
python test/quantization/quantize_/workflows/float8/test_float8_tensor.py -k test_fp8_conv_skip_quant
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. topic: improvement Use this tag if this PR is an improvement (doesn't fit into any of the other categories)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants