8000 Fix import torchao.prototype.low_bit_optim since torchao v0.11 by baptxste · Pull Request #38174 · huggingface/transformers · GitHub
[go: up one dir, main page]

Skip to content

Fix import torchao.prototype.low_bit_optim since torchao v0.11 #38174

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

Merged
merged 4 commits into from
May 16, 2025

Conversation

baptxste
Copy link
Contributor
@baptxste baptxste commented May 16, 2025

What does this PR do?

Update import path of AdamW4bit and AdamW8bit for torchao >= 0.11.0

@github-actions github-actions bot marked this pull request as draft May 16, 2025 09:24
Copy link
Contributor

Hi 👋, thank you for opening this pull request! The pull request is converted to draft by default. The CI will be paused while the PR is in draft mode. When it is ready for review, please click the Ready for review button (at the bottom of the PR page). This will assign reviewers and trigger CI.

@baptxste baptxste marked this pull request as ready for review May 16, 2025 09:27
Copy link
Member
@Rocketknight1 Rocketknight1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, LGTM! cc @SunMarc to confirm just in case

@Rocketknight1
Copy link
Member

@bot /style

Copy link
Contributor

Style fixes have been applied. View the workflow run here.

@Rocketknight1 Rocketknight1 force-pushed the fix_torchao_import_v0_11 branch from 6687b84 to 4cff8a3 Compare May 16, 2025 12:50
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Member
@SunMarc SunMarc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks !

@SunMarc SunMarc merged commit a438949 into huggingface:main May 16, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0