]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
model: LFM2-VL fixes (#17577)
authorTarek Dakhran <redacted>
Sun, 30 Nov 2025 20:57:31 +0000 (21:57 +0100)
committerGitHub <redacted>
Sun, 30 Nov 2025 20:57:31 +0000 (21:57 +0100)
commit2ba719519d950c5a62c00cdb8b119cc0914c1fa3
tree80ce04d09afefdede9acc0bf865435e62d4f7b78
parent7f8ef50cce40e3e7e4526a3696cb45658190e69a
model: LFM2-VL fixes (#17577)

* Adjust to pytorch

* Add antialiasing upscale

* Increase number of patches to 1024

* Handle default marker insertion for LFM2

* Switch to flag

* Reformat

* Cuda implementation of antialias kernel

* Change placement in ops.cpp

* consistent float literals

* Pad only for LFM2

* Address PR feedback

* Rollback default marker placement changes

* Fallback to CPU implementation for antialias implementation of upscale
12 files changed:
ggml/include/ggml.h
ggml/src/ggml-cann/ggml-cann.cpp
ggml/src/ggml-cpu/ops.cpp
ggml/src/ggml-cuda/upscale.cu
ggml/src/ggml-metal/ggml-metal-device.m
ggml/src/ggml-opencl/ggml-opencl.cpp
ggml/src/ggml-sycl/ggml-sycl.cpp
ggml/src/ggml-vulkan/ggml-vulkan.cpp
ggml/src/ggml.c
tests/test-backend-ops.cpp
tools/mtmd/clip.cpp
tools/mtmd/mtmd.cpp