Skip to content

App Fatal Error When Last Model is Missing #17

@Proryanator

Description

@Proryanator

Love this app, gonna be really useful in my research. I had tried using a small model a few months back (tried to add it from my downloads) and the app froze, so I removed the model and tried to add a new one. However upon re-running the app, even after fresh clones of the repo, the app immediately crashes here when trying to load the model:

Screenshot 2024-04-21 at 10 17 09 PM

I've isolated this to when the app is trying to load the lastCompiledModel pulling data from Application Support/hf-compiled-transformers. If the shortcut/reference to the last loaded model is gone, the app doesn't handle this very well and crashes.

Could be a small improvement for this but, the fix is to wipe that hf-compiled-transformers folder altogether. But could add in some error checking to be able to handle if the model that you previously had loaded is missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions