metadata
library_name: kernels
license: apache-2.0
This is a tiny Kernel Hub repro for C++ standard-library runtime crashes in packaged kernels.
It exposes a CPU op that runs:
std::regexinclude parsingstd::ostringstream/std::hexhash formatting- a simple ReLU copy so the op has a normal tensor path
How to use
from kernels import get_kernel
kernel_module = get_kernel("adarshxs/stdlib-repro", backend="cpu", trust_remote_code=True)
out, digest = kernel_module.relu_and_probe(x, iters=1000)
Available functions
DEFAULT_CODEprobe_stdlibrelu_and_probe