-
Notifications
You must be signed in to change notification settings - Fork 193
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
LoRA in Text2ImagePipeline #911
Merged
slyalin
merged 76 commits into
openvinotoolkit:master
from
slyalin:lora_in_other_pipelines
Oct 7, 2024
Merged
LoRA in Text2ImagePipeline #911
slyalin
merged 76 commits into
openvinotoolkit:master
from
slyalin:lora_in_other_pipelines
Oct 7, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… for ReadValue. It works around a bug in CPU with state initialization.
…nd separate base LoRA classes reuse outside (e.g. in SD). Code duplication, not compiling.
…elines with new API (+ several WAs for CPU bugs exposed during testing with various adapters).
…config for more convenient user experience.
…aptersConfig methods. Compilation is broken.
…tensors and non-empty tensors of minimal size.
…generation twice for each variant.
…e transformation activated by a new config flag.
…pha is not specified in command line
… defaults, less need of explicit use of AdapterConfig, introduced mode instead of bool flags.
…DE_STATIC explicitly in SD and lcm. Sorted examples in lora sample from static to dynamic. Passed MODE_STATIC_RANK to internal rank calculation.
…ependency. Switch lora sample to CPU. Disable DEBUG_PRINT in Release configuration.
… behaviour in the scenario when adapters are switched without setting alpha.
…ed cached alpha constants -- creating them each time, because they are small.
…apters simultaniously.
…on in the README. Changed image size for lora sample to be more compatible with LoRA adapters used in the README
ilya-lavrenov
approved these changes
Oct 2, 2024
…th LoRA. Minor code/style modifications.
… download the adapter in README.
eaidova
reviewed
Oct 3, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Oct 3, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Oct 3, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to no response for status checks
Oct 4, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to no response for status checks
Oct 5, 2024
github-merge-queue bot
pushed a commit
that referenced
this pull request
Oct 7, 2024
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
github-merge-queue
bot
removed this pull request from the merge queue due to no response for status checks
Oct 7, 2024
This was referenced Oct 10, 2024
ilya-lavrenov
added a commit
that referenced
this pull request
Oct 13, 2024
**TODO:** - [ ] Python API and sample - [ ] Update doc strings - [x] Update main README.md (PR #930) - [ ] Add sample with custom device mapping - [ ] Experiment with reshape + compile as part of Ctor - [x] Add LoRA (PR #911) - [X] Use std::optional for prompt2, prompt3 and maybe negative prompts as well - [X] Update https://github.com/openvinotoolkit/openvino.genai/blob/master/src/docs/SUPPORTED_MODELS.md with text 2 image generation models
ilya-lavrenov
added
category: text to image
Text 2 image pipeline
category: LoRA
Low rank adapters
labels
Oct 15, 2024
ScottZhang812
pushed a commit
to ScottZhang812/_openvino.genai
that referenced
this pull request
Dec 23, 2024
**TODO:** - [ ] Python API and sample - [ ] Update doc strings - [x] Update main README.md (PR openvinotoolkit/openvino.genai#930) - [ ] Add sample with custom device mapping - [ ] Experiment with reshape + compile as part of Ctor - [x] Add LoRA (PR openvinotoolkit/openvino.genai#911) - [X] Use std::optional for prompt2, prompt3 and maybe negative prompts as well - [X] Update https://github.com/openvinotoolkit/openvino.genai/blob/master/src/docs/SUPPORTED_MODELS.md with text 2 image generation models
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.