KEMBAR78
Change print() to logging in Quantizer so that the caller can have control by larryliu0820 · Pull Request #472 · pytorch/ao · GitHub
Skip to content

Conversation

@larryliu0820
Copy link
Contributor

For Int4WeightOnlyQuantizer users, we should allow them to choose whether to print the logging or not. Currently the following logs are printed unconditionally:

linear: layers.0.attention.wq, in=4096, out=4096
linear: layers.0.attention.wk, in=4096, out=4096
...

@pytorch-bot
Copy link

pytorch-bot bot commented Jul 3, 2024

🔗 Helpful Links

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

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

❗ 1 Active SEVs

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

✅ No Failures

As of commit f187931 with merge base a895699 (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 Jul 3, 2024
@larryliu0820 larryliu0820 requested a review from jerryzh168 July 3, 2024 21:09
@larryliu0820 larryliu0820 merged commit a7899b5 into main Jul 3, 2024
yanbing-j pushed a commit to yanbing-j/ao that referenced this pull request Dec 9, 2024
* Use _weight_int8pack_mm for CPU + eager

* Skip for older PyTorch versions
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.

4 participants