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 <ggerganov@gmail.com>
J
John Balis committed
48aa8fd1f213a69b41569f809cc954f24dbc4366
Parent: 583fd6b
Committed by Georgi Gerganov <ggerganov@gmail.com>
on 5/15/2024, 10:23:33 AM