Skip to content

Conversation

@agupta2304
Copy link
Contributor

Make minor improvements to optimizer.py

  1. torch.tensor -> torch.Tensor
  2. Fix typos
  3. Remove redundant assignments to args["percentile_clipping"]

@agupta2304
Copy link
Contributor Author

@matthewdouglas would love your review here again, thank you so much :)

@matthewdouglas matthewdouglas added Low Risk Risk of bugs in transformers and other libraries Optimizers Issues or feature requests relating to optimizers labels Jun 24, 2025
@matthewdouglas matthewdouglas added this to the v0.46.1 milestone Jun 24, 2025
@matthewdouglas matthewdouglas self-requested a review June 24, 2025 22:49
Copy link
Member

@matthewdouglas matthewdouglas left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@matthewdouglas matthewdouglas merged commit aca9778 into bitsandbytes-foundation:main Jun 24, 2025
36 checks passed
@github-actions
Copy link

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.

matthewdouglas pushed a commit that referenced this pull request Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Low Risk Risk of bugs in transformers and other libraries Optimizers Issues or feature requests relating to optimizers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants