CUDA: add bilinear interpolation for upscale (#14563)

This commit is contained in:
Aman Gupta
2025-07-08 10:11:18 +08:00
committed by GitHub
parent 68155c66f0
commit 75c91de6e9
3 changed files with 93 additions and 8 deletions

View File

@@ -3375,7 +3375,6 @@ static bool ggml_backend_cuda_device_supports_op(ggml_backend_dev_t dev, const g
case GGML_OP_GROUP_NORM:
return ggml_is_contiguous(op->src[0]);
case GGML_OP_UPSCALE:
return op->src[0]->type == GGML_TYPE_F32 && op->op_params[0] == GGML_SCALE_MODE_NEAREST;
case GGML_OP_PAD:
case GGML_OP_ARANGE:
case GGML_OP_TIMESTEP_EMBEDDING: