Skip to content

Delete unused GPTQ prototype - #4768

Open
iamzainhuda wants to merge 1 commit into
mainfrom
delete-dead-gptq
Open

Delete unused GPTQ prototype#4768
iamzainhuda wants to merge 1 commit into
mainfrom
delete-dead-gptq

Conversation

@iamzainhuda

Copy link
Copy Markdown
Contributor

Summary

  • delete the unused torchao.prototype.gptq API, examples, benchmark, and dedicated test
  • remove the GPTQ H100 CI invocation
  • keep the unrelated NVFP4 MoE calibration script working by loading its C4 samples locally

The July 31 usage audit records zero OSS usage and only bogus fbcode usage for this prototype, marks it removable, and tracks the fbcode cleanup in D114413514. This removes 1,441 Python LOC under torchao and 2,292 net lines repository-wide.

Test plan

  • ruff check scripts/prototype/test_nvfp4_moe.py
  • ruff format --check scripts/prototype/test_nvfp4_moe.py
  • python -m py_compile scripts/prototype/test_nvfp4_moe.py
  • package import smoke test
  • mocked C4 dataset helper smoke test
  • verify no tracked references to torchao.prototype.gptq remain

@pytorch-bot

pytorch-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

As of commit 2393581 with merge base f10e69b (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 Aug 17, 2026
@iamzainhuda iamzainhuda added module: inference quantize_ api inference flow module: bc-breaking Use this tag if this PR breaks backward compatibility labels Aug 17, 2026
@vkuzo

vkuzo commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

can you coordinate with the oncall to land this, since it will require internal changes in the same stack

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. module: bc-breaking Use this tag if this PR breaks backward compatibility module: inference quantize_ api inference flow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants