Skip to content

fix: parametrized dtype ignored in test_autotuner; wrong variable in test_integration error message#4452

Open
swapnil5053 wants to merge 1 commit into
pytorch:mainfrom
swapnil5053:fix/test-autotuner-dtype-override
Open

fix: parametrized dtype ignored in test_autotuner; wrong variable in test_integration error message#4452
swapnil5053 wants to merge 1 commit into
pytorch:mainfrom
swapnil5053:fix/test-autotuner-dtype-override

Conversation

@swapnil5053

Copy link
Copy Markdown

Fixes #4339

  • Removed hardcoded dtype = torch.bfloat16 overrides in test_autotuner.py
    that caused float16 test variants to silently run as bfloat16 instead
  • Fixed assertion in test_int_scaled_mm to use dtype instead of hardcoded torch.bfloat16
  • Fixed wrong variable in error message in test_integration.py (ref_qtest)

@pytorch-bot

pytorch-bot Bot commented May 29, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❗ 2 Active SEVs

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

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 May 29, 2026
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.

Parametrized dtype overridden in test_autotuner; wrong variable in test_integration error message

1 participant