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

Split LoRA layer implementations into separate files. #6845

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

RyanJDick
Copy link
Collaborator

Summary

This PR splits the lora.py monolith into separate files. The main motivation for doing this in a standalone PR is to make the diffs more interpretable in the upcoming changes to support LoRAs for FLUX.

This PR does not make any functional changes - it just moves files around and changes import paths.

QA Instructions

I smoke tested generation with LoRA, LoHA, LoKr, and IA3.

Merge Plan

No special instructions. Merge on approval.

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)

@github-actions github-actions bot added python PRs that change python files invocations PRs that change invocations backend PRs that change backend files python-tests PRs that change python tests labels Sep 12, 2024
@RyanJDick RyanJDick merged commit afe3942 into main Sep 12, 2024
14 checks passed
@RyanJDick RyanJDick deleted the ryan/lora-split-layers branch September 12, 2024 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend PRs that change backend files invocations PRs that change invocations python PRs that change python files python-tests PRs that change python tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants