Skip to content

Bug: openai clip-vit-base-patch16 failes with memory error #17

Closed

Description

@Green-Sky

use any of the models here: https://huggingface.co/Green-Sky/ggml_openai_clip-vit-base-patch16

clip_model_load: ggml ctx size = 287.12 MB
.................................................clip_model_load: model size =   285.77 MB / num tensors = 397
clip_model_load: 8 MB of compute buffer allocated
clip_model_load: model loadded

ggml_new_tensor_impl: not enough space in the scratch memory pool (needed 16992432, available 16777216)
zsl: /home/green/workspace/clip.cpp/ggml/src/ggml.c:4341: ggml_new_tensor_impl: Assertion `false' failed.
Aborted (core dumped)

Activity

  1. monatis commented on Jun 25, 2023

    @monatis
    Owner

    omg, I know why, will patch it shortly. thanks for reporting.

  2. self-assigned this
    on Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions