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

LoRA in Text2ImagePipeline #911

Merged
merged 76 commits into from
Oct 7, 2024

Conversation

slyalin
Copy link
Collaborator

@slyalin slyalin commented Oct 1, 2024

No description provided.

slyalin and others added 30 commits August 4, 2024 13:35
… 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).
…aptersConfig methods. Compilation is broken.
…tensors and non-empty tensors of minimal size.
…e transformation activated by a new config flag.
… 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.
…on in the README. Changed image size for lora sample to be more compatible with LoRA adapters used in the README
@slyalin slyalin marked this pull request as ready for review October 3, 2024 07:32
@slyalin slyalin added this pull request to the merge queue Oct 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 3, 2024
@ilya-lavrenov ilya-lavrenov added this pull request to the merge queue Oct 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 3, 2024
@slyalin slyalin added this pull request to the merge queue Oct 4, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Oct 4, 2024
@slyalin slyalin added this pull request to the merge queue Oct 4, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Oct 5, 2024
@ilya-lavrenov ilya-lavrenov added this pull request to the merge queue Oct 7, 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 github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Oct 7, 2024
@slyalin slyalin added this pull request to the merge queue Oct 7, 2024
Merged via the queue into openvinotoolkit:master with commit 41f1e7b Oct 7, 2024
46 checks passed
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 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
category: LoRA Low rank adapters category: text to image Text 2 image pipeline
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants