Skip to content

Conversation

@Stonepia
Copy link
Contributor

@Stonepia Stonepia commented Dec 25, 2025

This is to fix the issue we found during the CI. There are issues like:

==================================== ERRORS ====================================
_____________ ERROR collecting test/quantization/test_quant_api.py _____________
ImportError while importing test module '/pytorch/ao/test/quantization/test_quant_api.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/conda/envs/venv/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test/quantization/test_quant_api.py:17: in <module>
    from torch.ao.quantization.quantize_pt2e import convert_pt2e, prepare_pt2e
E   ModuleNotFoundError: No module named 'torch.ao.quantization.quantize_pt2e'

cc: @jerryzh168

@pytorch-bot
Copy link

pytorch-bot bot commented Dec 25, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit e0abea6 with merge base 57432bd (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 Dec 25, 2025
@liangan1 liangan1 added topic: for developers Use this tag if this PR is mainly developer facing ciflow/xpu label used to trigger xpu CI jobs xpu Intel XPU related features and removed xpu Intel XPU related features labels Dec 25, 2025
@Stonepia Stonepia changed the title [Fix] Fix the import issue for pt2e in test_quant_api [Fix][CI] Fix the CI import issue for pt2e in test_quant_api Dec 25, 2025
@pytorch-bot pytorch-bot bot removed the ciflow/xpu label used to trigger xpu CI jobs label Dec 25, 2025
@Stonepia Stonepia changed the title [Fix][CI] Fix the CI import issue for pt2e in test_quant_api [Fix][CI] Fix the CI import issue in test_quant_api.py Dec 25, 2025
@liangan1 liangan1 requested a review from jerryzh168 December 25, 2025 21:49
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: for developers Use this tag if this PR is mainly developer facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants