]> git.djapps.eu Git - pkg/ggml/sources/whisper.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>
Sun, 16 Jun 2024 15:19:48 +0000 (18:19 +0300)
commitc4de1e19dfacfb35dca75e8e30e0bfce3414b34b
treeac7d91d38beb34336c5ff70431877a4492eefb5b
parent5b7073cae14ef3e67694556abb0c608b7c3da7df
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