Skip to content
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

onediff instantID error #716

Closed
strint opened this issue Mar 9, 2024 · 7 comments
Closed

onediff instantID error #716

strint opened this issue Mar 9, 2024 · 7 comments

Comments

@strint
Copy link
Collaborator

strint commented Mar 9, 2024

Could you provide a set of revisions for oneflow/onediff/onediffx for which compilation of the InstantID pipeline works? I cannot manage to make it work on my script.

Originally posted by @plienhar in #597 (comment)

@strint
Copy link
Collaborator Author

strint commented Mar 9, 2024

@plienhar what HF diffusers version are you using?

Please diffusers==0.25.1 for the moment.

@strint strint added Request-bug Something isn't working Rsp-triaged Response-need_hours This issue need some hours to be solved and removed Response-triaged labels Mar 9, 2024
@strint strint added this to the v0.13.0 milestone Mar 15, 2024
@strint
Copy link
Collaborator Author

strint commented Mar 15, 2024

@plienhar Please feel free to reopen it if it can't solve you problem.

@strint strint closed this as completed Mar 15, 2024
@strint strint removed the Response-need_hours This issue need some hours to be solved label Mar 15, 2024
@plienhar
Copy link

plienhar commented Mar 18, 2024

Hi @strint,
Sorry for coming back a bit late on this issue. I switched to stable-diff that I managed to get working on InstantID so less pressure to use onediff. I was using diffusers 0.26.2 so this was probably the issue. Here is the requirements.txt I used for my trials:

-f https://github.com/siliconflow/oneflow_releases/releases/expanded_assets/community_cu118
torch
transformers==4.38.2
# onediffx requires diffusers<=0.26.2 
diffusers==0.26.2
accelerate==0.27.2
peft==0.9.0
insightface==0.7.3
onnxruntime-gpu==1.17.0
controlnet_aux==0.0.7
oneflow
git+https://github.com/siliconflow/onediff.git@500459f
git+https://github.com/siliconflow/onediff.git@500459f#subdirectory=onediff_diffusers_extensions

In any case, I could be nice to update the installation section of the docs, the version of diffusers is particularly old :)

@strint strint reopened this Mar 19, 2024
@strint
Copy link
Collaborator Author

strint commented Mar 19, 2024

I could be nice to update the installation section of the docs, the version of diffusers is particularly old :)

Yes, we will do that.

@strint
Copy link
Collaborator Author

strint commented Mar 19, 2024

InstantID so less pressure to use onediff. I was using diffusers 0.26.2

Thanks for the feedback

@chengzeyi
Copy link
Contributor

@strint
Copy link
Collaborator Author

strint commented Mar 19, 2024

I could be nice to update the installation section of the docs, the version of diffusers is particularly old :)

Yes, we will do that.

@plienhar

You can choose the latest versions you want for diffusers or transformers

Update: https://github.com/siliconflow/onediff?tab=readme-ov-file#2-install-torch-and-diffusers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants