Skip to content

b12950

  • b12950
  • 8c447d5
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
  • Choose a tag to compare

  • b12950
  • 8c447d5
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
@am17an am17an tagged this 03 Dec 04:56
A custom op without a function (fun == NULL) is an internal op: userdata
points to a null-terminated string that identifies an op implemented in
the backends. Such an op has no ggml_ function and is not part of the API.

- the CPU backend finds the op by its id, supports_op is false for an id
  that it does not know
- the params of the op are in op_params, after the custom op params
  (GGML_INTERNAL_OP_PARAMS)
- ggml_op_desc() returns the id
- ggml_internal_saxpy is the first op, with a test-backend-ops case
Assets 2
Loading