Skip to content

clip : clip.h become private API (⚠️ breaking change) #13510

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

Merged
merged 1 commit into from
May 13, 2025

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
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