Skip to content

IPAdapterUnifiedLoader cache inconsistency when load_clip_vision got exception #860

Description

@ganlvtech

if clipvision_file != self.clipvision['file']:
if clipvision_file != pipeline['clipvision']['file']:
self.clipvision['file'] = clipvision_file
self.clipvision['model'] = load_clip_vision(clipvision_file)

when load_clip_vision got exception (OOM or file corrupt, ...), self.clipvision['model'] is not updated, and if clipvision_file != self.clipvision['file'] won't enter again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions