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

feat: support multiple lora files & dynamic apply / remove lora #92

Merged
merged 12 commits into from
Nov 21, 2024

Conversation

jhen0409
Copy link
Member

@jhen0409 jhen0409 commented Nov 19, 2024

  • Param: lora_list for init context with multiple lora files
  • New context methods
    • async applyLoraAdapters(loraAdapters: Array<{ path: string; scaled?: number }>): Promise<void>
    • async removeLoraAdapters(): Promise<void>
    • async getLoadedLoraAdapters(): Promise<Array<{ path: string; scaled?: number }>>

@jhen0409 jhen0409 merged commit 9b6ea9f into main Nov 21, 2024
4 checks passed
@jhen0409 jhen0409 deleted the lora-list branch November 21, 2024 02:55
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.

1 participant