-
Notifications
You must be signed in to change notification settings - Fork 146
What Are the Required Library Versions (diffusers/transformers/peft/torch) for Stable Diffusion 3.5? #41
Description
Could you please advise on the specific environment configuration required for using Stable Diffusion 3.5 (especially the stable-diffusion-3.5-large-turbo model)? In particular, what are the compatible version combinations of core libraries such as diffusers, transformers, peft, and torch?
The requirements.txt file in the official GitHub code does not specify exact versions. However, updating all libraries to their latest versions results in various errors stating that certain modules cannot be imported from specific libraries.
Additionally, both the official code and online tutorials only mention updating diffusers to the latest version. Currently, my torch version is 2.2.0, and the latest compatible diffusers version I can install is 0.35. Do I need to update my torch version? From what I can see, the weight files on Hugging Face are all from last year.
I managed to successfully import [the necessary modules] using an older version combination, but then encountered an error indicating a mismatch between the imported model and the weight files—this is presumably also a version-related issue.
Therefore, I would like to know the specific versions of libraries (diffusers, transformers, peft, torch) required for Stable Diffusion 3.5.