Skip to content

Vision only model memory issue #84

Open

Description

@ellonde

I have created a vision-only model with the convert tool. When im trying to load it and use it with the python binding as shown below my memory just explodes until my system crashes.

model = Clip(
            model_path_or_repo_id="/path/to/model",
        )
# This is where it explodes
model.load_preprocess_encode_image("/path/to/image")

I have tried both with or without quantization and same results. When I run with same with the full model, i.e. not vision-only it works. Didn't investigate further, and this is a decent workaround for now for me, just wanted to let you know :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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