Skip to content

Conversation

@namgyu-youn
Copy link
Contributor

Summary:
This PR is smaller chunks of #2729. Instead of implementing a linear model in each test code, we want to support its API for developers' utility and consistency. The updated toy model requires device and dtype to help clearly identify.

Test Plan:
benchmarks/benchmark_aq.py
test/dtypes/test_affine_quantized_float.py

Future Plan:
For a full update, we also have to update the following tests, same as this PR:

Co-authored-by: Jerry Zhang [email protected]

Co-authored-by: Jerry Zhang <[email protected]>
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 12, 2025

🔗 Helpful Links

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

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

❌ 3 New Failures, 1 Unrelated Failure

As of commit b61a7b0 with merge base 1a9b6f4 (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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 12, 2025
@namgyu-youn
Copy link
Contributor Author

cc @jerryzh168 :)

@namgyu-youn
Copy link
Contributor Author

@pytorchbot label "topic: not user facing" "topic: for developers"

@jerryzh168
Copy link
Contributor

I think we can prioritize [test/quantization/quantize_/workflows/float8/test_float8_tensor.py](https://github.com/pytorch/ao/blob/main/test/quantization/quantize_/workflows/float8/test_float8_tensor.py) others might have to be deprecated

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.

2 participants