Skip to content

Conversation

@ngxson
Copy link
Collaborator

@ngxson ngxson commented May 13, 2025

Cont #13460

clip.h now became a private API. Downstream applications will need to use libmtmd as the replacement.

Why we can't keep clip.h public?

Because there will be a lot of upcoming breaking changes, till a point that it's not worth keeping it public.

Some planned changes are:

  1. Remove some non-thread-safe API (for example, load_image_size API)
  2. stb_image should not be in clip.cpp
  3. clip.cpp will be further broken into clip-graph and clip-preprocess (and maybe have mtmd- prefix instead of clip-)

Plus, maybe many breaking changes that will allow audio input in the future.

@ngxson ngxson requested a review from ggerganov May 13, 2025 13:59
@ngxson ngxson added the breaking change Changes that break ABIs, APIs, file formats, or other forms of backwards compatibility. label May 13, 2025
@ngxson ngxson changed the title mtmd : clip become private API clip : clip.h become private API (⚠️ breaking change) May 13, 2025
@ngxson ngxson merged commit 71bdbdb into ggml-org:master May 13, 2025
44 checks passed
esrakorkmz added a commit to esrakorkmz/llama.cpp that referenced this pull request May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Changes that break ABIs, APIs, file formats, or other forms of backwards compatibility. examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants