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

ensure enable_input_require_grads is called on model before getting the peft model #345

Merged
merged 1 commit into from
Aug 6, 2023

Conversation

winglian
Copy link
Collaborator

@winglian winglian commented Aug 6, 2023

fixes #312
see huggingface/transformers#23170 for additional info

@winglian winglian merged commit 176b888 into main Aug 6, 2023
@winglian winglian deleted the lora-grads branch August 13, 2023 00:23
mkeoliya pushed a commit to mkeoliya/axolotl that referenced this pull request Dec 15, 2023
djsaunde pushed a commit that referenced this pull request Dec 17, 2024
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.

fix for lora + gradient checkpointing + torch.compile
1 participant