Fix "CUDA has been initialized before importing the `spaces` package"

#13
by chris-rannou HF Staff - opened

Diffusers package initializes CUDA leading to the "CUDA has been initialized before importing the spaces package" error.
Moving up the spaces import fixes the issue

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment