Skip to content

Commit

Permalink
sycl : offload of get_rows set to 0 (ggerganov#10432)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alcpz authored Nov 29, 2024
1 parent 266b851 commit 0f77aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ggml/src/ggml-sycl/ggml-sycl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4493,7 +4493,7 @@ static bool ggml_backend_sycl_device_supports_buft(ggml_backend_dev_t dev, ggml_
static int64_t get_op_batch_size(const ggml_tensor * op) {
switch (op->op) {
case GGML_OP_GET_ROWS:
return op->ne[1]; // this will increse the speed of prefill in test
return 0;
case GGML_OP_MUL_MAT:
return op->ne[1];
case GGML_OP_MUL_MAT_ID:
Expand Down

0 comments on commit 0f77aae

Please sign in to comment.