Open M77777777777777777777777777 opened 1 week ago
把with torch.amp.autocast_mode.autocast(device_type, enabled=True): 修改为 with torch.amp.autocast_mode.autocast(joy_two_pipeline.load_device.type, enabled=True): 应该有两处地方需要修改
谢谢你,但是我还是想问下,改的这个文件路径是在哪
谢谢你,我找到了对应的文件位置,他在custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py中。我修改了他。随后重启仍然报错,以下是报错内容,大佬救救我。
Exception Message: probability tensor contains either inf
, nan
or element < 0
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 399, in generate
generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask,
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate
result = self._sample(
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample
next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1)
## System Information
- **ComfyUI Version:** v0.2.2
- **Arguments:** D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\main.py --auto-launch --preview-method auto --disable-cuda-malloc
- **OS:** nt
- **Python Version:** 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
- **Embedded Python:** false
- **PyTorch Version:** 2.3.1+cu121
## Devices
- **Name:** cuda:0 NVIDIA GeForce RTX 4080 SUPER : cudaMallocAsync
- **Type:** cuda
- **VRAM Total:** 17170956288
- **VRAM Free:** 8152926792
- **Torch VRAM Total:** 7818182656
- **Torch VRAM Free:** 291752520
## Logs
2024-10-14 13:30:59,215 - root - INFO - Total VRAM 16376 MB, total RAM 32581 MB 2024-10-14 13:30:59,216 - root - INFO - pytorch version: 2.3.1+cu121 2024-10-14 13:31:00,339 - root - INFO - xformers version: 0.0.27 2024-10-14 13:31:00,339 - root - INFO - Set vram state to: NORMAL_VRAM 2024-10-14 13:31:00,339 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4080 SUPER : cudaMallocAsync 2024-10-14 13:31:00,485 - root - INFO - Using xformers cross attention 2024-10-14 13:31:01,273 - root - INFO - [Prompt Server] web root: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\web 2024-10-14 13:31:04,291 - numexpr.utils - INFO - Note: NumExpr detected 28 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. 2024-10-14 13:31:04,291 - numexpr.utils - INFO - NumExpr defaulting to 8 threads. 2024-10-14 13:31:05,679 - root - INFO - Total VRAM 16376 MB, total RAM 32581 MB 2024-10-14 13:31:05,679 - root - INFO - pytorch version: 2.3.1+cu121 2024-10-14 13:31:05,680 - root - INFO - xformers version: 0.0.27 2024-10-14 13:31:05,680 - root - INFO - Set vram state to: NORMAL_VRAM 2024-10-14 13:31:05,680 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4080 SUPER : cudaMallocAsync 2024-10-14 13:31:07,023 - root - INFO - -------------- 2024-10-14 13:31:07,024 - root - INFO - [91m ### Mixlab Nodes: [93mLoaded 2024-10-14 13:31:07,025 - root - INFO - ChatGPT.available True 2024-10-14 13:31:07,025 - root - INFO - editmask.available True 2024-10-14 13:31:07,029 - root - INFO - LaMaInpainting.available True 2024-10-14 13:31:07,573 - root - INFO - ClipInterrogator.available True 2024-10-14 13:31:07,574 - root - INFO - PromptGenerate.available True 2024-10-14 13:31:07,574 - root - INFO - ChinesePrompt.available True 2024-10-14 13:31:07,574 - root - INFO - RembgNode.available True 2024-10-14 13:31:08,080 - root - INFO - TripoSR.available 2024-10-14 13:31:08,080 - root - INFO - [93m -------------- [0m 2024-10-14 13:31:14,983 - albumentations.check_version - INFO - A new version of Albumentations is available: 1.4.18 (you have 1.4.13). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1. 2024-10-14 13:31:19,463 - root - INFO - Import times for custom nodes: 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\websocket_image_save.py 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\AIGODLIKE-ComfyUI-Translation 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Molmo-master 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\sdxl_prompt_styler 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui-workspace-manager 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui_fk_server 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\cg-use-everywhere 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\sd-dynamic-thresholding 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ControlNet-LLLite-ComfyUI 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_ADV_CLIP_emb 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-BRIA_AI-RMBG 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_TiledKSampler 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-WD14-Tagger 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_Text_Translation 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\PowerNoiseSuite 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_FizzNodes 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\images-grid-comfy-plugin 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_essentials 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\Comfyui-ergouzi-kaiguan 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Custom-Scripts 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_IPAdapter_plus 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Frame-Interpolation 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_UltimateSDUpscale 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Advanced-ControlNet 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\rgthree-comfy 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Kolors-MZ 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-VideoHelperSuite 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\efficiency-nodes-comfyui 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_Comfyroll_CustomNodes 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-KJNodes 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\Derfuu_ComfyUI_ModdedNodes 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Marigold 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-AnimateDiff-Evolved 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Inspire-Pack 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui_controlnet_aux 2024-10-14 13:31:19,464 - root - INFO - 0.1 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\PuLID_ComfyUI 2024-10-14 13:31:19,464 - root - INFO - 0.1 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui_segment_anything 2024-10-14 13:31:19,464 - root - INFO - 0.3 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Manager 2024-10-14 13:31:19,464 - root - INFO - 0.4 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Easy-Use 2024-10-14 13:31:19,464 - root - INFO - 0.4 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Impact-Pack 2024-10-14 13:31:19,464 - root - INFO - 0.8 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_InstantID 2024-10-14 13:31:19,464 - root - INFO - 2.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui-mixlab-nodes 2024-10-14 13:31:19,464 - root - INFO - 2.9 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui-dynamicprompts 2024-10-14 13:31:19,464 - root - INFO - 4.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\was-node-suite-comfyui 2024-10-14 13:31:19,464 - root - INFO - 6.1 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_Custom_Nodes_AlekPet 2024-10-14 13:31:19,464 - root - INFO - 2024-10-14 13:31:19,475 - root - INFO -
2024-10-14 13:31:19,475 - root - INFO -
Starting server
2024-10-14 13:31:19,476 - root - INFO - [93mTo see the GUI go to: http://192.168.1.3:8188 or http://127.0.0.1:8188
2024-10-14 13:31:19,476 - root - INFO - [93mTo see the GUI go to: https://192.168.1.3:8189 or https://127.0.0.1:8189[0m
2024-10-14 13:31:28,662 - root - INFO - got prompt
2024-10-14 13:31:32,751 - root - INFO - Requested to load SiglipVisionTransformer
2024-10-14 13:31:32,751 - root - INFO - Loading 1 new model
2024-10-14 13:31:32,884 - root - INFO - loaded completely 0.0 809.1729736328125 True
2024-10-14 13:31:33,248 - root - INFO - Requested to load ImageAdapter
2024-10-14 13:31:33,248 - root - INFO - Loading 1 new model
2024-10-14 13:31:33,261 - root - INFO - loaded completely 0.0 82.078125 True
2024-10-14 13:31:43,812 - root - ERROR - !!! Exception during processing !!! probability tensor contains either inf
, nan
or element < 0
2024-10-14 13:31:43,814 - root - ERROR - Traceback (most recent call last):
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(*inputs))
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 399, in generate
generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask,
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(args, **kwargs)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate
result = self._sample(
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample
next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1)
RuntimeError: probability tensor contains either inf
, nan
or element < 0
2024-10-14 13:31:43,814 - root - INFO - Prompt executed in 15.10 seconds
2024-10-14 13:32:22,861 - root - INFO - got prompt
2024-10-14 13:32:23,496 - root - ERROR - !!! Exception during processing !!! probability tensor contains either inf
, nan
or element < 0
2024-10-14 13:32:23,497 - root - ERROR - Traceback (most recent call last):
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(*inputs))
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 399, in generate
generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask,
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(args, **kwargs)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate
result = self._sample(
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample
next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1)
RuntimeError: probability tensor contains either inf
, nan
or element < 0
2024-10-14 13:32:23,499 - root - INFO - Prompt executed in 0.61 seconds
2024-10-14 13:32:35,020 - root - INFO - got prompt
2024-10-14 13:32:35,512 - root - ERROR - !!! Exception during processing !!! probability tensor contains either inf
, nan
or element < 0
2024-10-14 13:32:35,513 - root - ERROR - Traceback (most recent call last):
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(*inputs))
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 399, in generate
generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask,
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(args, **kwargs)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate
result = self._sample(
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample
next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1)
RuntimeError: probability tensor contains either inf
, nan
or element < 0
2024-10-14 13:32:35,514 - root - INFO - Prompt executed in 0.46 seconds
2024-10-14 13:32:41,996 - root - INFO - got prompt
2024-10-14 13:32:42,465 - root - ERROR - !!! Exception during processing !!! probability tensor contains either inf
, nan
or element < 0
2024-10-14 13:32:42,466 - root - ERROR - Traceback (most recent call last):
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(*inputs))
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 399, in generate
generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask,
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(args, **kwargs)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate
result = self._sample(
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample
next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1)
RuntimeError: probability tensor contains either inf
, nan
or element < 0
2024-10-14 13:32:42,468 - root - INFO - Prompt executed in 0.44 seconds
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{"last_node_id":9,"last_link_id":7,"nodes":[{"id":4,"type":"ShowText|pysssss","pos":{"0":581.449462890625,"1":350.5355224609375},"size":{"0":300,"1":220},"flags":{},"order":3,"mode":0,"inputs":[{"name":"text","type":"STRING","link":3,"widget":{"name":"text"},"label":"文本"}],"outputs":[{"name":"STRING","type":"STRING","links":null,"shape":6,"label":"字符串"}],"properties":{"Node name for S&R":"ShowText|pysssss"},"widgets_values":["","This photograph captures a young Asian woman with long, wavy black hair cascading over her shoulders, set against a softly blurred, green, natural background. She has fair, smooth skin and delicate features, with a subtle smile and soft, expressive eyes. She is wearing a white, sleeveless lace dress with intricate floral patterns, the fabric appearing light and airy. The lighting is soft and natural, highlighting her serene and ethereal beauty. Her hair is styled in loose waves, framing her face and adding a sense of movement and elegance. The background, with its out-of-focus foliage, suggests an outdoor setting, possibly a garden or park, bathed in gentle sunlight. The overall mood of the image is peaceful and dreamlike, emphasizing the subject's natural beauty and grace. The photograph is credited to \"COSMID\" in the lower right corner."]},{"id":1,"type":"Joy_caption_two","pos":{"0":577.449462890625,"1":177.5354766845703},"size":{"0":315,"1":126},"flags":{},"order":2,"mode":0,"inputs":[{"name":"joy_two_pipeline","type":"JoyTwoPipeline","link":1,"label":"JoyCaptionTwo"},{"name":"image","type":"IMAGE","link":2,"label":"图像"}],"outputs":[{"name":"STRING","type":"STRING","links":[3],"slot_index":0,"label":"提示词"}],"properties":{"Node name for S&R":"Joy_caption_two"},"widgets_values":["Descriptive","140",false]},{"id":3,"type":"LoadImage","pos":{"0":199.44940185546875,"1":279.5355224609375},"size":{"0":350.9436950683594,"1":314},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[2],"label":"图像"},{"name":"MASK","type":"MASK","links":null,"label":"遮罩"}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["ComfyUI_temp_jpuoa00007.png","image"]},{"id":2,"type":"Joy_caption_two_load","pos":{"0":194.44940185546875,"1":173.5354766845703},"size":{"0":357.947265625,"1":58},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"JoyTwoPipeline","type":"JoyTwoPipeline","links":[1],"label":"JoyCaptionTwo"}],"properties":{"Node name for S&R":"Joy_caption_two_load"},"widgets_values":["unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit"]}],"links":[[1,2,0,1,0,"JoyTwoPipeline"],[2,3,0,1,1,"IMAGE"],[3,1,0,4,0,"STRING"]],"groups":[{"title":"高级版本","bounding":[938,71,1187,654],"color":"#3f789e","font_size":22,"flags":{}},{"title":"默认版本","bounding":[185,103,730,516],"color":"#3f789e","font_size":22,"flags":{}}],"config":{},"extra":{"ds":{"scale":0.9646149645000011,"offset":[385.69451096921205,318.2802038048433]}},"version":0.4}
## Additional Context
(Please add any additional context or steps to reproduce the error here)
load torch_dtype的时候 使用torch_dtype=torch.bfloat16
torch.bfloat16
load torch_dtype的时候 使用torch_dtype=torch.bfloat16
OK,我在红框标注的位置,将torch_dtype=self.type修改为torch_dtype=torch.bfloat16,这次修改了三个位置。因为我不懂代码,我不知道这样操作是否正确,重启comfyui后依旧报错probability tensor contains either inf, nan or element < 0。
torch.bfloat16
load torch_dtype的时候 使用torch_dtype=torch.bfloat16
OK,我在红框标注的位置,将torch_dtype=self.type修改为torch_dtype=torch.bfloat16,这次修改了三个位置。因为我不懂代码,我不知道这样操作是否正确,重启comfyui后依旧报错probability tensor contains either inf, nan or element < 0。
额,我放弃了 自己重新基于源码写了一个node
谢谢你,我找到了对应的文件位置,他在custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py中。我修改了他。随后重启仍然报错,以下是报错内容,大佬救救我。
ComfyUI Error Report
Error Details
- Node Type: Joy_caption_two
- Exception Type: RuntimeError
- Exception Message: probability tensor contains either
inf
,nan
or element < 0Stack Trace
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 399, in generate generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask, File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate result = self._sample( File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1)
System Information
- ComfyUI Version: v0.2.2
- Arguments: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\main.py --auto-launch --preview-method auto --disable-cuda-malloc
- OS: nt
- Python Version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
- Embedded Python: false
- PyTorch Version: 2.3.1+cu121
Devices
Name: cuda:0 NVIDIA GeForce RTX 4080 SUPER : cudaMallocAsync
- Type: cuda
- VRAM Total: 17170956288
- VRAM Free: 8152926792
- Torch VRAM Total: 7818182656
- Torch VRAM Free: 291752520
Logs
2024-10-14 13:30:59,215 - root - INFO - Total VRAM 16376 MB, total RAM 32581 MB 2024-10-14 13:30:59,216 - root - INFO - pytorch version: 2.3.1+cu121 2024-10-14 13:31:00,339 - root - INFO - xformers version: 0.0.27 2024-10-14 13:31:00,339 - root - INFO - Set vram state to: NORMAL_VRAM 2024-10-14 13:31:00,339 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4080 SUPER : cudaMallocAsync 2024-10-14 13:31:00,485 - root - INFO - Using xformers cross attention 2024-10-14 13:31:01,273 - root - INFO - [Prompt Server] web root: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\web 2024-10-14 13:31:04,291 - numexpr.utils - INFO - Note: NumExpr detected 28 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. 2024-10-14 13:31:04,291 - numexpr.utils - INFO - NumExpr defaulting to 8 threads. 2024-10-14 13:31:05,679 - root - INFO - Total VRAM 16376 MB, total RAM 32581 MB 2024-10-14 13:31:05,679 - root - INFO - pytorch version: 2.3.1+cu121 2024-10-14 13:31:05,680 - root - INFO - xformers version: 0.0.27 2024-10-14 13:31:05,680 - root - INFO - Set vram state to: NORMAL_VRAM 2024-10-14 13:31:05,680 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4080 SUPER : cudaMallocAsync 2024-10-14 13:31:07,023 - root - INFO - -------------- 2024-10-14 13:31:07,024 - root - INFO - �[91m ### Mixlab Nodes: �[93mLoaded 2024-10-14 13:31:07,025 - root - INFO - ChatGPT.available True 2024-10-14 13:31:07,025 - root - INFO - edit_mask.available True 2024-10-14 13:31:07,029 - root - INFO - LaMaInpainting.available True 2024-10-14 13:31:07,573 - root - INFO - ClipInterrogator.available True 2024-10-14 13:31:07,574 - root - INFO - PromptGenerate.available True 2024-10-14 13:31:07,574 - root - INFO - ChinesePrompt.available True 2024-10-14 13:31:07,574 - root - INFO - RembgNode_.available True 2024-10-14 13:31:08,080 - root - INFO - TripoSR.available 2024-10-14 13:31:08,080 - root - INFO - �[93m -------------- �[0m 2024-10-14 13:31:14,983 - albumentations.check_version - INFO - A new version of Albumentations is available: 1.4.18 (you have 1.4.13). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1. 2024-10-14 13:31:19,463 - root - INFO - Import times for custom nodes: 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\websocket_image_save.py 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\AIGODLIKE-ComfyUI-Translation 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Molmo-master 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\sdxl_prompt_styler 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui-workspace-manager 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui_fk_server 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\cg-use-everywhere 2024-10-14 13:31:19,463 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\sd-dynamic-thresholding 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ControlNet-LLLite-ComfyUI 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_ADV_CLIP_emb 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-BRIA_AI-RMBG 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_TiledKSampler 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-WD14-Tagger 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_Text_Translation 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\PowerNoiseSuite 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_FizzNodes 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\images-grid-comfy-plugin 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_essentials 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\Comfyui-ergouzi-kaiguan 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Custom-Scripts 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_IPAdapter_plus 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Frame-Interpolation 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_UltimateSDUpscale 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Advanced-ControlNet 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\rgthree-comfy 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Kolors-MZ 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-VideoHelperSuite 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\efficiency-nodes-comfyui 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_Comfyroll_CustomNodes 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-KJNodes 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\Derfuu_ComfyUI_ModdedNodes 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Marigold 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-AnimateDiff-Evolved 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Inspire-Pack 2024-10-14 13:31:19,464 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui_controlnet_aux 2024-10-14 13:31:19,464 - root - INFO - 0.1 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\PuLID_ComfyUI 2024-10-14 13:31:19,464 - root - INFO - 0.1 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui_segment_anything 2024-10-14 13:31:19,464 - root - INFO - 0.3 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Manager 2024-10-14 13:31:19,464 - root - INFO - 0.4 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Easy-Use 2024-10-14 13:31:19,464 - root - INFO - 0.4 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Impact-Pack 2024-10-14 13:31:19,464 - root - INFO - 0.8 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_InstantID 2024-10-14 13:31:19,464 - root - INFO - 2.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui-mixlab-nodes 2024-10-14 13:31:19,464 - root - INFO - 2.9 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui-dynamicprompts 2024-10-14 13:31:19,464 - root - INFO - 4.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\was-node-suite-comfyui 2024-10-14 13:31:19,464 - root - INFO - 6.1 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_Custom_Nodes_AlekPet 2024-10-14 13:31:19,464 - root - INFO - 2024-10-14 13:31:19,475 - root - INFO - 2024-10-14 13:31:19,475 - root - INFO - Starting server 2024-10-14 13:31:19,476 - root - INFO - �[93mTo see the GUI go to: http://192.168.1.3:8188 or http://127.0.0.1:8188 2024-10-14 13:31:19,476 - root - INFO - �[93mTo see the GUI go to: https://192.168.1.3:8189 or https://127.0.0.1:8189�[0m 2024-10-14 13:31:28,662 - root - INFO - got prompt 2024-10-14 13:31:32,751 - root - INFO - Requested to load SiglipVisionTransformer 2024-10-14 13:31:32,751 - root - INFO - Loading 1 new model 2024-10-14 13:31:32,884 - root - INFO - loaded completely 0.0 809.1729736328125 True 2024-10-14 13:31:33,248 - root - INFO - Requested to load ImageAdapter 2024-10-14 13:31:33,248 - root - INFO - Loading 1 new model 2024-10-14 13:31:33,261 - root - INFO - loaded completely 0.0 82.078125 True 2024-10-14 13:31:43,812 - root - ERROR - !!! Exception during processing !!! probability tensor contains either `inf`, `nan` or element < 0 2024-10-14 13:31:43,814 - root - ERROR - Traceback (most recent call last): File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 399, in generate generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask, File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate result = self._sample( File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1) RuntimeError: probability tensor contains either `inf`, `nan` or element < 0 2024-10-14 13:31:43,814 - root - INFO - Prompt executed in 15.10 seconds 2024-10-14 13:32:22,861 - root - INFO - got prompt 2024-10-14 13:32:23,496 - root - ERROR - !!! Exception during processing !!! probability tensor contains either `inf`, `nan` or element < 0 2024-10-14 13:32:23,497 - root - ERROR - Traceback (most recent call last): File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 399, in generate generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask, File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate result = self._sample( File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1) RuntimeError: probability tensor contains either `inf`, `nan` or element < 0 2024-10-14 13:32:23,499 - root - INFO - Prompt executed in 0.61 seconds 2024-10-14 13:32:35,020 - root - INFO - got prompt 2024-10-14 13:32:35,512 - root - ERROR - !!! Exception during processing !!! probability tensor contains either `inf`, `nan` or element < 0 2024-10-14 13:32:35,513 - root - ERROR - Traceback (most recent call last): File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 399, in generate generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask, File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate result = self._sample( File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1) RuntimeError: probability tensor contains either `inf`, `nan` or element < 0 2024-10-14 13:32:35,514 - root - INFO - Prompt executed in 0.46 seconds 2024-10-14 13:32:41,996 - root - INFO - got prompt 2024-10-14 13:32:42,465 - root - ERROR - !!! Exception during processing !!! probability tensor contains either `inf`, `nan` or element < 0 2024-10-14 13:32:42,466 - root - ERROR - Traceback (most recent call last): File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 399, in generate generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask, File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate result = self._sample( File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1) RuntimeError: probability tensor contains either `inf`, `nan` or element < 0 2024-10-14 13:32:42,468 - root - INFO - Prompt executed in 0.44 seconds
Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{"last_node_id":9,"last_link_id":7,"nodes":[{"id":4,"type":"ShowText|pysssss","pos":{"0":581.449462890625,"1":350.5355224609375},"size":{"0":300,"1":220},"flags":{},"order":3,"mode":0,"inputs":[{"name":"text","type":"STRING","link":3,"widget":{"name":"text"},"label":"文本"}],"outputs":[{"name":"STRING","type":"STRING","links":null,"shape":6,"label":"字符串"}],"properties":{"Node name for S&R":"ShowText|pysssss"},"widgets_values":["","This photograph captures a young Asian woman with long, wavy black hair cascading over her shoulders, set against a softly blurred, green, natural background. She has fair, smooth skin and delicate features, with a subtle smile and soft, expressive eyes. She is wearing a white, sleeveless lace dress with intricate floral patterns, the fabric appearing light and airy. The lighting is soft and natural, highlighting her serene and ethereal beauty. Her hair is styled in loose waves, framing her face and adding a sense of movement and elegance. The background, with its out-of-focus foliage, suggests an outdoor setting, possibly a garden or park, bathed in gentle sunlight. The overall mood of the image is peaceful and dreamlike, emphasizing the subject's natural beauty and grace. The photograph is credited to \"COSMID\" in the lower right corner."]},{"id":1,"type":"Joy_caption_two","pos":{"0":577.449462890625,"1":177.5354766845703},"size":{"0":315,"1":126},"flags":{},"order":2,"mode":0,"inputs":[{"name":"joy_two_pipeline","type":"JoyTwoPipeline","link":1,"label":"JoyCaptionTwo"},{"name":"image","type":"IMAGE","link":2,"label":"图像"}],"outputs":[{"name":"STRING","type":"STRING","links":[3],"slot_index":0,"label":"提示词"}],"properties":{"Node name for S&R":"Joy_caption_two"},"widgets_values":["Descriptive","140",false]},{"id":3,"type":"LoadImage","pos":{"0":199.44940185546875,"1":279.5355224609375},"size":{"0":350.9436950683594,"1":314},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[2],"label":"图像"},{"name":"MASK","type":"MASK","links":null,"label":"遮罩"}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["ComfyUI_temp_jpuoa_00007_.png","image"]},{"id":2,"type":"Joy_caption_two_load","pos":{"0":194.44940185546875,"1":173.5354766845703},"size":{"0":357.947265625,"1":58},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"JoyTwoPipeline","type":"JoyTwoPipeline","links":[1],"label":"JoyCaptionTwo"}],"properties":{"Node name for S&R":"Joy_caption_two_load"},"widgets_values":["unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit"]}],"links":[[1,2,0,1,0,"JoyTwoPipeline"],[2,3,0,1,1,"IMAGE"],[3,1,0,4,0,"STRING"]],"groups":[{"title":"高级版本","bounding":[938,71,1187,654],"color":"#3f789e","font_size":22,"flags":{}},{"title":"默认版本","bounding":[185,103,730,516],"color":"#3f789e","font_size":22,"flags":{}}],"config":{},"extra":{"ds":{"scale":0.9646149645000011,"offset":[385.69451096921205,318.2802038048433]}},"version":0.4}
Additional Context
(Please add any additional context or steps to reproduce the error here)
你先手动改一下,把里面的 with torch.amp.autocast_mode.autocast(device_type, enabled=True): 改成 with torch.amp.autocast_mode.autocast('cuda', enabled=True): 抱歉哈,设备有限,有些BUG我这边遇不到
更新一下看看
更新一下看看
OK,我更新到了最新的5736cc9版本,依旧出现类似的报错,以下是报错内容:
Exception Message: probability tensor contains either inf
, nan
or element < 0
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 560, in generate
generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask,
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate
result = self._sample(
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample
next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1)
## System Information
- **ComfyUI Version:** v0.2.2
- **Arguments:** D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\main.py --auto-launch --preview-method auto --disable-cuda-malloc --fast
- **OS:** nt
- **Python Version:** 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
- **Embedded Python:** false
- **PyTorch Version:** 2.4.1+cu124
## Devices
- **Name:** cuda:0 NVIDIA GeForce RTX 4080 SUPER : cudaMallocAsync
- **Type:** cuda
- **VRAM Total:** 17170956288
- **VRAM Free:** 8162884264
- **Torch VRAM Total:** 7818182656
- **Torch VRAM Free:** 295418536
## Logs
2024-10-15 21:42:08,704 - root - INFO - Total VRAM 16376 MB, total RAM 32581 MB 2024-10-15 21:42:08,704 - root - INFO - pytorch version: 2.4.1+cu124 2024-10-15 21:42:09,431 - root - INFO - xformers version: 0.0.28.post1 2024-10-15 21:42:09,431 - root - INFO - Set vram state to: NORMAL_VRAM 2024-10-15 21:42:09,431 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4080 SUPER : cudaMallocAsync 2024-10-15 21:42:09,528 - root - INFO - Using xformers cross attention 2024-10-15 21:42:10,076 - root - INFO - [Prompt Server] web root: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\web 2024-10-15 21:42:12,032 - numexpr.utils - INFO - Note: NumExpr detected 28 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. 2024-10-15 21:42:12,032 - numexpr.utils - INFO - NumExpr defaulting to 8 threads. 2024-10-15 21:42:12,182 - ComfyUI-CogVideoXWrapper.custom_cogvideox_transformer_3d - INFO - sageattn not found, using sdpa 2024-10-15 21:42:12,189 - ComfyUI-CogVideoXWrapper.cogvideox_fun.transformer_3d - INFO - sageattn not found, using sdpa 2024-10-15 21:42:12,190 - ComfyUI-CogVideoXWrapper.cogvideox_fun.fun_pab_transformer_3d - INFO - sageattn not found, using sdpa 2024-10-15 21:42:13,135 - root - INFO - Total VRAM 16376 MB, total RAM 32581 MB 2024-10-15 21:42:13,135 - root - INFO - pytorch version: 2.4.1+cu124 2024-10-15 21:42:13,135 - root - INFO - xformers version: 0.0.28.post1 2024-10-15 21:42:13,136 - root - INFO - Set vram state to: NORMAL_VRAM 2024-10-15 21:42:13,136 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4080 SUPER : cudaMallocAsync 2024-10-15 21:42:14,285 - root - INFO - -------------- 2024-10-15 21:42:14,285 - root - INFO - [91m ### Mixlab Nodes: [93mLoaded 2024-10-15 21:42:14,286 - root - INFO - ChatGPT.available True 2024-10-15 21:42:14,286 - root - INFO - editmask.available True 2024-10-15 21:42:14,289 - root - INFO - LaMaInpainting.available True 2024-10-15 21:42:14,649 - root - INFO - ClipInterrogator.available True 2024-10-15 21:42:14,650 - root - INFO - PromptGenerate.available True 2024-10-15 21:42:14,650 - root - INFO - ChinesePrompt.available True 2024-10-15 21:42:14,650 - root - INFO - RembgNode.available True 2024-10-15 21:42:15,005 - root - INFO - TripoSR.available 2024-10-15 21:42:15,005 - root - INFO - [93m -------------- [0m 2024-10-15 21:42:21,188 - albumentations.check_version - INFO - A new version of Albumentations is available: 1.4.18 (you have 1.4.13). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1. 2024-10-15 21:42:25,287 - root - INFO - Import times for custom nodes: 2024-10-15 21:42:25,287 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\AIGODLIKE-ComfyUI-Translation 2024-10-15 21:42:25,287 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\websocket_image_save.py 2024-10-15 21:42:25,287 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Molmo-master 2024-10-15 21:42:25,287 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\sdxl_prompt_styler 2024-10-15 21:42:25,287 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ControlNet-LLLite-ComfyUI 2024-10-15 21:42:25,287 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui-workspace-manager 2024-10-15 21:42:25,287 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui_fk_server 2024-10-15 21:42:25,287 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\sd-dynamic-thresholding 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-BRIA_AI-RMBG 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_TiledKSampler 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_ADV_CLIP_emb 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\cg-use-everywhere 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_Text_Translation 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-WD14-Tagger 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_IPAdapter_plus 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\PowerNoiseSuite 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\Comfyui-ergouzi-kaiguan 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\images-grid-comfy-plugin 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_FizzNodes 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Custom-Scripts 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_UltimateSDUpscale 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_essentials 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Frame-Interpolation 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Marigold 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Advanced-ControlNet 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\Derfuu_ComfyUI_ModdedNodes 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\rgthree-comfy 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\efficiency-nodes-comfyui 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Kolors-MZ 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-VideoHelperSuite 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_Comfyroll_CustomNodes 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-AnimateDiff-Evolved 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-KJNodes 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui_controlnet_aux 2024-10-15 21:42:25,288 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Inspire-Pack 2024-10-15 21:42:25,288 - root - INFO - 0.1 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui_segment_anything 2024-10-15 21:42:25,288 - root - INFO - 0.1 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\PuLID_ComfyUI 2024-10-15 21:42:25,288 - root - INFO - 0.1 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_LayerStyle 2024-10-15 21:42:25,288 - root - INFO - 0.2 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui-dynamicprompts 2024-10-15 21:42:25,288 - root - INFO - 0.3 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Easy-Use 2024-10-15 21:42:25,288 - root - INFO - 0.3 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Impact-Pack 2024-10-15 21:42:25,288 - root - INFO - 0.3 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Manager 2024-10-15 21:42:25,288 - root - INFO - 0.6 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_InstantID 2024-10-15 21:42:25,288 - root - INFO - 1.5 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui-mixlab-nodes 2024-10-15 21:42:25,288 - root - INFO - 1.7 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-CogVideoXWrapper 2024-10-15 21:42:25,288 - root - INFO - 3.8 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\was-node-suite-comfyui 2024-10-15 21:42:25,288 - root - INFO - 5.5 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_Custom_Nodes_AlekPet 2024-10-15 21:42:25,288 - root - INFO - 2024-10-15 21:42:25,298 - root - INFO -
2024-10-15 21:42:25,298 - root - INFO -
Starting server
2024-10-15 21:42:25,298 - root - INFO - [93mTo see the GUI go to: http://192.168.1.3:8188 or http://127.0.0.1:8188
2024-10-15 21:42:25,298 - root - INFO - [93mTo see the GUI go to: https://192.168.1.3:8189 or https://127.0.0.1:8189[0m
2024-10-15 21:43:12,075 - root - INFO - got prompt
2024-10-15 21:43:12,103 - root - ERROR - Failed to validate prompt for output 4:
2024-10-15 21:43:12,103 - root - ERROR - * Joy_caption_two_advanced 12:
2024-10-15 21:43:12,103 - root - ERROR - - Required input is missing: extra_options
2024-10-15 21:43:12,103 - root - ERROR - Output will be ignored
2024-10-15 21:43:12,103 - root - WARNING - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2024-10-15 21:43:18,332 - root - INFO - got prompt
2024-10-15 21:43:22,058 - root - INFO - Requested to load SiglipVisionTransformer
2024-10-15 21:43:22,058 - root - INFO - Loading 1 new model
2024-10-15 21:43:22,414 - root - INFO - loaded completely 0.0 809.1729736328125 True
2024-10-15 21:43:22,735 - root - INFO - Requested to load ImageAdapter
2024-10-15 21:43:22,736 - root - INFO - Loading 1 new model
2024-10-15 21:43:22,748 - root - INFO - loaded completely 0.0 82.078125 True
2024-10-15 21:43:31,609 - root - ERROR - !!! Exception during processing !!! probability tensor contains either inf
, nan
or element < 0
2024-10-15 21:43:31,611 - root - ERROR - Traceback (most recent call last):
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(*inputs))
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 560, in generate
generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask,
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context
return func(args, **kwargs)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate
result = self._sample(
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample
next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1)
RuntimeError: probability tensor contains either inf
, nan
or element < 0
2024-10-15 21:43:31,612 - root - INFO - Prompt executed in 13.25 seconds
2024-10-15 21:43:41,810 - root - INFO - got prompt
2024-10-15 21:43:42,496 - root - ERROR - !!! Exception during processing !!! probability tensor contains either inf
, nan
or element < 0
2024-10-15 21:43:42,498 - root - ERROR - Traceback (most recent call last):
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(*inputs))
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 560, in generate
generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask,
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context
return func(args, **kwargs)
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate
result = self._sample(
File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample
next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1)
RuntimeError: probability tensor contains either inf
, nan
or element < 0
2024-10-15 21:43:42,499 - root - INFO - Prompt executed in 0.66 seconds
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{"last_node_id":13,"last_link_id":11,"nodes":[{"id":4,"type":"ShowText|pysssss","pos":{"0":581.449462890625,"1":350.5355224609375},"size":{"0":300,"1":220},"flags":{},"order":5,"mode":0,"inputs":[{"name":"text","type":"STRING","link":9,"widget":{"name":"text"},"label":"文本"}],"outputs":[{"name":"STRING","type":"STRING","links":null,"shape":6,"label":"字符串"}],"properties":{"Node name for S&R":"ShowText|pysssss"},"widgets_values":["","This photograph captures a young Asian woman with long, wavy black hair cascading over her shoulders, set against a softly blurred, green, natural background. She has fair, smooth skin and delicate features, with a subtle smile and soft, expressive eyes. She is wearing a white, sleeveless lace dress with intricate floral patterns, the fabric appearing light and airy. The lighting is soft and natural, highlighting her serene and ethereal beauty. Her hair is styled in loose waves, framing her face and adding a sense of movement and elegance. The background, with its out-of-focus foliage, suggests an outdoor setting, possibly a garden or park, bathed in gentle sunlight. The overall mood of the image is peaceful and dreamlike, emphasizing the subject's natural beauty and grace. The photograph is credited to \"COSMID\" in the lower right corner."]},{"id":2,"type":"Joy_caption_two_load","pos":{"0":194.44940185546875,"1":173.5354766845703},"size":{"0":357.947265625,"1":58},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"JoyTwoPipeline","type":"JoyTwoPipeline","links":[1,8],"label":"JoyCaptionTwo"}],"properties":{"Node name for S&R":"Joy_caption_two_load"},"widgets_values":["unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit"]},{"id":1,"type":"Joy_caption_two","pos":{"0":600,"1":170},"size":{"0":315,"1":126},"flags":{},"order":3,"mode":4,"inputs":[{"name":"joy_two_pipeline","type":"JoyTwoPipeline","link":1,"label":"JoyCaptionTwo"},{"name":"image","type":"IMAGE","link":2,"label":"图像"}],"outputs":[{"name":"STRING","type":"STRING","links":[],"slot_index":0,"label":"提示词"}],"properties":{"Node name for S&R":"Joy_caption_two"},"widgets_values":["Descriptive","140",false]},{"id":12,"type":"Joy_caption_two_advanced","pos":{"0":630,"1":-70},"size":{"0":315,"1":194},"flags":{},"order":4,"mode":0,"inputs":[{"name":"joy_two_pipeline","type":"JoyTwoPipeline","link":8,"label":"JoyCaptionTwo"},{"name":"image","type":"IMAGE","link":10,"label":"图像"},{"name":"extra_options","type":"Extra_Options","link":11,"label":"附加选项"}],"outputs":[{"name":"STRING","type":"STRING","links":[9],"shape":3,"label":"提示词","slot_index":0}],"properties":{"Node name for S&R":"Joy_caption_two_advanced"},"widgets_values":["Descriptive","long","","",false]},{"id":13,"type":"Joy_extra_options","pos":{"0":1110,"1":-220},"size":{"0":315,"1":442},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"Extra_Options","type":"Extra_Options","links":[11],"shape":3,"label":"附加选项"}],"properties":{"Node name for S&R":"Joy_extra_options"},"widgets_values":[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false]},{"id":3,"type":"LoadImage","pos":{"0":199.44940185546875,"1":279.5355224609375},"size":{"0":350.9436950683594,"1":314},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[2,10],"label":"图像"},{"name":"MASK","type":"MASK","links":null,"label":"遮罩"}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["13373268862452563.png","image"]}],"links":[[1,2,0,1,0,"JoyTwoPipeline"],[2,3,0,1,1,"IMAGE"],[8,2,0,12,0,"JoyTwoPipeline"],[9,12,0,4,0,"STRING"],[10,3,0,12,1,"IMAGE"],[11,13,0,12,2,"Extra_Options"]],"groups":[{"title":"高级版本","bounding":[938,71,1187,654],"color":"#3f789e","font_size":22,"flags":{}},{"title":"默认版本","bounding":[185,103,730,516],"color":"#3f789e","font_size":22,"flags":{}}],"config":{},"extra":{"ds":{"scale":0.9646149645000013,"offset":[-232.83907849774607,284.4220898645134]}},"version":0.4}
## Additional Context
(Please add any additional context or steps to reproduce the error here)
2024-10-15 21:43:12,075 - root - INFO - got prompt 2024-10-15 21:43:12,103 - root - ERROR - Failed to validate prompt for output 4: 2024-10-15 21:43:12,103 - root - ERROR - * Joy_caption_two_advanced 12: 2024-10-15 21:43:12,103 - root - ERROR - - Required input is missing: extra_options 2024-10-15 21:43:12,103 - root - ERROR - Output will be ignored 2024-10-15 21:43:12,103 - root - WARNING - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}} 2024-10-15 21:43:18,332 - root - INFO - got prompt 2024-10-15 21:43:22,058 - root - INFO - Requested to load SiglipVisionTransformer 2024-10-15 21:43:22,058 - root - INFO - Loading 1 new model 2024-10-15 21:43:22,414 - root - INFO - loaded completely 0.0 809.1729736328125 True 2024-10-15 21:43:22,735 - root - INFO - Requested to load ImageAdapter 2024-10-15 21:43:22,736 - root - INFO - Loading 1 new model 2024-10-15 21:43:22,748 - root - INFO - loaded completely 0.0 82.078125 True 2024-10-15 21:43:31,609 - root - ERROR - !!! Exception during processing !!! probability tensor contains either
inf
,nan
or element < 0 2024-10-15 21:43:31,611 - root - ERROR - Traceback (most recent call last): File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(*inputs)) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 560, in generate generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask, File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context return func(args, **kwargs) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate result = self._sample( File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1) RuntimeError: probability tensor contains eitherinf
,nan
or element < 02024-10-15 21:43:31,612 - root - INFO - Prompt executed in 13.25 seconds 2024-10-15 21:43:41,810 - root - INFO - got prompt 2024-10-15 21:43:42,496 - root - ERROR - !!! Exception during processing !!! probability tensor contains either
inf
,nan
or element < 0 2024-10-15 21:43:42,498 - root - ERROR - Traceback (most recent call last): File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(*inputs)) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 560, in generate generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask, File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context return func(args, **kwargs) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate result = self._sample( File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1) RuntimeError: probability tensor contains eitherinf
,nan
or element < 02024-10-15 21:43:42,499 - root - INFO - Prompt executed in 0.66 seconds
你尝试一下把
generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask,
max_new_tokens=300, do_sample=True,
suppress_tokens=None) # Uses the default which is temp=0.6, top_p=0.9
改成
generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask,
max_new_tokens=300, do_sample=True,
top_k=10, temperature=0.5,
suppress_tokens=None)
并手动修改temperature的值更低试一下,调整调试一下,这个方法有两个地方的,你尝试修改一下这个temperature的值更小试一下,我这边的设备无法重现你的BUG
2024-10-15 21:43:12,075 - root - INFO - got prompt 2024-10-15 21:43:12,103 - root - ERROR - Failed to validate prompt for output 4: 2024-10-15 21:43:12,103 - root - ERROR - * Joy_caption_two_advanced 12: 2024-10-15 21:43:12,103 - root - ERROR - - Required input is missing: extra_options 2024-10-15 21:43:12,103 - root - ERROR - Output will be ignored 2024-10-15 21:43:12,103 - root - WARNING - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}} 2024-10-15 21:43:18,332 - root - INFO - got prompt 2024-10-15 21:43:22,058 - root - INFO - Requested to load SiglipVisionTransformer 2024-10-15 21:43:22,058 - root - INFO - Loading 1 new model 2024-10-15 21:43:22,414 - root - INFO - loaded completely 0.0 809.1729736328125 True 2024-10-15 21:43:22,735 - root - INFO - Requested to load ImageAdapter 2024-10-15 21:43:22,736 - root - INFO - Loading 1 new model 2024-10-15 21:43:22,748 - root - INFO - loaded completely 0.0 82.078125 True 2024-10-15 21:43:31,609 - root - ERROR - !!! Exception during processing !!! probability tensor contains either
inf
,nan
or element < 0 2024-10-15 21:43:31,611 - root - ERROR - Traceback (most recent call last): File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(inputs)) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 560, in generate generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask, File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context return func(args, kwargs) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate result = self._sample( File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1) RuntimeError: probability tensor contains eitherinf
,nan
or element < 0 2024-10-15 21:43:31,612 - root - INFO - Prompt executed in 13.25 seconds 2024-10-15 21:43:41,810 - root - INFO - got prompt 2024-10-15 21:43:42,496 - root - ERROR - !!! Exception during processing !!! probability tensor contains eitherinf
,nan
or element < 0 2024-10-15 21:43:42,498 - root - ERROR - Traceback (most recent call last): File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(inputs)) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 560, in generate generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask, File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\utils_contextlib.py", line 116, in decorate_context return func(args, kwargs) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 2047, in generate result = self._sample( File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\transformers\generation\utils.py", line 3043, in _sample next_tokens = torch.multinomial(probs, num_samples=1).squeeze(1) RuntimeError: probability tensor contains eitherinf
,nan
or element < 0 2024-10-15 21:43:42,499 - root - INFO - Prompt executed in 0.66 seconds你尝试一下把
generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask, max_new_tokens=300, do_sample=True, suppress_tokens=None) # Uses the default which is temp=0.6, top_p=0.9
改成
generate_ids = text_model.generate(input_ids, inputs_embeds=input_embeds, attention_mask=attention_mask, max_new_tokens=300, do_sample=True, top_k=10, temperature=0.5, suppress_tokens=None)
并手动修改temperature的值更低试一下,调整调试一下,这个方法有两个地方的,你尝试修改一下这个temperature的值更小试一下,我这边的设备无法重现你的BUG
OK,我找到问题所在了,浏览器下载模型时将.gitattributes修改为gitattributes,怪我没有仔细检查,修改后可以使用
JoyCaptionTwo User specified an unsupported autocast device_type 'cuda:0'
ComfyUI Error Report
Error Details
Exception Message: User specified an unsupported autocast device_type 'cuda:0'
Stack Trace
2024-10-14 11:43:12,636 - root - INFO - Total VRAM 16376 MB, total RAM 32581 MB 2024-10-14 11:43:12,636 - root - INFO - pytorch version: 2.3.1+cu121 2024-10-14 11:43:13,439 - root - INFO - xformers version: 0.0.27 2024-10-14 11:43:13,439 - root - INFO - Set vram state to: NORMAL_VRAM 2024-10-14 11:43:13,439 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4080 SUPER : cudaMallocAsync 2024-10-14 11:43:13,542 - root - INFO - Using xformers cross attention 2024-10-14 11:43:14,088 - root - INFO - [Prompt Server] web root: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\web 2024-10-14 11:43:15,937 - numexpr.utils - INFO - Note: NumExpr detected 28 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. 2024-10-14 11:43:15,937 - numexpr.utils - INFO - NumExpr defaulting to 8 threads. 2024-10-14 11:43:17,064 - root - INFO - Total VRAM 16376 MB, total RAM 32581 MB 2024-10-14 11:43:17,065 - root - INFO - pytorch version: 2.3.1+cu121 2024-10-14 11:43:17,065 - root - INFO - xformers version: 0.0.27 2024-10-14 11:43:17,065 - root - INFO - Set vram state to: NORMAL_VRAM 2024-10-14 11:43:17,065 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 4080 SUPER : cudaMallocAsync 2024-10-14 11:43:18,198 - root - INFO - -------------- 2024-10-14 11:43:18,199 - root - INFO - [91m ### Mixlab Nodes: [93mLoaded 2024-10-14 11:43:18,199 - root - INFO - ChatGPT.available True 2024-10-14 11:43:18,200 - root - INFO - editmask.available True 2024-10-14 11:43:18,202 - root - INFO - LaMaInpainting.available True 2024-10-14 11:43:18,560 - root - INFO - ClipInterrogator.available True 2024-10-14 11:43:18,561 - root - INFO - PromptGenerate.available True 2024-10-14 11:43:18,561 - root - INFO - ChinesePrompt.available True 2024-10-14 11:43:18,561 - root - INFO - RembgNode.available True 2024-10-14 11:43:18,922 - root - INFO - TripoSR.available 2024-10-14 11:43:18,922 - root - INFO - [93m -------------- [0m 2024-10-14 11:43:25,133 - albumentations.check_version - INFO - A new version of Albumentations is available: 1.4.18 (you have 1.4.13). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1. 2024-10-14 11:43:29,268 - root - INFO - Import times for custom nodes: 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\AIGODLIKE-ComfyUI-Translation 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\websocket_image_save.py 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Molmo-master 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui_fk_server 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui-workspace-manager 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\sdxl_prompt_styler 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\cg-use-everywhere 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-BRIA_AI-RMBG 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\sd-dynamic-thresholding 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_ADV_CLIP_emb 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ControlNet-LLLite-ComfyUI 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_TiledKSampler 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-WD14-Tagger 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_Text_Translation 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_IPAdapter_plus 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\PowerNoiseSuite 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_FizzNodes 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\Comfyui-ergouzi-kaiguan 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Custom-Scripts 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\images-grid-comfy-plugin 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_essentials 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_UltimateSDUpscale 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Frame-Interpolation 2024-10-14 11:43:29,268 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Advanced-ControlNet 2024-10-14 11:43:29,269 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\rgthree-comfy 2024-10-14 11:43:29,269 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\Derfuu_ComfyUI_ModdedNodes 2024-10-14 11:43:29,269 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\efficiency-nodes-comfyui 2024-10-14 11:43:29,269 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Kolors-MZ 2024-10-14 11:43:29,269 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-KJNodes 2024-10-14 11:43:29,269 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-VideoHelperSuite 2024-10-14 11:43:29,269 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-AnimateDiff-Evolved 2024-10-14 11:43:29,269 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Marigold 2024-10-14 11:43:29,269 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_Comfyroll_CustomNodes 2024-10-14 11:43:29,269 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui_controlnet_aux 2024-10-14 11:43:29,269 - root - INFO - 0.0 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Inspire-Pack 2024-10-14 11:43:29,269 - root - INFO - 0.1 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\PuLID_ComfyUI 2024-10-14 11:43:29,269 - root - INFO - 0.1 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui_segment_anything 2024-10-14 11:43:29,269 - root - INFO - 0.3 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Manager 2024-10-14 11:43:29,269 - root - INFO - 0.4 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Impact-Pack 2024-10-14 11:43:29,269 - root - INFO - 0.4 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI-Easy-Use 2024-10-14 11:43:29,269 - root - INFO - 0.6 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_InstantID 2024-10-14 11:43:29,269 - root - INFO - 1.5 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui-mixlab-nodes 2024-10-14 11:43:29,269 - root - INFO - 1.8 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\comfyui-dynamicprompts 2024-10-14 11:43:29,269 - root - INFO - 3.9 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\was-node-suite-comfyui 2024-10-14 11:43:29,269 - root - INFO - 5.5 seconds: D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_Custom_Nodes_AlekPet 2024-10-14 11:43:29,269 - root - INFO - 2024-10-14 11:43:29,279 - root - INFO -
2024-10-14 11:43:29,279 - root - INFO -
Starting server 2024-10-14 11:43:29,279 - root - INFO - [93mTo see the GUI go to: http://192.168.1.3:8188 or http://127.0.0.1:8188 2024-10-14 11:43:29,279 - root - INFO - [93mTo see the GUI go to: https://192.168.1.3:8189 or https://127.0.0.1:8189[0m 2024-10-14 11:43:43,308 - root - INFO - got prompt 2024-10-14 11:43:47,512 - root - ERROR - !!! Exception during processing !!! User specified an unsupported autocast device_type 'cuda:0' 2024-10-14 11:43:47,514 - root - ERROR - Traceback (most recent call last): File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\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:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\custom_nodes\ComfyUI_SLK_joy_caption_two\joy_caption_two_node.py", line 331, in generate with torch.amp.autocast_mode.autocast(device_type, enabled=True): File "D:\AI\ComfyUI-aki\ComfyUI-aki-v1.1\ComfyUI-aki-v1.1\python\lib\site-packages\torch\amp\autocast_mode.py", line 241, in init raise RuntimeError( RuntimeError: User specified an unsupported autocast device_type 'cuda:0'
2024-10-14 11:43:47,515 - root - INFO - Prompt executed in 4.18 seconds
{"last_node_id":9,"last_link_id":7,"nodes":[{"id":2,"type":"Joy_caption_two_load","pos":{"0":194.44940185546875,"1":173.5354766845703},"size":{"0":357.947265625,"1":58},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"JoyTwoPipeline","type":"JoyTwoPipeline","links":[1],"label":"JoyCaptionTwo"}],"properties":{"Node name for S&R":"Joy_caption_two_load"},"widgets_values":["unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit"]},{"id":3,"type":"LoadImage","pos":{"0":160,"1":280},"size":{"0":350.9436950683594,"1":314},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[2],"label":"图像"},{"name":"MASK","type":"MASK","links":null,"label":"遮罩"}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["ComfyUI_temp_spohb00017.png","image"]},{"id":4,"type":"ShowText|pysssss","pos":{"0":580,"1":350},"size":{"0":350,"1":310},"flags":{},"order":3,"mode":0,"inputs":[{"name":"text","type":"STRING","link":3,"widget":{"name":"text"},"label":"文本"}],"outputs":[{"name":"STRING","type":"STRING","links":null,"shape":6,"label":"字符串"}],"properties":{"Node name for S&R":"ShowText|pysssss"},"widgets_values":["","This photograph captures a young Asian woman with long, wavy black hair cascading over her shoulders, set against a softly blurred, green, natural background. She has fair, smooth skin and delicate features, with a subtle smile and soft, expressive eyes. She is wearing a white, sleeveless lace dress with intricate floral patterns, the fabric appearing light and airy. The lighting is soft and natural, highlighting her serene and ethereal beauty. Her hair is styled in loose waves, framing her face and adding a sense of movement and elegance. The background, with its out-of-focus foliage, suggests an outdoor setting, possibly a garden or park, bathed in gentle sunlight. The overall mood of the image is peaceful and dreamlike, emphasizing the subject's natural beauty and grace. The photograph is credited to \"COSMID\" in the lower right corner."]},{"id":1,"type":"Joy_caption_two","pos":{"0":577.449462890625,"1":177.5354766845703},"size":{"0":315,"1":126},"flags":{},"order":2,"mode":0,"inputs":[{"name":"joy_two_pipeline","type":"JoyTwoPipeline","link":1,"label":"JoyCaptionTwo"},{"name":"image","type":"IMAGE","link":2,"label":"图像"}],"outputs":[{"name":"STRING","type":"STRING","links":[3],"slot_index":0,"label":"提示词"}],"properties":{"Node name for S&R":"Joy_caption_two"},"widgets_values":["Descriptive","120",false]}],"links":[[1,2,0,1,0,"JoyTwoPipeline"],[2,3,0,1,1,"IMAGE"],[3,1,0,4,0,"STRING"]],"groups":[{"title":"高级版本","bounding":[1267,135,1187,654],"color":"#3f789e","font_size":22,"flags":{}},{"title":"默认版本","bounding":[185,103,730,516],"color":"#3f789e","font_size":22,"flags":{}}],"config":{},"extra":{"ds":{"scale":1.5535220464768966,"offset":[261.92957809024244,207.50151439303465]}},"version":0.4}