TinyTerra / ComfyUI_tinyterraNodes

A selection of nodes for Stable Diffusion ComfyUI
GNU General Public License v3.0
332 stars 39 forks source link

object has no attribute 'cpu' #121

Closed zrll12 closed 1 month ago

zrll12 commented 1 month ago

I'm running node 'hiresfiixScale - Node Version Mismatch' using a MacBook Pro with m2max Error:

!!! Exception during processing!!! 'ImageModelDescriptor' object has no attribute 'cpu'
Traceback (most recent call last):
  File "/Users/zrll/Documents/ComfyUI/execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
  File "/Users/zrll/Documents/ComfyUI/execution.py", line 81, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
  File "/Users/zrll/Documents/ComfyUI/execution.py", line 74, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
  File "/Users/zrll/Documents/ComfyUI/custom_nodes/ComfyUI_tinyterraNodes/ttNpy/tinyterraNodes.py", line 3309, in upscale
    upscale_model.cpu()
AttributeError: 'ImageModelDescriptor' object has no attribute 'cpu'
zrll12 commented 1 month ago

I'm using the least commit in main

TinyTerra commented 1 month ago

The node version mismatch in the name indicates that the node needs to be remade, if you delete it and add a new version of the same node does the error still occur?

zrll12 commented 1 month ago

Still occurs

TinyTerra commented 1 month ago

This should be fixed in the latest push, please let me know if not :)

zrll12 commented 1 month ago

It seems to be fixed