]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llava: build clip image from pixels (#11999)
authorTing Lou <redacted>
Sat, 22 Feb 2025 14:28:28 +0000 (22:28 +0800)
committerGitHub <redacted>
Sat, 22 Feb 2025 14:28:28 +0000 (15:28 +0100)
commit36c258ee921dbb5c96bdc57c0872e4a9a129bef6
tree520b69e0c60f604f31f64b9274c17c7d310001ae
parentf3e64859edb0d55d4223ead78672597cd1a218df
llava: build clip image from pixels (#11999)

* llava: export function `clip_build_img_from_pixels` to build image from pixels decoded by other libraries instead of stb_image.h for better performance

* Apply suggestions from code review

---------

Co-authored-by: Xuan-Son Nguyen <redacted>
examples/llava/clip.cpp
examples/llava/clip.h