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

v21.5.1 #588

Merged
merged 55 commits into from
Apr 9, 2023
Merged

v21.5.1 #588

merged 55 commits into from
Apr 9, 2023

Conversation

bmaltais
Copy link
Owner

@bmaltais bmaltais commented Apr 9, 2023

  • 2023/04/08 (v21.5.1)
    • Integrate latest sd-scripts updates. Not integrated in the GUI. Will consider if you think it is wort integrating. At the moment you can add the required parameters using the Additional parameters field under the Advanced Configuration accordion in the Training Parameters tab:
      • There may be bugs because I changed a lot. If you cannot revert the script to the previous version when a problem occurs, please wait for the update for a while.

      • Added a feature to upload model and state to HuggingFace. Thanks to ddPn08 for the contribution! PR #348

      • When --huggingface_repo_id is specified, the model is uploaded to HuggingFace at the same time as saving the model.

      • Please note that the access token is handled with caution. Please refer to the HuggingFace documentation.

      • For example, specify other arguments as follows.

        • --huggingface_repo_id "your-hf-name/your-model" --huggingface_path_in_repo "path" --huggingface_repo_type model --huggingface_repo_visibility private --huggingface_token hf_YourAccessTokenHere
      • If public is specified for --huggingface_repo_visibility, the repository will be public. If the option is omitted or private (or anything other than public) is specified, it will be private.

      • If you specify --save_state and --save_state_to_huggingface, the state will also be uploaded.

      • If you specify --resume and --resume_from_huggingface, the state will be downloaded from HuggingFace and resumed.

        • In this case, the --resume option is --resume {repo_id}/{path_in_repo}:{revision}:{repo_type}. For example: --resume_from_huggingface --resume your-hf-name/your-model/path/test-000002-state:main:model
      • If you specify --async_upload, the upload will be done asynchronously.

      • Added the documentation for applying LoRA to generate with the standard pipeline of Diffusers. training LoRA (Google translate from Japanese)

      • Support for Attention Couple and regional LoRA in gen_img_diffusers.py.

      • If you use AND to separate the prompts, each sub-prompt is sequentially applied to LoRA. --mask_path is treated as a mask image. The number of sub-prompts and the number of LoRA must match.

    • Resolved bug double --caption_dropout_every_n_epochs="3" #554

@bmaltais bmaltais merged commit 829b923 into master Apr 9, 2023
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.

7 participants