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

Use float32/bfloat16 for gemma3 when dtype=None #2050

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

KareemMusleh
Copy link
Contributor

fixes #2044 . Ensuring that for gemma3 when dtype=None float16 isn't selected, as per the gemma3 blogpost.
I might be misunderstanding something because in the blog it says:

Unsloth auto selects the best data-type! You do not have to do anything!

@KareemMusleh KareemMusleh changed the title fix Use float32/bfloat16 for gemma3 when dtype=None Mar 16, 2025
@KareemMusleh KareemMusleh marked this pull request as draft March 18, 2025 17:14
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.

[Bug] Gemma 3 Fine Tuning Bug - NaN Gradients
1 participant