Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Performance 5/6] Prevent unnecessary extra networks bias backup#15816

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
AUTOMATIC1111 merged 2 commits intoAUTOMATIC1111:devfromhuchenlei:bias_backup
Jun 8, 2024

Conversation

@huchenlei
Copy link
Contributor

@huchenleihuchenlei commentedMay 16, 2024
edited
Loading

Description

According tolllyasviel/stable-diffusion-webui-forge#716 (comment) , network_apply always incur some overhead on copying tensors even when no extra networks are enabled. This PR prevents this behaviour. The performance gain is about 25ms/it.

Previously unnecessary weight copy was prevented inhttps://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/12599/files . This PR is just a follow-up and apply the same approach on bias backup.

Screenshots/videos:

328731939-e0634017-9265-49ee-918d-6b3802ff9305

Checklist:

NXTler reacted with thumbs up emoji
@AG-w
Copy link

is it possible to make this compatible with extension that changing lora weight during sampling?

https://github.com/cheald/sd-webui-loractl
https://github.com/AG-w/sd-webui-lora-block-weight

@huchenlei
Copy link
ContributorAuthor

is it possible to make this compatible with extension that changing lora weight during sampling?

https://github.com/cheald/sd-webui-loractlhttps://github.com/AG-w/sd-webui-lora-block-weight

Do you mean that this change will cause dynamic lora weight not working?

@AG-w
Copy link

is it possible to make this compatible with extension that changing lora weight during sampling?
https://github.com/cheald/sd-webui-loractlhttps://github.com/AG-w/sd-webui-lora-block-weight

Do you mean that this change will cause dynamic lora weight not working?

the latest commit fixed it, thanks

@altoiddealer
Copy link

Whoa baby, I am SO looking forward to Forge speeds + ability to use loractl extension.

Absolutely amazing.

Iniquitatis reacted with thumbs up emoji

@AUTOMATIC1111AUTOMATIC1111 merged commit816bc42 intoAUTOMATIC1111:devJun 8, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@AUTOMATIC1111AUTOMATIC1111AUTOMATIC1111 approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@huchenlei@AG-w@altoiddealer@AUTOMATIC1111

[8]ページ先頭

©2009-2025 Movatter.jp