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

Any changes to the function "optim.AdamW8bit"? #152

Closed
arceus-jia opened this issue Feb 20, 2023 · 4 comments
Closed

Any changes to the function "optim.AdamW8bit"? #152

arceus-jia opened this issue Feb 20, 2023 · 4 comments

Comments

@arceus-jia
Copy link

When I use version 0.37.0 of AdamW8bit as an optimizer, the loss calculation quickly becomes nan, (which is problematic when training dreambooth or Lora) but when I fall back to version 0.35.4, these problems will no longer exist

@arceus-jia arceus-jia changed the title Any changes to the function "bnb.optim.AdamW8bit"? Any changes to the function "optim.AdamW8bit"? Feb 20, 2023
@ArrowM
Copy link

ArrowM commented Mar 27, 2023

Bump. (plus I think this is a dup of #121). Something changed between 0.35.0 and 0.36.0.

@ArrowM
Copy link

ArrowM commented Mar 27, 2023

This is a total shot in the dark, but I wonder if bitsandbytes/functional.py:218-223 was accidentally indented in 2f2063b

@rationalism
Copy link

@ArrowM @arceus-jia This should be fixed by 0.41.1

Copy link

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

@github-actions github-actions bot closed this as completed Jan 1, 2024
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

No branches or pull requests

3 participants