Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[reland] Refactor quant_llm to work with affine quantized tensor (#696) #772

Merged
merged 6 commits into from
Aug 29, 2024

Conversation

jerryzh168
Copy link
Contributor

Summary:
We want to add quant_llm to affine quantized tensor as a general fp2-fp7 dtype, before that we need to refactor the current implementation to work with AffineQuantizedTensor first

Test Plan:
python test/prototype/test_quant_llm.py

Reviewers:

Subscribers:

Tasks:

Tags:

Copy link

pytorch-bot bot commented Aug 28, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit a74fa26 with merge base 09a5e54 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-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 28, 2024
…orch#696)

Summary:
We want to add quant_llm to affine quantized tensor as a general fp2-fp7 dtype,
before that we need to refactor the current implementation to work with AffineQuantizedTensor first

Test Plan:
python test/prototype/test_quant_llm.py

Reviewers:

Subscribers:

Tasks:

Tags:
@jerryzh168
Copy link
Contributor Author

the problem is the previous error in CI does not really appear here, maybe we should do a forward fix. cc @msaroufim @gau-nernst

@jerryzh168
Copy link
Contributor Author

update: moved the import for quant_llm op, verified locally that "import torchao" works

@jerryzh168 jerryzh168 merged commit 05224a9 into pytorch:main Aug 29, 2024
16 checks passed
@jerryzh168 jerryzh168 deleted the reland-fpx branch August 29, 2024 23:40
yanbing-j pushed a commit to yanbing-j/ao that referenced this pull request Dec 9, 2024
* move gguf tests to script

* execute advanced instructions
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.

3 participants