siliconflow / onediff

OneDiff: An out-of-the-box acceleration library for diffusion models.
https://github.com/siliconflow/onediff/wiki
Apache License 2.0
1.42k stars 85 forks source link

After using onediff to speed up, it slows down in sd-webui #851

Closed lijunliangTG closed 1 month ago

lijunliangTG commented 2 months ago

Describe the bug

A clear and concise description of what the bug is.

After using onediff to accelerate, it is slower than before torch

Your environment

OS

Ubuntu 20.04.4 LTS

OneDiff git commit id

6077d115

OneFlow version info

Run python -m oneflow --doctor and paste it here. path: ['/data/home/lijunliang/anaconda3/envs/sd2/lib/python3.10/site-packages/oneflow'] version: 0.9.1.dev20240505+cu122 git_commit: 665bcf8 cmake_build_type: Release rdma: True mlir: True

How To Reproduce

Steps to reproduce the behavior(code or script): When I tried to test it with a 3090 graphics card with onediff image without onediff image

The complete error message

80635b0335c8801f25e0ced7e6f2d002

Additional context

Add any other context about the problem here.

marigoold commented 1 month ago

Fixed in: https://github.com/siliconflow/onediff/pull/858