Skip to content

fix: when find already_loaded model, remove loaded by array index#15382

Merged
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
huaizong:fix/whz/model-loaded-remove-v3
Mar 30, 2024
Merged

fix: when find already_loaded model, remove loaded by array index#15382
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
huaizong:fix/whz/model-loaded-remove-v3

Conversation

@huaizong
Copy link
Contributor

Description

when model already loaded, the model cache need to remove is not last, so use array index instead of pop last

Screenshots/videos:

Checklist:

@huaizong huaizong requested a review from AUTOMATIC1111 as a code owner March 26, 2024 10:31
@AUTOMATIC1111 AUTOMATIC1111 merged commit 9809619 into AUTOMATIC1111:dev Mar 30, 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