-
Notifications
You must be signed in to change notification settings - Fork 362
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
Added flux demo #3418
base: main
Are you sure you want to change the base?
Added flux demo #3418
Conversation
# TODO: Memory control prototyping. Under discussion | ||
self.module.to("cpu") | ||
torch.cuda.empty_cache() | ||
del self.module | ||
gc.collect() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can use delete module call here
demo/flux_demo.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to examples
b2eb297
to
6d36077
Compare
Can the app display the inference time, might be nice to have some stats rendered live as you generate |
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant and/or add your own.
Checklist: