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

keep gate in fp32 for loras #1105

Merged
merged 5 commits into from
Jan 12, 2024
Merged

keep gate in fp32 for loras #1105

merged 5 commits into from
Jan 12, 2024

Conversation

winglian
Copy link
Collaborator

No description provided.

add lora tests @ 16bit and fix gate layer check
fix the parameter name, was using the old disco name
don't lora over the gate so we can check that is in fp32
fix dtype check
@winglian winglian merged commit da97285 into main Jan 12, 2024
7 checks passed
@winglian winglian deleted the gate-fp32 branch January 23, 2024 12:33
djsaunde pushed a commit that referenced this pull request Dec 17, 2024
* keep gate in fp32 for loras

* add e2e check for lora w/o flash attention for mixtral to check gate

* add checks for gate in fp32 for mixtral, add typehints to train outputs

* mixtral doesn't support basic lora 🤦

add lora tests @ 16bit and fix gate layer check
fix the parameter name, was using the old disco name
don't lora over the gate so we can check that is in fp32
fix dtype check

* ensure we're using fp16/bf16 for 16bit and qlora is always going to be in uint8
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.

1 participant