Comments (4)
Yeah... it is a bug with his code... open an issue at: https://github.com/KohakuBlueleaf/LyCORIS/tree/main
from kohya_ss.
I had this same issue. Rolling back to v22.2.2 fixed it for me
from kohya_ss.
I just tried it with:
and it worked fine. What options are you using?
from kohya_ss.
Wait... it just failed near the end... I think it is a bug with the Lycoris script:
16:37:42-259867 INFO ./venv/Scripts/python.exe "tools\lycoris_locon_extract.py" --is_sdxl --device cuda --mode quantile --safetensors --linear_quantile 0.75 --conv_quantile 0.75
--sparsity 0.98 "E:/models/sdxl/base/sd_xl_base_1.0_0.9vae.safetensors" "E:/models/sdxl/RealVisXL_V3.0.safetensors"
"E:/lora/sdxl/RealVisXL_V3.0.safetensors"
A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
building U-Net
loading U-Net from checkpoint
U-Net: <All keys matched successfully>
building text encoders
loading text encoders from checkpoint
text encoder 1: _IncompatibleKeys(missing_keys=[], unexpected_keys=['text_model.embeddings.position_ids'])
text encoder 2: _IncompatibleKeys(missing_keys=[], unexpected_keys=['text_model.embeddings.position_ids'])
building VAE
loading VAE from checkpoint
VAE: <All keys matched successfully>
building U-Net
loading U-Net from checkpoint
U-Net: <All keys matched successfully>
building text encoders
loading text encoders from checkpoint
text encoder 1: _IncompatibleKeys(missing_keys=[], unexpected_keys=['text_model.embeddings.position_ids'])
text encoder 2: _IncompatibleKeys(missing_keys=[], unexpected_keys=['text_model.embeddings.position_ids'])
building VAE
loading VAE from checkpoint
VAE: <All keys matched successfully>
Traceback (most recent call last):
File "D:\kohya_ss\tools\lycoris_locon_extract.py", line 190, in <module>
main()
File "D:\kohya_ss\tools\lycoris_locon_extract.py", line 169, in main
state_dict = extract_diff(
File "D:\kohya_ss\venv\lib\site-packages\lycoris\utils\__init__.py", line 376, in extract_diff
for idx, te1, te2 in enumerate(zip(base_tes, db_tes)):
ValueError: not enough values to unpack (expected 3, got 2)
from kohya_ss.
Related Issues (20)
- PermissionError: [Errno 13] Permission denied: '' HOT 2
- Postfix to add to WD14 caption no longer available HOT 1
- Trouble with TensorRT... can't be found, though it is installed (Kubuntu 24.04) HOT 2
- AttributeError: 'DistributedDataParallel' object has no attribute 'text_model'
- Nothing pops up when I click start training
- when loading saved Preset, Learning Rate always auto-fills HOT 4
- how to use Accelerate Lora tab to select which gpu ID to use HOT 10
- Docker Container Approach -- Permission issues for generating BLIP captioning HOT 3
- RuntimeError: The size of tensor a (8) must match the size of tensor b (6) at non-singleton dimension 3 HOT 1
- Conflict between venv configuration and conda in Linux environment HOT 1
- LORA training does not start, it keeps crashing - W socket.cpp:663] [c10d] The client socket has failed to connect to [DESKTOP-413GD2B]:12345 HOT 4
- No AVX CPU (former mining rig) - workaround (?) HOT 4
- Cannot use sdxl fine tune HOT 2
- Error with accelerate site package - unknown keys HOT 1
- IMPORTANT: You are using gradio version 4.26.0, however version 4.29.0 is available, please upgrade. HOT 1
- How to train LORA with multiple GPUs HOT 5
- Stable Diffusion 3 HOT 25
- Cannot start DoRa training due to error HOT 6
- controlnet lllite-RuntimeError: Sizes of tensors must match except in dimension 2. Expected size 0 but got size 16 for tensor number 1 in the list.
- How to extract LyCORIS keep small size by good effect.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kohya_ss.