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

edit attention key handler: return early when weight parse returns NaN #2312

Merged
merged 1 commit into from
Oct 12, 2022

Conversation

dfaker
Copy link
Collaborator

@dfaker dfaker commented Oct 11, 2022

for the situation where you make an overlapping selection with the same start:

make a selection, press up, and then press shift+backwards, press up again.

Slicing out the float fails with a nan, presumably because it's reading the colon as a float, which overwrites the weight.

@dfaker dfaker requested a review from AUTOMATIC1111 as a code owner October 11, 2022 23:23
@dfaker dfaker changed the title edit attention return early when weight parse returns NaN edit attention key handler: return early when weight parse returns NaN Oct 11, 2022
@AUTOMATIC1111 AUTOMATIC1111 merged commit c15c3b0 into master Oct 12, 2022
@dfaker dfaker deleted the edit-attention-nan-fix branch October 15, 2022 18:08
Atry pushed a commit to Atry/stable-diffusion-webui that referenced this pull request Jul 11, 2024
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.

2 participants