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

module peft.tuners.lora has no attribute layer #28

Open
medhatDoha opened this issue Nov 18, 2024 · 0 comments
Open

module peft.tuners.lora has no attribute layer #28

medhatDoha opened this issue Nov 18, 2024 · 0 comments

Comments

@medhatDoha
Copy link

ComfyUI Error Report

Error Details

  • Node ID: 10
  • Node Type: ailab_OmniGen
  • Exception Type: AttributeError
  • Exception Message: module peft.tuners.lora has no attribute layer

Stack Trace

  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\execution.py", line 289, in execute
    obj = class_def()
          ^^^^^^^^^^^

  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\ailab_OmniGen.py", line 53, in __init__
    from OmniGen import OmniGenPipeline

  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\__init__.py", line 4, in <module>
    from .pipeline import OmniGenPipeline

  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\pipeline.py", line 10, in <module>
    from peft import LoraConfig, PeftModel

  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\__init__.py", line 22, in <module>
    from .auto import (

  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\auto.py", line 32, in <module>
    from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING

  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mapping.py", line 22, in <module>
    from .mixed_model import PeftMixedModel

  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mixed_model.py", line 26, in <module>
    from peft.tuners.mixed import COMPATIBLE_TUNER_TYPES

  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\__init__.py", line 32, in <module>
    from .mixed import MixedModel

  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\mixed\__init__.py", line 15, in <module>
    from .model import COMPATIBLE_TUNER_TYPES, MixedModel

  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\mixed\model.py", line 37, in <module>
    Layers = (lora.layer.LoraLayer, loha.layer.LoHaLayer, lokr.layer.LoKrLayer, adalora.layer.AdaLoraLayer, oft.OFTLayer)
              ^^^^^^^^^^

  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\lora\__init__.py", line 42, in __getattr__
    raise AttributeError(f"module {__name__} has no attribute {name}")

System Information

  • ComfyUI Version: v0.2.7-26-g41886af
  • Arguments: ComfyUI\main.py --windows-standalone-build
  • OS: nt
  • Python Version: 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
  • Embedded Python: true
  • PyTorch Version: 2.4.0+cu121

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 25769279488
    • VRAM Free: 24404229224
    • Torch VRAM Total: 33554432
    • Torch VRAM Free: 12254312

Logs

2024-11-18T09:36:14.432349 -    0.0 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\clipseg.py
2024-11-18T09:36:14.432349 -    0.0 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-prompt-control
2024-11-18T09:36:14.432349 -    0.0 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-liveportrait
2024-11-18T09:36:14.432349 -    0.0 seconds (IMPORT FAILED): D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Gemini
2024-11-18T09:36:14.432349 -    0.0 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-reactor-node
2024-11-18T09:36:14.432349 -    0.0 seconds (IMPORT FAILED): D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LLMs
2024-11-18T09:36:14.432349 -    0.0 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Crystools
2024-11-18T09:36:14.432349 -    0.0 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Easy-Use
2024-11-18T09:36:14.432349 -    0.1 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Anyline
2024-11-18T09:36:14.432349 -    0.1 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BrushNet
2024-11-18T09:36:14.432349 -    0.1 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\PuLID_ComfyUI
2024-11-18T09:36:14.432349 -    0.1 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_VLM_nodes
2024-11-18T09:36:14.433350 -    0.1 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Translate_Node
2024-11-18T09:36:14.433350 -    0.1 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-ollama
2024-11-18T09:36:14.433350 -    0.1 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle
2024-11-18T09:36:14.433350 -    0.1 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes
2024-11-18T09:36:14.433350 -    0.2 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Fill-Nodes
2024-11-18T09:36:14.433350 -    0.2 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-DeepFuze
2024-11-18T09:36:14.433350 -    0.3 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-N-Nodes
2024-11-18T09:36:14.433350 -    0.3 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-APISR
2024-11-18T09:36:14.433350 -    0.3 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Flowty-CRM
2024-11-18T09:36:14.433350 -    0.4 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-CCSR
2024-11-18T09:36:14.433350 -    0.4 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Allor
2024-11-18T09:36:14.433350 -    0.5 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
2024-11-18T09:36:14.433350 -    0.5 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\bilbox-comfyui
2024-11-18T09:36:14.433350 -    0.6 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inspyrenet-Rembg
2024-11-18T09:36:14.434349 -    0.6 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-art-venture
2024-11-18T09:36:14.434349 -    0.7 seconds (IMPORT FAILED): D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MotionDiff
2024-11-18T09:36:14.434349 -    0.9 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui
2024-11-18T09:36:14.434349 -    1.0 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Custom_Nodes_AlekPet
2024-11-18T09:36:14.434349 -    4.1 seconds (IMPORT FAILED): D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui_image2prompt
2024-11-18T09:36:14.434349 -    4.3 seconds: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Griptape
2024-11-18T09:36:14.434349 - 
2024-11-18T09:36:14.446350 - Starting server

2024-11-18T09:36:14.446350 - To see the GUI go to: http://127.0.0.1:8188
2024-11-18T09:36:15.217143 - D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/photoswipe-lightbox.esm.min.js2024-11-18T09:36:15.217143 - 
2024-11-18T09:36:15.289195 - D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/photoswipe.min.css2024-11-18T09:36:15.289195 - 
2024-11-18T09:36:15.292195 - FETCH DATA from: D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json2024-11-18T09:36:15.292195 - 2024-11-18T09:36:15.294195 -  [DONE]2024-11-18T09:36:15.294195 - 
2024-11-18T09:36:15.321196 - D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/pickr.min.js2024-11-18T09:36:15.321196 - 
2024-11-18T09:36:15.406283 - D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/classic.min.css2024-11-18T09:36:15.407273 - 
2024-11-18T09:36:15.494707 - BilboX LUTs path set to:2024-11-18T09:36:15.495706 -  2024-11-18T09:36:15.495706 - D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\bilbox-comfyui\luts2024-11-18T09:36:15.495706 - 
2024-11-18T09:36:15.495706 - BilboX LUTs path set to:2024-11-18T09:36:15.495706 -  2024-11-18T09:36:15.495706 - D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\bilbox-comfyui\luts2024-11-18T09:36:15.495706 - 
2024-11-18T09:36:16.476808 - HTTP Request: GET https://api.openai.com/v1/models "HTTP/1.1 401 Unauthorized"
2024-11-18T09:36:16.477808 - Error: OpenAI API key is invalid OpenAI features wont work for you2024-11-18T09:36:16.477808 - 
2024-11-18T09:36:16.480807 - �[33mQualityOfLifeSuit_Omar92:�[0m:NSP ready2024-11-18T09:36:16.480807 - 
2024-11-18T09:36:22.353298 - �[36;20m[comfy_mtb] | INFO -> Found multiple match, we will pick the last E:\Ai\a1111\A1111 Web UI\stable-diffusion-webui\models/SwinIR
['D:\\AI\\2024\\ComfyUI_windows_portable\\ComfyUI\\models\\upscale_models', 'E:\\Ai\\a1111\\A1111 Web UI\\stable-diffusion-webui\\models/ESRGAN', 'E:\\Ai\\a1111\\A1111 Web UI\\stable-diffusion-webui\\models/RealESRGAN', 'E:\\Ai\\a1111\\A1111 Web UI\\stable-diffusion-webui\\models/SwinIR']�[0m
2024-11-18T09:36:22.353298 - �[33;20m[comfy_mtb] | WARNING -> Face restoration models not found.�[0m
2024-11-18T09:36:22.385803 - []2024-11-18T09:36:22.385803 - 
2024-11-18T09:36:22.385803 - []2024-11-18T09:36:22.385803 - 
2024-11-18T09:36:22.420813 - D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/model-viewer.min.js2024-11-18T09:36:22.420813 - 
2024-11-18T09:36:22.423811 - D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/juxtapose.css2024-11-18T09:36:22.424813 - 
2024-11-18T09:36:22.424813 - D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes\webApp\lib/juxtapose.min.js2024-11-18T09:36:22.424813 - 
2024-11-18T09:36:22.576840 - BilboX LUTs path set to:2024-11-18T09:36:22.577840 -  2024-11-18T09:36:22.577840 - D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\bilbox-comfyui\luts2024-11-18T09:36:22.577840 - 
2024-11-18T09:36:22.577840 - BilboX LUTs path set to:2024-11-18T09:36:22.577840 -  2024-11-18T09:36:22.577840 - D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\bilbox-comfyui\luts2024-11-18T09:36:22.577840 - 
2024-11-18T09:36:23.352271 - []2024-11-18T09:36:23.352271 - 
2024-11-18T09:36:23.352271 - []2024-11-18T09:36:23.352271 - 
2024-11-18T09:36:27.981741 - got prompt
2024-11-18T09:36:27.988242 - OmniGen code already exists2024-11-18T09:36:27.988242 - 
2024-11-18T09:36:27.988242 - OmniGen models verified successfully2024-11-18T09:36:27.988242 - 
2024-11-18T09:36:28.026338 - !!! Exception during processing !!! expected string or bytes-like object, got 'NoneType'
2024-11-18T09:36:28.028336 - Traceback (most recent call last):
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\execution.py", line 289, in execute
    obj = class_def()
          ^^^^^^^^^^^
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\ailab_OmniGen.py", line 53, in __init__
    from OmniGen import OmniGenPipeline
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\__init__.py", line 4, in <module>
    from .pipeline import OmniGenPipeline
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\pipeline.py", line 10, in <module>
    from peft import LoraConfig, PeftModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\__init__.py", line 22, in <module>
    from .auto import (
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\auto.py", line 32, in <module>
    from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mapping.py", line 22, in <module>
    from .mixed_model import PeftMixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mixed_model.py", line 26, in <module>
    from peft.tuners.mixed import COMPATIBLE_TUNER_TYPES
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\__init__.py", line 21, in <module>
    from .lora import LoraConfig, LoraModel, LoftQConfig
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\lora\__init__.py", line 20, in <module>
    from .model import LoraModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\lora\model.py", line 50, in <module>
    from .awq import dispatch_awq
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\lora\awq.py", line 26, in <module>
    from awq.modules.linear import WQLinear_GEMM
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\awq\__init__.py", line 2, in <module>
    from awq.models.auto import AutoAWQForCausalLM
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\awq\models\__init__.py", line 1, in <module>
    from .mpt import MptAWQForCausalLM
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\awq\models\mpt.py", line 1, in <module>
    from .base import BaseAWQForCausalLM
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\awq\models\base.py", line 46, in <module>
    from awq.quantize.quantizer import AwqQuantizer
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\awq\quantize\quantizer.py", line 9, in <module>
    from awq.utils.calib_data import get_calib_dataset
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\awq\utils\calib_data.py", line 4, in <module>
    from datasets import load_dataset
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\datasets\__init__.py", line 17, in <module>
    from .arrow_dataset import Dataset
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\datasets\arrow_dataset.py", line 75, in <module>
    from . import config
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\datasets\config.py", line 37, in <module>
    FSSPEC_VERSION = version.parse(importlib.metadata.version("fsspec"))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\packaging\version.py", line 56, in parse
    return Version(version)
           ^^^^^^^^^^^^^^^^
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\packaging\version.py", line 200, in __init__
    match = self._regex.search(version)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'

2024-11-18T09:36:28.030363 - Prompt executed in 0.04 seconds
2024-11-18T09:39:03.502752 - Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
  File "asyncio\events.py", line 84, in _run
  File "asyncio\proactor_events.py", line 165, in _call_connection_lost
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
2024-11-18T09:40:35.994107 - got prompt
2024-11-18T09:40:35.997106 - OmniGen code already exists2024-11-18T09:40:35.997106 - 
2024-11-18T09:40:35.997106 - OmniGen models verified successfully2024-11-18T09:40:35.997106 - 
2024-11-18T09:40:36.035228 - !!! Exception during processing !!! module peft.tuners.lora has no attribute layer
2024-11-18T09:40:36.038227 - Traceback (most recent call last):
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\execution.py", line 289, in execute
    obj = class_def()
          ^^^^^^^^^^^
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\ailab_OmniGen.py", line 53, in __init__
    from OmniGen import OmniGenPipeline
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\__init__.py", line 4, in <module>
    from .pipeline import OmniGenPipeline
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\pipeline.py", line 10, in <module>
    from peft import LoraConfig, PeftModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\__init__.py", line 22, in <module>
    from .auto import (
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\auto.py", line 32, in <module>
    from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mapping.py", line 22, in <module>
    from .mixed_model import PeftMixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mixed_model.py", line 26, in <module>
    from peft.tuners.mixed import COMPATIBLE_TUNER_TYPES
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\__init__.py", line 32, in <module>
    from .mixed import MixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\mixed\__init__.py", line 15, in <module>
    from .model import COMPATIBLE_TUNER_TYPES, MixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\mixed\model.py", line 37, in <module>
    Layers = (lora.layer.LoraLayer, loha.layer.LoHaLayer, lokr.layer.LoKrLayer, adalora.layer.AdaLoraLayer, oft.OFTLayer)
              ^^^^^^^^^^
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\lora\__init__.py", line 42, in __getattr__
    raise AttributeError(f"module {__name__} has no attribute {name}")
AttributeError: module peft.tuners.lora has no attribute layer

2024-11-18T09:40:36.040227 - Prompt executed in 0.04 seconds
2024-11-18T09:40:40.901486 - got prompt
2024-11-18T09:40:40.909485 - Failed to validate prompt for output 9:
2024-11-18T09:40:40.909485 - * ailab_OmniGen 11:
2024-11-18T09:40:40.909485 -   - Value 0.0 smaller than min of 1.0: img_guidance_scale
2024-11-18T09:40:40.909485 -   - Value 0 smaller than min of 1: num_inference_steps
2024-11-18T09:40:40.909485 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:40:40.909485 -   - Value not in list: preset_prompt: '30yo man wear black suit looking at viewer' not in (list of length 31)
2024-11-18T09:40:40.910485 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:40:40.910485 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:40:40.910485 - * ailab_OmniGen 7:
2024-11-18T09:40:40.910485 -   - Value 0.0 smaller than min of 1.0: img_guidance_scale
2024-11-18T09:40:40.910485 -   - Value 0 smaller than min of 1: num_inference_steps
2024-11-18T09:40:40.910485 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:40:40.910485 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:40:40.910485 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:40:40.910485 - * ailab_OmniGen 8:
2024-11-18T09:40:40.910485 -   - Value 0.0 smaller than min of 1.0: img_guidance_scale
2024-11-18T09:40:40.911485 -   - Value 0 smaller than min of 1: num_inference_steps
2024-11-18T09:40:40.911485 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:40:40.911485 -   - Value not in list: preset_prompt: 'A woman from image_1 and a man from image_2 are sitting across from each other at a cozy coffee shop, each holding a cup of coffee and engaging in conversation.' not in (list of length 31)
2024-11-18T09:40:40.911485 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:40:40.911485 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:40:40.911485 - Output will be ignored
2024-11-18T09:40:40.911485 - Failed to validate prompt for output 3:
2024-11-18T09:40:40.911485 - Output will be ignored
2024-11-18T09:40:40.911485 - Failed to validate prompt for output 10:
2024-11-18T09:40:40.911485 - Output will be ignored
2024-11-18T09:40:40.912485 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2024-11-18T09:40:58.253805 - got prompt
2024-11-18T09:40:58.256804 - Failed to validate prompt for output 9:
2024-11-18T09:40:58.257804 - * ailab_OmniGen 7:
2024-11-18T09:40:58.257804 -   - Value 0.0 smaller than min of 1.0: img_guidance_scale
2024-11-18T09:40:58.257804 -   - Value 0 smaller than min of 1: num_inference_steps
2024-11-18T09:40:58.257804 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:40:58.257804 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:40:58.257804 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:40:58.257804 - * ailab_OmniGen 8:
2024-11-18T09:40:58.257804 -   - Value 0.0 smaller than min of 1.0: img_guidance_scale
2024-11-18T09:40:58.258803 -   - Value 0 smaller than min of 1: num_inference_steps
2024-11-18T09:40:58.258803 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:40:58.258803 -   - Value not in list: preset_prompt: 'the girl in image_1 sitting on rock on top of the mountain.' not in (list of length 31)
2024-11-18T09:40:58.258803 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:40:58.258803 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:40:58.258803 - Output will be ignored
2024-11-18T09:40:58.258803 - Failed to validate prompt for output 3:
2024-11-18T09:40:58.258803 - Output will be ignored
2024-11-18T09:40:58.258803 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2024-11-18T09:41:14.917837 - got prompt
2024-11-18T09:41:15.037352 - Failed to validate prompt for output 9:
2024-11-18T09:41:15.037352 - * ailab_OmniGen 7:
2024-11-18T09:41:15.038352 -   - Value 0.0 smaller than min of 1.0: img_guidance_scale
2024-11-18T09:41:15.038352 -   - Value 0 smaller than min of 1: num_inference_steps
2024-11-18T09:41:15.038352 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:41:15.038352 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:41:15.039352 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:41:15.039352 - * ailab_OmniGen 8:
2024-11-18T09:41:15.040351 -   - Value 0.0 smaller than min of 1.0: img_guidance_scale
2024-11-18T09:41:15.041351 -   - Value 0 smaller than min of 1: num_inference_steps
2024-11-18T09:41:15.041351 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:41:15.042351 -   - Value not in list: preset_prompt: 'the girl in image_1 sitting on rock on top of the mountain.' not in (list of length 31)
2024-11-18T09:41:15.042351 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:41:15.042351 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:41:15.043351 - Output will be ignored
2024-11-18T09:41:15.043351 - Failed to validate prompt for output 3:
2024-11-18T09:41:15.043351 - Output will be ignored
2024-11-18T09:41:15.044351 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2024-11-18T09:41:26.109694 - got prompt
2024-11-18T09:41:26.194207 - Failed to validate prompt for output 9:
2024-11-18T09:41:26.194207 - * ailab_OmniGen 7:
2024-11-18T09:41:26.194207 -   - Value 0.0 smaller than min of 1.0: img_guidance_scale
2024-11-18T09:41:26.195207 -   - Value 0 smaller than min of 1: num_inference_steps
2024-11-18T09:41:26.195316 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:41:26.195316 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:41:26.195316 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:41:26.195316 - * ailab_OmniGen 8:
2024-11-18T09:41:26.195316 -   - Value 0.0 smaller than min of 1.0: img_guidance_scale
2024-11-18T09:41:26.195316 -   - Value 0 smaller than min of 1: num_inference_steps
2024-11-18T09:41:26.197207 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:41:26.198211 -   - Value not in list: preset_prompt: 'the girl in image_1 sitting on rock on top of the mountain.' not in (list of length 31)
2024-11-18T09:41:26.198211 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:41:26.198211 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:41:26.199208 - Output will be ignored
2024-11-18T09:41:26.199208 - Failed to validate prompt for output 3:
2024-11-18T09:41:26.199208 - Output will be ignored
2024-11-18T09:41:26.200207 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2024-11-18T09:41:42.613093 - got prompt
2024-11-18T09:41:42.680104 - Failed to validate prompt for output 9:
2024-11-18T09:41:42.680104 - * ailab_OmniGen 7:
2024-11-18T09:41:42.680104 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:41:42.680104 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:41:42.680104 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:41:42.680104 - * ailab_OmniGen 8:
2024-11-18T09:41:42.681105 -   - Value 0.0 smaller than min of 1.0: img_guidance_scale
2024-11-18T09:41:42.681105 -   - Value 0 smaller than min of 1: num_inference_steps
2024-11-18T09:41:42.681105 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:41:42.681105 -   - Value not in list: preset_prompt: 'the girl in image_1 sitting on rock on top of the mountain.' not in (list of length 31)
2024-11-18T09:41:42.682104 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:41:42.682104 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:41:42.682104 - Output will be ignored
2024-11-18T09:41:42.682104 - Failed to validate prompt for output 3:
2024-11-18T09:41:42.682104 - Output will be ignored
2024-11-18T09:41:42.682104 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2024-11-18T09:41:54.141218 - got prompt
2024-11-18T09:41:54.229730 - Failed to validate prompt for output 9:
2024-11-18T09:41:54.229730 - * ailab_OmniGen 7:
2024-11-18T09:41:54.229730 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:41:54.229730 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:41:54.230732 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:41:54.230732 - * ailab_OmniGen 8:
2024-11-18T09:41:54.230732 -   - Value 0.0 smaller than min of 1.0: img_guidance_scale
2024-11-18T09:41:54.231732 -   - Value 0 smaller than min of 1: num_inference_steps
2024-11-18T09:41:54.232731 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:41:54.233730 -   - Value not in list: preset_prompt: 'the girl in image_1 sitting on rock on top of the mountain.' not in (list of length 31)
2024-11-18T09:41:54.233730 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:41:54.234731 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:41:54.234731 - Output will be ignored
2024-11-18T09:41:54.234731 - Failed to validate prompt for output 3:
2024-11-18T09:41:54.235731 - Output will be ignored
2024-11-18T09:41:54.235731 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2024-11-18T09:42:19.861356 - got prompt
2024-11-18T09:42:19.991390 - Failed to validate prompt for output 9:
2024-11-18T09:42:19.991390 - * ailab_OmniGen 7:
2024-11-18T09:42:19.992390 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:42:19.992390 - * ailab_OmniGen 8:
2024-11-18T09:42:19.992390 -   - Value 0.0 smaller than min of 1.0: img_guidance_scale
2024-11-18T09:42:19.992390 -   - Value 0 smaller than min of 1: num_inference_steps
2024-11-18T09:42:19.993390 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:42:19.993390 -   - Value not in list: preset_prompt: 'the girl in image_1 sitting on rock on top of the mountain.' not in (list of length 31)
2024-11-18T09:42:19.993390 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:42:19.993390 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:42:19.993390 - Output will be ignored
2024-11-18T09:42:19.994390 - Failed to validate prompt for output 3:
2024-11-18T09:42:19.994390 - Output will be ignored
2024-11-18T09:42:19.994390 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2024-11-18T09:42:59.005995 - got prompt
2024-11-18T09:42:59.090508 - Failed to validate prompt for output 9:
2024-11-18T09:42:59.090508 - * ailab_OmniGen 8:
2024-11-18T09:42:59.091508 -   - Value 0.0 smaller than min of 1.0: img_guidance_scale
2024-11-18T09:42:59.091508 -   - Value 0 smaller than min of 1: num_inference_steps
2024-11-18T09:42:59.091508 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:42:59.091508 -   - Value not in list: preset_prompt: 'the girl in image_1 sitting on rock on top of the mountain.' not in (list of length 31)
2024-11-18T09:42:59.091508 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:42:59.091508 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:42:59.091508 - Output will be ignored
2024-11-18T09:43:00.087522 - OmniGen code already exists2024-11-18T09:43:00.087522 - 
2024-11-18T09:43:00.088522 - OmniGen models verified successfully2024-11-18T09:43:00.088522 - 
2024-11-18T09:43:00.580659 - !!! Exception during processing !!! module peft.tuners.lora has no attribute layer
2024-11-18T09:43:00.581659 - Traceback (most recent call last):
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\execution.py", line 289, in execute
    obj = class_def()
          ^^^^^^^^^^^
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\ailab_OmniGen.py", line 53, in __init__
    from OmniGen import OmniGenPipeline
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\__init__.py", line 4, in <module>
    from .pipeline import OmniGenPipeline
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\pipeline.py", line 10, in <module>
    from peft import LoraConfig, PeftModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\__init__.py", line 22, in <module>
    from .auto import (
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\auto.py", line 32, in <module>
    from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mapping.py", line 22, in <module>
    from .mixed_model import PeftMixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mixed_model.py", line 26, in <module>
    from peft.tuners.mixed import COMPATIBLE_TUNER_TYPES
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\__init__.py", line 32, in <module>
    from .mixed import MixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\mixed\__init__.py", line 15, in <module>
    from .model import COMPATIBLE_TUNER_TYPES, MixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\mixed\model.py", line 37, in <module>
    Layers = (lora.layer.LoraLayer, loha.layer.LoHaLayer, lokr.layer.LoKrLayer, adalora.layer.AdaLoraLayer, oft.OFTLayer)
              ^^^^^^^^^^
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\lora\__init__.py", line 42, in __getattr__
    raise AttributeError(f"module {__name__} has no attribute {name}")
AttributeError: module peft.tuners.lora has no attribute layer

2024-11-18T09:43:00.582661 - Prompt executed in 1.49 seconds
2024-11-18T09:43:08.350016 - got prompt
2024-11-18T09:43:08.434532 - Failed to validate prompt for output 9:
2024-11-18T09:43:08.435542 - * ailab_OmniGen 8:
2024-11-18T09:43:08.435542 -   - Value 0.0 smaller than min of 1.0: img_guidance_scale
2024-11-18T09:43:08.435542 -   - Value 0 smaller than min of 1: num_inference_steps
2024-11-18T09:43:08.435542 -   - Value not in list: memory_management: '50' not in ['Balanced', 'Speed Priority', 'Memory Priority']
2024-11-18T09:43:08.435542 -   - Value not in list: preset_prompt: 'the girl in image_1 sitting on rock on top of the mountain.' not in (list of length 31)
2024-11-18T09:43:08.435542 -   - Value not in list: model_precision: '1.8' not in ['Auto', 'FP16', 'FP8']
2024-11-18T09:43:08.435542 -   - Failed to convert an input value to a INT value: height, fixed, invalid literal for int() with base 10: 'fixed'
2024-11-18T09:43:08.435542 - Output will be ignored
2024-11-18T09:43:08.533092 - OmniGen code already exists2024-11-18T09:43:08.533625 - 
2024-11-18T09:43:08.534628 - OmniGen models verified successfully2024-11-18T09:43:08.534628 - 
2024-11-18T09:43:08.540628 - !!! Exception during processing !!! module peft.tuners.lora has no attribute layer
2024-11-18T09:43:08.542628 - Traceback (most recent call last):
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\execution.py", line 289, in execute
    obj = class_def()
          ^^^^^^^^^^^
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\ailab_OmniGen.py", line 53, in __init__
    from OmniGen import OmniGenPipeline
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\__init__.py", line 4, in <module>
    from .pipeline import OmniGenPipeline
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\pipeline.py", line 10, in <module>
    from peft import LoraConfig, PeftModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\__init__.py", line 22, in <module>
    from .auto import (
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\auto.py", line 32, in <module>
    from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mapping.py", line 22, in <module>
    from .mixed_model import PeftMixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mixed_model.py", line 26, in <module>
    from peft.tuners.mixed import COMPATIBLE_TUNER_TYPES
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\__init__.py", line 32, in <module>
    from .mixed import MixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\mixed\__init__.py", line 15, in <module>
    from .model import COMPATIBLE_TUNER_TYPES, MixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\mixed\model.py", line 37, in <module>
    Layers = (lora.layer.LoraLayer, loha.layer.LoHaLayer, lokr.layer.LoKrLayer, adalora.layer.AdaLoraLayer, oft.OFTLayer)
              ^^^^^^^^^^
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\lora\__init__.py", line 42, in __getattr__
    raise AttributeError(f"module {__name__} has no attribute {name}")
AttributeError: module peft.tuners.lora has no attribute layer

2024-11-18T09:43:08.544893 - Prompt executed in 0.11 seconds
2024-11-18T09:43:28.383674 - got prompt
2024-11-18T09:43:28.465681 - Failed to validate prompt for output 3:
2024-11-18T09:43:28.465681 - * LoadImage 8:
2024-11-18T09:43:28.465681 -   - Custom validation failed for node: image - Invalid image file: test_empty.png
2024-11-18T09:43:28.465681 - Output will be ignored
2024-11-18T09:43:28.573354 - WARNING: [Errno 2] No such file or directory: 'D:\\AI\\2024\\ComfyUI_windows_portable\\ComfyUI\\input\\test_empty.png'
2024-11-18T09:43:28.581354 - Prompt executed in 0.11 seconds
2024-11-18T09:43:36.814749 - got prompt
2024-11-18T09:43:37.220821 - OmniGen code already exists2024-11-18T09:43:37.220821 - 
2024-11-18T09:43:37.221822 - OmniGen models verified successfully2024-11-18T09:43:37.221822 - 
2024-11-18T09:43:37.224821 - !!! Exception during processing !!! module peft.tuners.lora has no attribute layer
2024-11-18T09:43:37.224821 - Traceback (most recent call last):
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\execution.py", line 289, in execute
    obj = class_def()
          ^^^^^^^^^^^
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\ailab_OmniGen.py", line 53, in __init__
    from OmniGen import OmniGenPipeline
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\__init__.py", line 4, in <module>
    from .pipeline import OmniGenPipeline
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\pipeline.py", line 10, in <module>
    from peft import LoraConfig, PeftModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\__init__.py", line 22, in <module>
    from .auto import (
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\auto.py", line 32, in <module>
    from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mapping.py", line 22, in <module>
    from .mixed_model import PeftMixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mixed_model.py", line 26, in <module>
    from peft.tuners.mixed import COMPATIBLE_TUNER_TYPES
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\__init__.py", line 32, in <module>
    from .mixed import MixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\mixed\__init__.py", line 15, in <module>
    from .model import COMPATIBLE_TUNER_TYPES, MixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\mixed\model.py", line 37, in <module>
    Layers = (lora.layer.LoraLayer, loha.layer.LoHaLayer, lokr.layer.LoKrLayer, adalora.layer.AdaLoraLayer, oft.OFTLayer)
              ^^^^^^^^^^
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\lora\__init__.py", line 42, in __getattr__
    raise AttributeError(f"module {__name__} has no attribute {name}")
AttributeError: module peft.tuners.lora has no attribute layer

2024-11-18T09:43:37.226324 - Prompt executed in 0.28 seconds
2024-11-18T09:43:43.149898 - got prompt
2024-11-18T09:43:43.264909 - OmniGen code already exists2024-11-18T09:43:43.264909 - 
2024-11-18T09:43:43.264909 - OmniGen models verified successfully2024-11-18T09:43:43.265910 - 
2024-11-18T09:43:43.269412 - !!! Exception during processing !!! module peft.tuners.lora has no attribute layer
2024-11-18T09:43:43.269412 - Traceback (most recent call last):
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\execution.py", line 289, in execute
    obj = class_def()
          ^^^^^^^^^^^
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\ailab_OmniGen.py", line 53, in __init__
    from OmniGen import OmniGenPipeline
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\__init__.py", line 4, in <module>
    from .pipeline import OmniGenPipeline
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\pipeline.py", line 10, in <module>
    from peft import LoraConfig, PeftModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\__init__.py", line 22, in <module>
    from .auto import (
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\auto.py", line 32, in <module>
    from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mapping.py", line 22, in <module>
    from .mixed_model import PeftMixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mixed_model.py", line 26, in <module>
    from peft.tuners.mixed import COMPATIBLE_TUNER_TYPES
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\__init__.py", line 32, in <module>
    from .mixed import MixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\mixed\__init__.py", line 15, in <module>
    from .model import COMPATIBLE_TUNER_TYPES, MixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\mixed\model.py", line 37, in <module>
    Layers = (lora.layer.LoraLayer, loha.layer.LoHaLayer, lokr.layer.LoKrLayer, adalora.layer.AdaLoraLayer, oft.OFTLayer)
              ^^^^^^^^^^
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\lora\__init__.py", line 42, in __getattr__
    raise AttributeError(f"module {__name__} has no attribute {name}")
AttributeError: module peft.tuners.lora has no attribute layer

2024-11-18T09:43:43.270414 - Prompt executed in 0.05 seconds
2024-11-18T09:44:00.109707 - got prompt
2024-11-18T09:44:00.116707 - OmniGen code already exists2024-11-18T09:44:00.116707 - 
2024-11-18T09:44:00.117706 - OmniGen models verified successfully2024-11-18T09:44:00.117706 - 
2024-11-18T09:44:00.121707 - !!! Exception during processing !!! module peft.tuners.lora has no attribute layer
2024-11-18T09:44:00.122706 - Traceback (most recent call last):
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\execution.py", line 289, in execute
    obj = class_def()
          ^^^^^^^^^^^
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\ailab_OmniGen.py", line 53, in __init__
    from OmniGen import OmniGenPipeline
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\__init__.py", line 4, in <module>
    from .pipeline import OmniGenPipeline
  File "D:\AI\2024\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-OmniGen\OmniGen\pipeline.py", line 10, in <module>
    from peft import LoraConfig, PeftModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\__init__.py", line 22, in <module>
    from .auto import (
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\auto.py", line 32, in <module>
    from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mapping.py", line 22, in <module>
    from .mixed_model import PeftMixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\mixed_model.py", line 26, in <module>
    from peft.tuners.mixed import COMPATIBLE_TUNER_TYPES
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\__init__.py", line 32, in <module>
    from .mixed import MixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\mixed\__init__.py", line 15, in <module>
    from .model import COMPATIBLE_TUNER_TYPES, MixedModel
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\mixed\model.py", line 37, in <module>
    Layers = (lora.layer.LoraLayer, loha.layer.LoHaLayer, lokr.layer.LoKrLayer, adalora.layer.AdaLoraLayer, oft.OFTLayer)
              ^^^^^^^^^^
  File "D:\AI\2024\ComfyUI_windows_portable\python_embeded\Lib\site-packages\peft\tuners\lora\__init__.py", line 42, in __getattr__
    raise AttributeError(f"module {__name__} has no attribute {name}")
AttributeError: module peft.tuners.lora has no attribute layer

2024-11-18T09:44:00.124208 - Prompt executed in 0.01 seconds

Attached Workflow

Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

{"last_node_id":11,"last_link_id":13,"nodes":[{"id":3,"type":"PreviewImage","pos":[450,60],"size":[553.608642578125,826.3672485351562],"flags":{},"order":1,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":11,"label":"images"}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":9,"type":"PreviewImage","pos":[1430,60],"size":[516.1412353515625,824.7374267578125],"flags":{},"order":3,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":12,"label":"images"}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":10,"type":"ailab_OmniGen","pos":[33,60],"size":[400,428],"flags":{},"order":0,"mode":0,"inputs":[{"name":"image_1","type":"IMAGE","link":null,"shape":7,"label":"image_1"},{"name":"image_2","type":"IMAGE","link":null,"shape":7,"label":"image_2"},{"name":"image_3","type":"IMAGE","link":null,"shape":7,"label":"image_3"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[11,13],"slot_index":0,"label":"IMAGE"}],"properties":{"Node name for S&R":"ailab_OmniGen"},"widgets_values":["20yo woman looking at viewer","","Auto","Balanced",3.5,1.8,50,true,false,512,512,646271458405100,"randomize",1024,true]},{"id":11,"type":"ailab_OmniGen","pos":[1013,60],"size":[400,428],"flags":{},"order":2,"mode":0,"inputs":[{"name":"image_1","type":"IMAGE","link":13,"shape":7,"label":"image_1"},{"name":"image_2","type":"IMAGE","link":null,"shape":7,"label":"image_2"},{"name":"image_3","type":"IMAGE","link":null,"shape":7,"label":"image_3"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[12],"slot_index":0,"label":"IMAGE"}],"properties":{"Node name for S&R":"ailab_OmniGen"},"widgets_values":["The girl in image_1 sitting on rock on top of the mountain (image_1)","","Auto","Balanced",3.5,1.8,50,true,false,512,512,888977569662213,"randomize",1024,true]}],"links":[[11,10,0,3,0,"IMAGE"],[12,11,0,9,0,"IMAGE"],[13,10,0,11,0,"IMAGE"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.7972024500000005,"offset":[374.66699148023116,387.7712732225295]}},"version":0.4}

Additional Context

(Please add any additional context or steps to reproduce the error here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant