chflame163 / ComfyUI_LayerStyle

A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.
MIT License
1.49k stars 86 forks source link

LayerUtility: PhiPrompt节点无法使用 #360

Open 2259819800 opened 4 weeks ago

2259819800 commented 4 weeks ago

报错消息如下 Cannot use chat template functions because tokenizer.chat_template is not set and no template argument was passed! For information about writing templates and setting the tokenizer.chat_template attribute, please see the documentation at https://huggingface.co/docs/transformers/main/en/chat_templating

LerY111 commented 2 weeks ago

我也遇到了相同的问题,请大佬解答!!

ComfyUI Error Report

Error Details


## System Information
- **ComfyUI Version:** v0.2.2
- **Arguments:** F:\Stable Diffusion ComfyUI\main.py --auto-launch --preview-method none --disable-smart-memory --disable-cuda-malloc --cpu-vae --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 4060 Laptop GPU : cudaMallocAsync
  - **Type:** cuda
  - **VRAM Total:** 8585216000
  - **VRAM Free:** 7431258112
  - **Torch VRAM Total:** 0
  - **Torch VRAM Free:** 0