Skip to content

Conversation

@YashasviChaurasia
Copy link
Contributor

Description of the change

The change defaults the optimizer argument to adamw_torch as default for fms-hf-tuning.

The default for hf trainer is adamw_torch_fused which wont be compatible with mixed precision, given that we push for mixed precision ="bf16" for performance, I propose we should make adamw_torch as default for our stack..
hf optim

Related issue number

How to verify the PR

@github-actions
Copy link

Thanks for making a pull request! 😃
One of the maintainers will review and advise on the next steps.

Copy link
Collaborator

@dushyantbehl dushyantbehl left a comment

Choose a reason for hiding this comment

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

LGTM

@dushyantbehl dushyantbehl merged commit f41eb2c into foundation-model-stack:main Sep 15, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants