Skip to content

Conversation

@liangel-02
Copy link
Contributor

@liangel-02 liangel-02 commented Nov 3, 2025

Summary
Updating tests to use no grad due to 166367 breaking CI. PR was since reverted but updating in anticipation of it relanding.

Test
python test/quantization/quantize_/workflows/float8/test_float8_tensor.py

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 3, 2025

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit 1fa1253 with merge base 9266734 (image):
💚 Looks good so far! There are no failures yet. 💚

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 3, 2025
@liangel-02 liangel-02 requested a review from jerryzh168 November 3, 2025 18:56
@liangel-02 liangel-02 added the topic: not user facing Use this tag if you don't want this PR to show up in release notes label Nov 3, 2025
@liangel-02 liangel-02 marked this pull request as ready for review November 3, 2025 18:57

# Needed since changing args to function causes recompiles
torch._dynamo.config.cache_size_limit = 128
torch.set_grad_enabled(False)
Copy link
Contributor

@andrewor14 andrewor14 Nov 3, 2025

Choose a reason for hiding this comment

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

I think this disables it for all the tests, that's why some unrelated optim tests are failing? Maybe we should scope it to within the specific float8 test that's failing? @liangel-02 @jerryzh168 what do you think

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah I think we can put this in setUp of the test case

@liangel-02 liangel-02 force-pushed the fix_unit_tests branch 3 times, most recently from 2f6ec9d to 97dc6cb Compare November 3, 2025 20:40
@liangel-02 liangel-02 merged commit 8e3b3da into main Nov 4, 2025
18 checks passed
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: not user facing Use this tag if you don't want this PR to show up in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants