chflame163 / ComfyUI_LayerStyle

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

florance2 node有问题了? #332

Open K-O-N-B opened 3 weeks ago

K-O-N-B commented 3 weeks ago

昨天还正常的,今天升级完后出现:

Could not locate the processing_florence2.py inside microsoft/Florence-2-large.

😺dzNodes: LayerStyle -> Error loading model or tokenizer: This modeling file requires the following packages that were not found in your environment: flash_attn. Run pip install flash_attn

!!! Exception during processing !!! 'NoneType' object is not callable

chflame163 commented 3 weeks ago

最新的更新修改了florence2模型加载代码使其兼容最新版的transformers包。我在全新的ComfyUI官方便携包测试了新的代码是没问题的。或许你之前安装过flash-attn, 试试修复它。

chflame163 commented 3 weeks ago

如果仍然有问题,请删除ComfyUI/models/florence2/ 下面对应的模型目录,重新下载这个模型。

K-O-N-B commented 3 weeks ago

如果仍然有问题,请删除ComfyUI/models/florence2/ 下面对应的模型目录,重新下载这个模型。

小白不会安装其他东西,按说明把node重新装了一次,出现了下面的问题: image