-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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.1-dev FP8 Example Code Cleanup #9690
Comments
Thanks for making it leaner! Would you like to open a PR? You can tag @sayakpaul for reviews if you do |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was looking at the FLUX.1-dev FP8 example code in the documentation and noticed some unnecessary imports and variable declarations, which make it appear longer and cluttered. Here is the shorter version of the code I'm currently using. Please note that I'm not an expert, just trying to make it easier for anyone else looking to run the code.
Optimizations made:
Removed unnecessary code and reduced the line count from 32 to 26.
The text was updated successfully, but these errors were encountered: