min() arg is an empty sequence
Has anyone encountered a similar problem?
!!! Exception during processing !!! min() arg is an empty sequence
Traceback (most recent call last):
File "D:\AIStudio\ComfyUI_windows_portable\ComfyUI\execution.py", line 524, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
File "D:\AIStudio\ComfyUI_windows_portable\ComfyUI\execution.py", line 333, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
File "D:\AIStudio\ComfyUI_windows_portable\ComfyUI\execution.py", line 307, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "D:\AIStudio\ComfyUI_windows_portable\ComfyUI\execution.py", line 295, in process_inputs
result = f(**inputs)
File "D:\AIStudio\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LTXVideo\gemma_encoder.py", line 676, in enhance
clip.load_model()
File "D:\AIStudio\ComfyUI_windows_portable\ComfyUI\comfy\sd.py", line 419, in load_model
memory_used = self.cond_stage_model.memory_estimation_function(tokens, device=self.patcher.load_device)
File "D:\AIStudio\ComfyUI_windows_portable\ComfyUI\comfy\text_encoders\lt.py", line 203, in memory_estimation_function
m = min([sum(1 for _ in itertools.takewhile(lambda x: x[0] == 0, sub)) for sub in token_weight_pairs])
ValueError: min() arg is an empty sequence
ComfyUI 0.15.1 and ComfyUI_frontend v1.39.19 and ComfyUI-LTXVideo is the latest.