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

fix: don't abandon job on bad lora file #330

Merged
merged 1 commit into from
Sep 17, 2024
Merged

fix: don't abandon job on bad lora file #330

merged 1 commit into from
Sep 17, 2024

Conversation

tazlin
Copy link
Member

@tazlin tazlin commented Sep 17, 2024

Prior to this change, if a LoRa was bad (malformed) on disk it would case the entire job to crash. However, this is not intended; the job should limp forward as would be the case with other forms of LoRa related errors (such as a download failure or baseline mismatches). This change catches any comfyui internal loading related errors and falls back to the model passed to the node (without any changes made within the current call of the lora load).

@tazlin tazlin merged commit ba9456e into main Sep 17, 2024
1 of 2 checks passed
@tazlin tazlin deleted the bad-lora-fix branch September 17, 2024 13:33
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.

1 participant