]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
metal : add `CONV_TRANSPOSE_2D` (#16542)
authorIlia Ilmer <redacted>
Fri, 17 Oct 2025 06:33:58 +0000 (02:33 -0400)
committerGitHub <redacted>
Fri, 17 Oct 2025 06:33:58 +0000 (09:33 +0300)
commit9ad4f1931ee0f3b41d9355245ef744786aaae0aa
tree852e297fdc1a462cf0681a55918c4751585a5994
parent79967ec596c0dacfd2251b085a57e79df292b1cc
metal : add `CONV_TRANSPOSE_2D` (#16542)

* initial: headers and metal-device.cpp updates

* adding conv_transpose_2d

* fix type

* fix type: int32->int64

* Update ggml/src/ggml-metal/ggml-metal.metal

Co-authored-by: Georgi Gerganov <redacted>
* Update ggml/src/ggml-metal/ggml-metal.metal

Co-authored-by: Georgi Gerganov <redacted>
* Update ggml/src/ggml-metal/ggml-metal.metal

Co-authored-by: Georgi Gerganov <redacted>
* add checks for src[0] and src[1]; add type checks

* Update ggml-metal.metal

Co-authored-by: Georgi Gerganov <redacted>
* add more tests, add optimization to threading

* add dynamic memory allocation in metal

---------

Co-authored-by: Georgi Gerganov <redacted>
ggml/src/ggml-metal/ggml-metal-device.cpp
ggml/src/ggml-metal/ggml-metal-device.h
ggml/src/ggml-metal/ggml-metal-device.m
ggml/src/ggml-metal/ggml-metal-impl.h
ggml/src/ggml-metal/ggml-metal-ops.cpp
ggml/src/ggml-metal/ggml-metal-ops.h
ggml/src/ggml-metal/ggml-metal.metal
tests/test-backend-ops.cpp