-
While attempting to run matrix multiplication operations via IBM zDNN as a backend, I noticed that the I could only assume that this happened because my backend did not list If IBM zDNN requires all tensors to be accompanied with pre-transform, transform, and zTensors. If any tensor does not contain it, the operation will not run. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
All tensors go through the
This is not accurate, |
Beta Was this translation helpful? Give feedback.
All tensors go through the
init_tensor
function of the buffer in which they are allocated. If you found a case where that doesn't happen, it would be a bug. One possibility is that thesupports_buft
function of your backend is not properly setup, and you are receiving tensors from a different buffer type.This is not accurate,
ggml_backend_sched
schedules each operation to a backend that can run it, and it ensures that the tensors are copied to a buffer type that is supported by the backend.