ERROR:root:!!! Exception during processing !!!
ERROR:root:Traceback (most recent call last):
File "E:\IMAGE\ComfyUI-aki-v1\execution.py", line 155, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "E:\IMAGE\ComfyUI-aki-v1\execution.py", line 85, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "E:\IMAGE\ComfyUI-aki-v1\execution.py", line 69, in map_node_over_list
results.append(getattr(obj, func)(input_data_all))
File "E:\IMAGE\ComfyUI-aki-v1\custom_nodes\comfyui-mixlab-nodes\nodes\TextGenerateNode.py", line 292, in run
prompt =text_generate(text_pipe,t,seed)
File "E:\IMAGE\ComfyUI-aki-v1\custom_nodes\comfyui-mixlab-nodes\nodes\TextGenerateNode.py", line 84, in text_generate
sequences = text_pipe(input, max_length=random.randint(60, 90), num_return_sequences=8)
File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\transformers\pipelines\text_generation.py", line 210, in call
return super().call(text_inputs, kwargs)
File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\transformers\pipelines\base.py", line 1084, in call
return self.run_single(inputs, preprocess_params, forward_params, postprocess_params)
File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\transformers\pipelines\base.py", line 1091, in run_single
model_outputs = self.forward(model_inputs, **forward_params)
File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\transformers\pipelines\base.py", line 984, in forward
with self.device_placement():
File "E:\IMAGE\ComfyUI-aki-v1\python\lib\contextlib.py", line 135, in enter
return next(self.gen)
File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\transformers\pipelines\base.py", line 871, in device_placement
torch.cuda.set_device(self.device)
File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\torch\cuda__init__.py", line 402, in set_device
device = _get_device_index(device)
File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\torch\cuda_utils.py", line 39, in _get_device_index
return _torch_get_device_index(device, optional, allow_cpu)
File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\torch_utils.py", line 787, in _get_device_index
raise ValueError(
ValueError: Expected a torch.device with a specified index or an integer, but got:cuda
ERROR:root:!!! Exception during processing !!! ERROR:root:Traceback (most recent call last): File "E:\IMAGE\ComfyUI-aki-v1\execution.py", line 155, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "E:\IMAGE\ComfyUI-aki-v1\execution.py", line 85, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "E:\IMAGE\ComfyUI-aki-v1\execution.py", line 69, in map_node_over_list results.append(getattr(obj, func)(input_data_all)) File "E:\IMAGE\ComfyUI-aki-v1\custom_nodes\comfyui-mixlab-nodes\nodes\TextGenerateNode.py", line 292, in run prompt =text_generate(text_pipe,t,seed) File "E:\IMAGE\ComfyUI-aki-v1\custom_nodes\comfyui-mixlab-nodes\nodes\TextGenerateNode.py", line 84, in text_generate sequences = text_pipe(input, max_length=random.randint(60, 90), num_return_sequences=8) File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\transformers\pipelines\text_generation.py", line 210, in call return super().call(text_inputs, kwargs) File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\transformers\pipelines\base.py", line 1084, in call return self.run_single(inputs, preprocess_params, forward_params, postprocess_params) File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\transformers\pipelines\base.py", line 1091, in run_single model_outputs = self.forward(model_inputs, **forward_params) File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\transformers\pipelines\base.py", line 984, in forward with self.device_placement(): File "E:\IMAGE\ComfyUI-aki-v1\python\lib\contextlib.py", line 135, in enter return next(self.gen) File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\transformers\pipelines\base.py", line 871, in device_placement torch.cuda.set_device(self.device) File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\torch\cuda__init__.py", line 402, in set_device device = _get_device_index(device) File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\torch\cuda_utils.py", line 39, in _get_device_index return _torch_get_device_index(device, optional, allow_cpu) File "E:\IMAGE\ComfyUI-aki-v1\python\lib\site-packages\torch_utils.py", line 787, in _get_device_index raise ValueError( ValueError: Expected a torch.device with a specified index or an integer, but got:cuda