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

fix: torch_dtype mistral default to fp32 #1050

Merged

Conversation

NanoCode012
Copy link
Collaborator

Single GPU Mistral FFT training would result in torch_dtype: float32, which in turn will save checkpoints in full weights. This fixes it.

This issue does not occur with multi-gpu nor lora training.

Ref: #904

@winglian winglian merged commit c3e8165 into axolotl-ai-cloud:main Jan 9, 2024
6 checks passed
@NanoCode012 NanoCode012 deleted the fix/torch_dtype_mistral branch March 30, 2024 18:13
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.

None yet

2 participants