Giter Club home page Giter Club logo

Comments (4)

bmaltais avatar bmaltais commented on July 28, 2024 2

Yeah... it is a bug with his code... open an issue at: https://github.com/KohakuBlueleaf/LyCORIS/tree/main

from kohya_ss.

blormp avatar blormp commented on July 28, 2024 1

I had this same issue. Rolling back to v22.2.2 fixed it for me

from kohya_ss.

bmaltais avatar bmaltais commented on July 28, 2024

I just tried it with:

image

and it worked fine. What options are you using?

from kohya_ss.

bmaltais avatar bmaltais commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.