-
Notifications
You must be signed in to change notification settings - Fork 150
Description
Checklist
- 1. I have searched for related issues and FAQs (https://github.com/nunchaku-tech/nunchaku/blob/main/docs/faq.md) but was unable to find a solution.
- 2. The issue persists in the latest version.
- 3. Please note that without environment information and a minimal reproducible example, it will be difficult for us to reproduce and address the issue, which may delay our response.
- 4. If your report is a question rather than a bug, please submit it as a discussion at https://github.com/nunchaku-tech/ComfyUI-nunchaku/discussions/new/choose. Otherwise, this issue will be closed.
- 5. I will do my best to describe the issue in English.
Describe the Bug
File "L:\AIgongju\ComfyUI-aki-v1.1\execution.py", line 303, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "L:\AIgongju\ComfyUI-aki-v1.1\execution.py", line 291, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "L:\AIgongju\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-nunchaku\nodes\lora\flux.py", line 117, in load_lora
ret_model = copy.deepcopy(model) # copy everything except the model
^^^^^^^^^^^^^^^^^^^^
File "L:\AIgongju\ComfyUI-aki-v1.1\python\Lib\copy.py", line 162, in deepcopy
y = _reconstruct(x, memo, *rv)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "L:\AIgongju\ComfyUI-aki-v1.1\python\Lib\copy.py", line 259, in _reconstruct
state = deepcopy(state, memo)
^^^^^^^^^^^^^^^^^^^^^
File "L:\AIgongju\ComfyUI-aki-v1.1\python\Lib\copy.py", line 136, in deepcopy
y = copier(x, memo)
^^^^^^^^^^^^^^^
File "L:\AIgongju\ComfyUI-aki-v1.1\python\Lib\copy.py", line 221, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
^^^^^^^^^^^^^^^^^^^^^
File "L:\AIgongju\ComfyUI-aki-v1.1\python\Lib\copy.py", line 162, in deepcopy
y = _reconstruct(x, memo, *rv)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "L:\AIgongju\ComfyUI-aki-v1.1\python\Lib\copy.py", line 259, in _reconstruct
state = deepcopy(state, memo)
^^^^^^^^^^^^^^^^^^^^^
File "L:\AIgongju\ComfyUI-aki-v1.1\python\Lib\copy.py", line 136, in deepcopy
y = copier(x, memo)
^^^^^^^^^^^^^^^
File "L:\AIgongju\ComfyUI-aki-v1.1\python\Lib\copy.py", line 221, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
^^^^^^^^^^^^^^^^^^^^^
File "L:\AIgongju\ComfyUI-aki-v1.1\python\Lib\copy.py", line 162, in deepcopy
y = _reconstruct(x, memo, *rv)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "L:\AIgongju\ComfyUI-aki-v1.1\python\Lib\copy.py", line 261, in _reconstruct
y.setstate(state)
TypeError: 'NoneType' object is not callable
Prompt executed in 38.06 seconds
Exception ignored in: <function ModelPatcher.del at 0x00000290101105E0>
Traceback (most recent call last):
File "L:\AIgongju\ComfyUI-aki-v1.1\comfy\model_patcher.py", line 1354, in del
self.unpin_all_weights()
File "L:\AIgongju\ComfyUI-aki-v1.1\comfy\model_patcher.py", line 651, in unpin_all_weights
for key in list(self.pinned):
^^^^^^^^^^^
AttributeError: 'ModelPatcher' object has no attribute 'pinned'
Environment
Python version: 3.12.12 pytorch version: 2.9.1+cu130