siliconflow / onediff

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

oneflow_compile(unet) failed #995

Open liyandong001 opened 6 days ago

liyandong001 commented 6 days ago

Describe the bug

A clear and concise description of what the bug is.

Your environment

OS

ubuntu20.04

OneDiff git commit id

OneFlow version info if you have installed oneflow

Run python -m oneflow --doctor and paste it here.

path: ['/usr/local/lib/python3.10/dist-packages/oneflow'] version: 0.9.1.dev20240515+cu118 git_commit: ec7b682 cmake_build_type: Release rdma: True mlir: True enterprise: False

How To Reproduce

Steps to reproduce the behavior(code or script):

The complete error message

Additional context

Add any other context about the problem here.

ERROR [2024-07-03 07:01:29] /usr/local/lib/python3.10/dist-packages/onediff/infer_compiler/backends/oneflow/deployable_module.py:38 - Exception in forward: e=KeyError(oneflow.float16)

strint commented 4 days ago

What example are you running?

liyandong001 commented 6 hours ago

May I ask if there is a conclusion?

strint commented 6 hours ago

May I ask if there is a conclusion?

More context is needed. What is the example you are running and what is the HF diffusers version.