Skip to content

[Perf] Speed up LoRA Batch Initialization #6961

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
2 of 3 tasks
lifuhuang opened this issue Jun 8, 2025 · 0 comments
Open
2 of 3 tasks

[Perf] Speed up LoRA Batch Initialization #6961

lifuhuang opened this issue Jun 8, 2025 · 0 comments
Assignees

Comments

@lifuhuang
Copy link
Collaborator

lifuhuang commented Jun 8, 2025

Motivation

prepare_lora_batch is triggered once per forward pass and is one of the main sources of perf overheads from LoRA. Based on suggestion from @Fridge003 , there are some low-hanging fruits for perf optimization such as eliminating unnecessary cuda device syncs.

Related resources

No response

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

No branches or pull requests

1 participant