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

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

Closed
Green-Sky opened this issue Jun 25, 2023 · 1 comment · Fixed by #18
Closed

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

Green-Sky opened this issue Jun 25, 2023 · 1 comment · Fixed by #18
Assignees

Comments

@Green-Sky
Copy link
Collaborator

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)
@monatis
Copy link
Owner

monatis commented Jun 25, 2023

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

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 a pull request may close this issue.

2 participants