[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Restore partial Windows compatibility by not importing jax unless it's actually needed #131

Open
lethargus opened this issue Oct 31, 2022 · 0 comments

Comments

@lethargus
Copy link

Was using dalle-flow for months with AmericanPresidentJimmyCarter's Discord bot when a few weeks back it broke after a git pull. I shelved looking at why until now.

dalle-flow checks if flax is available, and if it is, will try to import jax. The problem is it then fails with jaxlib required. jaxlib is not available for Windows.

The solution:
pip uninstall jax
pip uninstall flax

And boom now stable-diffusion is working with dalle-flow again. Not sure which executor actually needs jax/flax, but please add a more sane check to not import jax unless it's actually needed. --enable-stable-diffusion does not need either flax or jax

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

No branches or pull requests

1 participant