-
Notifications
You must be signed in to change notification settings - Fork 39
LoRA loading and LoRA application #20
Conversation
|
new lcm's 1.5 lora is very good if onnxstack can support it at some point! very low at size, can generate very good images at 4 steps |
|
Looks like I went down the wrong rabbit whole with the first implementation However I think this may be the route |
# Conflicts: # OnnxStack.Core/Model/OnnxModelAdapter.cs
|
this repo just released lora and lcm lora= |
|
So what should have been a trivial thing to add has become impossible ATM. There does not seem to be a way to access the model layers using the Onnx C# API :/ This will have to be done outside ONNX, so perhaps time to find another C# tensor library that can read onnx, and apply changes |
|
Not possible at this time, Closing |
PR to introduce LoRA (Low Rank Adaptation) support
Adding most of this to the
OnnxStack.Coreas LoRA will be used for other projects outsideStableDiffusion(Text Generation etc)IOnnxModelServiceto load/unload LoRA filesIOnnxAdaperServiceto manage LoRA application, support multiple applicationsIStableDiffusionServiceforIOnnxAdaperServiceResearch Links
https://medium.com/openvino-toolkit/enable-lora-weights-with-stable-diffusion-controlnet-pipeline-94fb06c86ea2
Discussion about this feature
#16