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

Error with Pulid 1.1 model #117

Open
SUP3RMASS1VE opened this issue Dec 2, 2024 · 1 comment
Open

Error with Pulid 1.1 model #117

SUP3RMASS1VE opened this issue Dec 2, 2024 · 1 comment

Comments

@SUP3RMASS1VE
Copy link

ComfyUI Error Report

Error Details

  • Node ID: 45
  • Node Type: PulidFluxModelLoader
  • Exception Type: AttributeError
  • Exception Message: 'PulidFluxModel' object has no attribute 'id_adapter'

Stack Trace

  File "F:\pinokio\api\comfy.git\app\execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

  File "F:\pinokio\api\comfy.git\app\execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

  File "F:\pinokio\api\comfy.git\app\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "F:\pinokio\api\comfy.git\app\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))

  File "F:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-PuLID-Flux-Enhanced\pulidflux.py", line 234, in load_model
    model.from_pretrained(path=model_path)

  File "F:\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-PuLID-Flux-Enhanced\pulidflux.py", line 61, in from_pretrained
    getattr(self, module).load_state_dict(state_dict_dict[module], strict=True)

  File "F:\pinokio\api\comfy.git\app\env\lib\site-packages\torch\nn\modules\module.py", line 1729, in __getattr__
    raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'")
@zhangp365
Copy link

hi, you use the flux node not in this repo to load a sdxl version model.

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

2 participants