You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* kernel-builder: revamp metadata writing
* Strongly type the kernel identifier within kernel-builder.
* Write the kernel identifier to the kernel metadata.
* Make noarch kernels include the backend in the identifier as well.
* Fix tvm-ffi build-time metadata update to include the arches.
* Rename build-time metadata update script to be more general.
* Run the build-time metadata update script for non-CUDA/ROCm backends.
This is not strictly necessary now, but allows us to add other
metadata bits in the future.
* Add a build hook that validates the metadata after build using
the Rust-side data structures. This ensures that build-time changes
are valid and schema-conforming.
* kernels: support kernel id metadata and use as kernel name
This change adds support for kernel id metadata and uses the kernel id
(when present) as the identifier in the Python module table in place of
the path hash.
* Clippy fix
* Update CLI docs
* Add additional metadata fields to the docs
* Add neuron to noarch _ops
* metadata warning: tell user how to fix it
* Make id optional
kernels-data is going to be used by `kernels`, so we need to make sure
that we can also read kernels that do not have an id yet.
The backend `type` must be one of `cann`, `cpu`, `cuda`, `metal`, `neuron`,
82
+
`rocm`, or `xpu`. For CUDA and ROCm, the supported architectures must
83
+
be specified in the `archs` field.
84
+
49
85
### Python dependencies
50
86
51
87
You can specify Python dependencies that your kernel requires. Dependencies can be either general (required for all backends) or backend-specific (required only for certain compute backends like CUDA, ROCm, XPU, Metal, or CPU).
0 commit comments