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

FLUX latency optimizations #20

Merged
merged 2 commits into from
Aug 19, 2024
Merged

FLUX latency optimizations #20

merged 2 commits into from
Aug 19, 2024

Conversation

atiorh
Copy link
Contributor

@atiorh atiorh commented Aug 18, 2024

  • Remove unnecssary mx.eval calls
  • Remove float32 casting for nn.RMSNorm inputs (has internal high precision accumulators)
  • Remove hardcoded float32 cast for VAE Decoder

@mgierschdev
Copy link

Any ETA for Flux.dev ?

@atiorh atiorh merged commit 3d1b7b7 into main Aug 19, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants