huchenlei / ComfyUI-layerdiffuse

Layer Diffuse custom nodes
Apache License 2.0
1.49k stars 145 forks source link

diffusers==0.25.0 Does this dependency require this version? Can it be higher? #9

Closed tanglup closed 8 months ago

huchenlei commented 8 months ago

Yes, it is mandatory. diffusers 0.25.0 is the version used in SD Forge. See https://github.com/lllyasviel/stable-diffusion-webui-forge/blob/main/requirements_versions.txt.

You can file an issue in SD Forge repo to let lvmin do the upgrade, but we will keep the version synced with SD Forge here.

If you have diffusers version conflict with other extensions, I recommend you setup separate python venvs.

tanglup commented 8 months ago

是的,这是强制性的。differs 0.25.0 是 SD Forge 中使用的版本。请参阅https://github.com/lllyasviel/stable-diffusion-webui-forge/blob/main/requirements_versions.txt。

您可以在 SD Forge 存储库中提交问题,让 lvmin 进行升级,但我们将在此处保持与 SD Forge 的版本同步。

如果您的扩散器版本与其他扩展冲突,我建议您设置单独的 python venvs。

Okay, I understand

longgui0318 commented 8 months ago

@huchenlei layerdiffuse不需要指定25 使用最新的0.26.0也可以正常运行。建议把依赖中的版本号去除。

你上面说的环境中的SD Forge中添加了限制版本,pip install时候会选择合理的版本的,无需特殊处理。这样两边都可以有更好的适配。

toyxyz commented 8 months ago

Works with diffusers 0.26.3. image

huchenlei commented 8 months ago

Diffusers version requirement relaxed to >= 0.25.0