Skip to content

Initial PR for peft #839

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

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

Initial PR for peft #839

wants to merge 28 commits into from

Conversation

michaelbenayoun
Copy link
Member

@michaelbenayoun michaelbenayoun commented Apr 25, 2025

What does this PR do?

  • LoRA on linears / parallel linears works
  • LoraEmbedding works
  • LoRA on GQAQKVColumnParallelLinear works
  • NeuronPeftModel class
  • from_pretrained
  • save_pretrained
  • NeuronModel.from_pretrained ? We decide not to support it for now.
  • Checkpoints consolidation
  • Test gradient checkpointing
  • Feature to update the target modules with the transformation specs
  • Test that saving during training does not impact training
  • Add error message for "custom" initialization methods for LoRA?

Base automatically changed from custom_modeling_introduction to main May 15, 2025 08:32
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

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.

2 participants