]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml : add `ggml_upscale_ext` (ggml/814)
authorJohn Balis <redacted>
Wed, 15 May 2024 08:52:33 +0000 (03:52 -0500)
committerGeorgi Gerganov <redacted>
Wed, 15 May 2024 10:23:33 +0000 (13:23 +0300)
commit48aa8fd1f213a69b41569f809cc954f24dbc4366
tree30b96c12e34256145cc60a2c6c9648d44e926524
parent583fd6b000ec9ad1b465b5c98524f4a0ae388077
ggml : add `ggml_upscale_ext` (ggml/814)

* initial commit with CPU implementation of upscale to shape and test, cuda implementation next

* experimental commit to see if dst shape is correct

* test version

* test

* removed unnecessary params

* refactor

* fixed tests

* ggml : metal impl + cleanup + sycl dev warnings

* patched ggml_upscale cuda op to handle non-contiguous tensors, added test for non-contiguous behavior

* metal : fix upsacle op to support nb00 + style

---------

Co-authored-by: Georgi Gerganov <redacted>
ggml-cuda/upscale.cu
ggml-metal.m
ggml-metal.metal
ggml-sycl.cpp
ggml.c
ggml.h
tests/test-backend-ops.cpp