kijai / ComfyUI-FollowYourEmojiWrapper

Diffusers wrapper for FollowYourEmoji
47 stars 1 forks source link

is_accelerate_available is not defined #6

Open sudeep333 opened 2 weeks ago

sudeep333 commented 2 weeks ago

Error occurred when executing DownloadAndLoadFYEModel:

name 'is_accelerate_available' is not defined

File "D:\Stable Diffusion\ComfyUI_windows_portable_nvidia_Emoji\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, 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 "D:\Stable Diffusion\ComfyUI_windows_portable_nvidia_Emoji\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, 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 "D:\Stable Diffusion\ComfyUI_windows_portable_nvidia_Emoji\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\Stable Diffusion\ComfyUI_windows_portable_nvidia_Emoji\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Stable Diffusion\ComfyUI_windows_portable_nvidia_Emoji\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-FollowYourEmojiWrapper\nodes.py", line 95, in loadmodel with (init_empty_weights() if is_accelerate_available else nullcontext()): ^^^^^^^^^^^^^^^^^^^^^^^

sudeep333 commented 2 weeks ago

for Gitr