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

Remove unnecessary code len(unique_adapters) #1359

Conversation

TaeWoo21
Copy link

A small PR that removes seemingly unnecessary code(peft/src/peft/tuners/lora/layer.py#L220).

len(unique_adapters)

A small PR that removes seemingly unnecessary code.
@TaeWoo21 TaeWoo21 changed the title remove unnecessary code len(unique_adapters) Remove unnecessary code len(unique_adapters) Jan 15, 2024
Copy link
Contributor

@younesbelkada younesbelkada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clean up!

@younesbelkada younesbelkada merged commit 87e4cb1 into huggingface:smangrul/support-multiple-loras-in-batch Jan 22, 2024
2 of 11 checks passed
@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.

3 participants