-
-
Notifications
You must be signed in to change notification settings - Fork 885
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
Add extra inner steps to reduce minimum required memory #913
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Sygil-Dev#715 Sygil-Dev#699 Sygil-Dev#698 Sygil-Dev#663 Sygil-Dev#625 Sygil-Dev#617 Sygil-Dev#611 Sygil-Dev#604 (Sygil-Dev#716) * Update README.md * Add sampler name to metadata (Sygil-Dev#695) Co-authored-by: EliEron <example@example.com> * old-dev-merge Co-authored-by: EliEron <subanimehd@gmail.com> Co-authored-by: EliEron <example@example.com> * img2img-fix (Sygil-Dev#717) * Revert "img2img-fix (Sygil-Dev#717)" This reverts commit 70d4b1c. * img2img fixes * Revert "img2img fixes" This reverts commit e66eddc. * Revert "Revert "img2img-fix (Sygil-Dev#717)"" This reverts commit bf08b61. * img2img fixed * - Removed duplicated calls to save_sample. - Change variables and arguments to be more self-explanatory and easier to understand what they do. * Moved streamlit files to their proper location, before they were incorrectly added to the repository root folder. * Added retry dependency for the streamlit version. * Added .cmd file for easy running and updating the streamlit version of the UI. * Removed duplicated entry for streamlit on the environment.yaml file. * Removed some unnecessary lines from the the webui_streamlit.cmd file. * add gfpgan folder to gitignore, auto gen by imglab * added placeholder text similar to gradio * added auto conversion for 4 channel PNG to RGB * fix: regex escape characters * Update Readme links to sd-webui when appropriate (Sygil-Dev#781) * Update link to sd-webui when appropriate * added LDSR instruction per devilismyfriend guide * fix: stack overflow during recursion call (Sygil-Dev#784) * Added option to set default sampler name from config file, will be useful for those wanting to change the default sampler and have it persist even when closing the UI and opening it again. * Added try and except block to handle basic errors like StopException which is raised by streamlit when you hit the stop button and KeyError which happens also when stopping the generation because it tries to check the model at the end which is not loaded at that time, this can be ignored and so thats the reason for the exception. * separate css to external file * Added "git pull" and "git stash" to the commands run by the cmd scripts when launching the UI, this should make it so people who use it can automatically update the code from the repo and be up to date without manually using those commands everytime. * resolve conflict with master Co-authored-by: EliEron <subanimehd@gmail.com> Co-authored-by: EliEron <example@example.com> Co-authored-by: ZeroCool <ZeroCool940711@users.noreply.github.com> Co-authored-by: ZeroCool940711 <alejandrogilelias940711@gmail.com> Co-authored-by: Hafiidz <3688500+Hafiidz@users.noreply.github.com> Co-authored-by: Thomas Mello <work.mello@gmail.com>
refactor js_Call hook to take all gradio arguments
* automate conda_env_name as per name in yaml * Embed installation links directly in README.md Include links to Windows, Linux, and Google Colab installations. * Fix conda update in webui.sh for pip bug * Add info about new PRs Co-authored-by: Hafiidz <3688500+Hafiidz@users.noreply.github.com> Co-authored-by: Tom Pham <54967380+TomPham97@users.noreply.github.com> Co-authored-by: GRMrGecko <grmrgecko@gmail.com>
Urgent fix to remove whitespace in conda env name
- Adapted changes from CompVis/stable-diffusion@main...Doggettx:stable-diffusion:main - Similar to https://github.com/sd-webui/stable-diffusion/pull/286 - Mask commented-out because idk how to adapt it Note: From what I understood, if the host has enought gpu memory, then this script should not add any extra inner step and it should not have any performance degradation. Otherwise if there is not sufficient free memory, then the script will add the minimum amount of extra inner step as to make sure that the host gpu memory will be sufficient.
swfsql
changed the title
Add extra inner steps to prevent minimum required memory
Add extra inner steps to reduce minimum required memory
Sep 9, 2022
Closed
A better version of this was implemented already. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note: From what I understood, if the host has enought gpu memory, then this script should not add any extra inner step and it should not have any performance degradation. Otherwise if there is not sufficient free memory, then the script will add the minimum amount of extra inner step as to make sure that the host gpu memory will be sufficient.
I'm tagging as a draft because of the mask thing.