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

Mimic adamw_torch_4bit and have adamw_torch_8bit #34893

Open
fzyzcjy opened this issue Nov 23, 2024 · 0 comments
Open

Mimic adamw_torch_4bit and have adamw_torch_8bit #34893

fzyzcjy opened this issue Nov 23, 2024 · 0 comments
Labels
Feature request Request for a new feature

Comments

@fzyzcjy
Copy link
Contributor

fzyzcjy commented Nov 23, 2024

Feature request

Hi thanks for the lib! Currently there is adamw_torch_4bit, but I hope to mimic it to have a adamw_torch_8bit that uses 8bit torchao adamw.

The reason is that, I would like to use deepspeed cpu offload for the optimizer, and also use 8bit adamw. However, the 8bit one in current hf transformers does not support cpu, so I need to use the torchao one.

Motivation

Your contribution

yes

@fzyzcjy fzyzcjy added the Feature request Request for a new feature label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant