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

Fix FP6-LLM API and add .to(device) op #595

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

gau-nernst
Copy link
Collaborator

Fix a bug introduced in #542 which breaks fp6_llm_weight_only. Add a test to make sure we won't break the API in the future.

I also added support for .to(device) since it was required to work with CPU model offloading in diffusers (I was playing with Flux)

Copy link

pytorch-bot bot commented Aug 5, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 53c7330 with merge base ed83ae2 (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 5, 2024
@msaroufim msaroufim self-requested a review August 5, 2024 16:13
@msaroufim msaroufim merged commit cd73053 into pytorch:main Aug 5, 2024
13 checks passed
jerryzh168 pushed a commit to jerryzh168/ao that referenced this pull request Aug 5, 2024
* fix

* add some ops for convenience
@gau-nernst gau-nernst deleted the fix_fp6_llm_api branch August 6, 2024 09:00
jainapurva pushed a commit that referenced this pull request Aug 7, 2024
* fix

* add some ops for convenience
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