User specified an unsupported autocast device_type 'cuda:0'
需要修改ComfyUI/custom_nodes/Comfyui_CXH_joy_caption/Joy_caption_node.py
将
with torch.amp.autocast_mode.autocast(str(DEVICE), enabled=True):
修改为
with torch.amp.autocast_mode.autocast(device_type=DEVICE.type, enabled=True)