-
Notifications
You must be signed in to change notification settings - Fork 125
Fix deepcache for svd #438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
不加onediff, PyTorch SVD + DeepCache的效果怎样 |
我后面本地看下。 |
|
issue comment 更新了。 |
|
Can I use onediif for CogVideo workflows? |
|
The acceleration of CogVideo can be achieved using the generalized acceleration of OneDiff. For acceleration nodes, please refer to: https://github.com/siliconflow/onediff/tree/main/onediff_comfy_nodes. |
|
Ok, is it working under Windows? |
ComfyUI Node and Example
Node name:
Example workflow:
Single test of SVD DeepCache:
Depending on the new oneflow community edition
cuda 11.8:
python3 -m pip install --pre oneflow -f https://oneflow-pro.oss-cn-beijing.aliyuncs.com/branch/community/cu118cuda12.1:
python3 -m pip install --pre oneflow -f https://oneflow-pro.oss-cn-beijing.aliyuncs.com/branch/community/cu121cuda12.2:
python3 -m pip install --pre oneflow -f https://oneflow-pro.oss-cn-beijing.aliyuncs.com/branch/community/cu122SVD UNet iter speed
A100
The above tests are based on the community version of OneFlow.
Result
When using the SVDSpeedup node of onediff, the video quality is lossless. When using the ModuleDeepCacheSpeedup node, there is a slight loss in quality, but the speed increases by more than double.
Thanks to @Dango233 from Stability AI. He inspired us to try our acceleration node(DeepCache with OneDiff compilation) on SVD.