WASasquatch / was-node-suite-comfyui

An extensive node suite for ComfyUI with over 210 new nodes
MIT License
1.15k stars 170 forks source link

could you please update the blip required version of transformer to version 36 or higher #344

Open kelly-memory opened 7 months ago

kelly-memory commented 7 months ago

transformer 26 which the Blip needed doesn't incompatible with others

WASasquatch commented 7 months ago

That is the last version of Transformers that Transformers BLIP code works on, which is why it's pinned. A lot of people still use BLIP, and most can't run BLIP2.

rollingcookies commented 6 months ago

How to use transformers==4.26.0 in a separate venv for WAS Node Suite nodes (where can I get a step-by-step tutorial for configuring venv for a separate node in Comfi)? transformers==4.36.0 is needed for ClipInterrogator node (in Mixlab nodes package) to work correctly :``(

petercham commented 6 months ago

这是 Transformers BLIP 代码工作的最后一个 Transformers 版本,这就是它被固定的原因。很多人仍然使用 BLIP,大多数人无法运行 BLIP2。

https://github.com/WASasquatch/was-node-suite-comfyui/issues/369 There is a conflict between the current locked Transformer version and the latest d14bdb18 version of ComfyUI

zmwv823 commented 6 months ago

That is the last version of Transformers that Transformers BLIP code works on, which is why it's pinned. A lot of people still use BLIP, and most can't run BLIP2.

I think it's better to upgrade transformers. Most nodes require higher version of transformers. You can take a look at https://github.com/sipherxyz/comfyui-art-venture. It's blip caption node works well with transformers==4.39.1. It works with the model automaticly downloaded by your blip node.

image

WASasquatch commented 6 months ago

The code I am using is not compatible. If you know how to PR an upgrade of the code to use high transformers that would be fine. But I have no plans to upgrade WAS-NS at this time. As noted on the readme it's unmanaged at this time. PRs are welcome though.

zmwv823 commented 6 months ago

The code I am using is not compatible. If you know how to PR an upgrade of the code to use high transformers that would be fine. But I have no plans to upgrade WAS-NS at this time. As noted on the readme it's unmanaged at this time. PRs are welcome though.

Got it. Thanks for reply.

WAS-PlaiLabs commented 4 months ago

https://github.com/WASasquatch/was-node-suite-comfyui/pull/393

Refactored BLIP!

FYI the reason Art Venture's BLIP works is because it's literally the original BLIP code copy-pasted. It's not transformers based.

WAS-PlaiLabs commented 4 months ago

I designed it so you can use any model you want that works with transformers.

Is the b16 also faster?