Skip to content

Commit 2aee620

Browse files
committed
cuda : update support condition
ggml-ci
1 parent 8c2a5fa commit 2aee620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cuda/ggml-cuda.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3393,7 +3393,7 @@ static bool ggml_backend_cuda_device_supports_op(ggml_backend_dev_t dev, const g
33933393
case GGML_OP_GET_ROWS:
33943394
{
33953395
// FIXME: https://github.com/ggml-org/llama.cpp/pull/15868
3396-
if (op->src[1]->ne[2] > 1) {
3396+
if (op->src[1]->ne[1]*op->src[1]->ne[2] > 65535) {
33973397
return false;
33983398
}
33993399
switch (op->src[0]->type) {

0 commit comments

Comments
 (0)