]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
model: LFM2-VL fixes (llama/17577)
authorTarek Dakhran <redacted>
Sun, 30 Nov 2025 20:57:31 +0000 (21:57 +0100)
committerGeorgi Gerganov <redacted>
Thu, 11 Dec 2025 13:32:50 +0000 (15:32 +0200)
commit1ab5b45b8ab3aa56d399543413916aa613211966
treef0cec71ffe21d8f1d46f688a2d57b95fa76dc016
parentb134b7f4de6cd3ccd8d96d0ccb238d1b50d277d5
model: LFM2-VL fixes (llama/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
include/ggml.h
src/ggml-cann/ggml-cann.cpp
src/ggml-cpu/ops.cpp
src/ggml-cuda/upscale.cu
src/ggml-metal/ggml-metal-device.m
src/ggml-opencl/ggml-opencl.cpp
src/ggml-sycl/ggml-sycl.cpp
src/ggml-vulkan/ggml-vulkan.cpp
src/ggml.c
tests/test-backend-ops.cpp