From 027587a40c63e0f507ce8921ca083f692ca72fbe Mon Sep 17 00:00:00 2001 From: sayakpaul Date: Wed, 29 Jul 2026 15:37:49 +0530 Subject: [PATCH 1/3] add comment on trust_remote_code=True --- examples/kernels/cutlass-gemm-tvm-ffi/CARD.md | 2 ++ examples/kernels/cutlass-gemm/CARD.md | 2 ++ examples/kernels/extra-data/CARD.md | 2 ++ examples/kernels/relu-archs-subset/CARD.md | 2 ++ examples/kernels/relu-backprop-compile/CARD.md | 2 ++ examples/kernels/relu-compiler-flags/CARD.md | 2 ++ examples/kernels/relu-invalid-capability/CARD.md | 2 ++ examples/kernels/relu-metal-cpp/CARD.md | 2 ++ examples/kernels/relu-nki/CARD.md | 2 ++ examples/kernels/relu-specific-torch/CARD.md | 2 ++ examples/kernels/relu-torch-bounds/CARD.md | 2 ++ examples/kernels/relu-torch-stable-abi/CARD.md | 2 ++ examples/kernels/relu-triton/CARD.md | 2 ++ examples/kernels/relu-tvm-ffi-compiler-flags/CARD.md | 2 ++ examples/kernels/relu-tvm-ffi/CARD.md | 2 ++ examples/kernels/relu/CARD.md | 2 ++ examples/kernels/silu-and-mul-bad-registration/CARD.md | 2 ++ examples/kernels/silu-and-mul/CARD.md | 2 ++ kernel-builder/src/init/templates/CARD.md | 2 ++ 19 files changed, 38 insertions(+) diff --git a/examples/kernels/cutlass-gemm-tvm-ffi/CARD.md b/examples/kernels/cutlass-gemm-tvm-ffi/CARD.md index 7ab1bbaf0..b0682967f 100644 --- a/examples/kernels/cutlass-gemm-tvm-ffi/CARD.md +++ b/examples/kernels/cutlass-gemm-tvm-ffi/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/cutlass-gemm/CARD.md b/examples/kernels/cutlass-gemm/CARD.md index 7ab1bbaf0..b0682967f 100644 --- a/examples/kernels/cutlass-gemm/CARD.md +++ b/examples/kernels/cutlass-gemm/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/extra-data/CARD.md b/examples/kernels/extra-data/CARD.md index 7ab1bbaf0..b0682967f 100644 --- a/examples/kernels/extra-data/CARD.md +++ b/examples/kernels/extra-data/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-archs-subset/CARD.md b/examples/kernels/relu-archs-subset/CARD.md index 92ecc33da..405c00d01 100644 --- a/examples/kernels/relu-archs-subset/CARD.md +++ b/examples/kernels/relu-archs-subset/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-backprop-compile/CARD.md b/examples/kernels/relu-backprop-compile/CARD.md index 7ab1bbaf0..b0682967f 100644 --- a/examples/kernels/relu-backprop-compile/CARD.md +++ b/examples/kernels/relu-backprop-compile/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-compiler-flags/CARD.md b/examples/kernels/relu-compiler-flags/CARD.md index 7ab1bbaf0..b0682967f 100644 --- a/examples/kernels/relu-compiler-flags/CARD.md +++ b/examples/kernels/relu-compiler-flags/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-invalid-capability/CARD.md b/examples/kernels/relu-invalid-capability/CARD.md index c7c707151..e79d111c2 100644 --- a/examples/kernels/relu-invalid-capability/CARD.md +++ b/examples/kernels/relu-invalid-capability/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-metal-cpp/CARD.md b/examples/kernels/relu-metal-cpp/CARD.md index 7ab1bbaf0..b0682967f 100644 --- a/examples/kernels/relu-metal-cpp/CARD.md +++ b/examples/kernels/relu-metal-cpp/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-nki/CARD.md b/examples/kernels/relu-nki/CARD.md index 7ab1bbaf0..b0682967f 100644 --- a/examples/kernels/relu-nki/CARD.md +++ b/examples/kernels/relu-nki/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-specific-torch/CARD.md b/examples/kernels/relu-specific-torch/CARD.md index 7ab1bbaf0..b0682967f 100644 --- a/examples/kernels/relu-specific-torch/CARD.md +++ b/examples/kernels/relu-specific-torch/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-torch-bounds/CARD.md b/examples/kernels/relu-torch-bounds/CARD.md index 7ab1bbaf0..b0682967f 100644 --- a/examples/kernels/relu-torch-bounds/CARD.md +++ b/examples/kernels/relu-torch-bounds/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-torch-stable-abi/CARD.md b/examples/kernels/relu-torch-stable-abi/CARD.md index c7c707151..e79d111c2 100644 --- a/examples/kernels/relu-torch-stable-abi/CARD.md +++ b/examples/kernels/relu-torch-stable-abi/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-triton/CARD.md b/examples/kernels/relu-triton/CARD.md index c7c707151..e79d111c2 100644 --- a/examples/kernels/relu-triton/CARD.md +++ b/examples/kernels/relu-triton/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-tvm-ffi-compiler-flags/CARD.md b/examples/kernels/relu-tvm-ffi-compiler-flags/CARD.md index 7ab1bbaf0..b0682967f 100644 --- a/examples/kernels/relu-tvm-ffi-compiler-flags/CARD.md +++ b/examples/kernels/relu-tvm-ffi-compiler-flags/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-tvm-ffi/CARD.md b/examples/kernels/relu-tvm-ffi/CARD.md index 7ab1bbaf0..b0682967f 100644 --- a/examples/kernels/relu-tvm-ffi/CARD.md +++ b/examples/kernels/relu-tvm-ffi/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu/CARD.md b/examples/kernels/relu/CARD.md index 92ecc33da..405c00d01 100644 --- a/examples/kernels/relu/CARD.md +++ b/examples/kernels/relu/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/silu-and-mul-bad-registration/CARD.md b/examples/kernels/silu-and-mul-bad-registration/CARD.md index 7ab1bbaf0..b0682967f 100644 --- a/examples/kernels/silu-and-mul-bad-registration/CARD.md +++ b/examples/kernels/silu-and-mul-bad-registration/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/silu-and-mul/CARD.md b/examples/kernels/silu-and-mul/CARD.md index 7ab1bbaf0..b0682967f 100644 --- a/examples/kernels/silu-and-mul/CARD.md +++ b/examples/kernels/silu-and-mul/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/kernel-builder/src/init/templates/CARD.md b/kernel-builder/src/init/templates/CARD.md index f0c4376a9..599fc742d 100644 --- a/kernel-builder/src/init/templates/CARD.md +++ b/kernel-builder/src/init/templates/CARD.md @@ -12,6 +12,8 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel +# If the org / user isn't a trusted publisher, then you should check out the kernel +# source, and need to then pass `trust_remote_code=True`. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} From 353e49d7d769c1919460cc978d36497e013c9c7d Mon Sep 17 00:00:00 2001 From: Sayak Paul Date: Wed, 29 Jul 2026 16:57:30 +0530 Subject: [PATCH 2/3] Update examples/kernels/cutlass-gemm-tvm-ffi/CARD.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Daniƫl de Kok --- examples/kernels/cutlass-gemm-tvm-ffi/CARD.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/kernels/cutlass-gemm-tvm-ffi/CARD.md b/examples/kernels/cutlass-gemm-tvm-ffi/CARD.md index b0682967f..927ad93fd 100644 --- a/examples/kernels/cutlass-gemm-tvm-ffi/CARD.md +++ b/examples/kernels/cutlass-gemm-tvm-ffi/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} From 08d1ab1136527a610ead852aa0306df938b4bc5e Mon Sep 17 00:00:00 2001 From: sayakpaul Date: Wed, 29 Jul 2026 17:00:54 +0530 Subject: [PATCH 3/3] update --- examples/kernels/cutlass-gemm/CARD.md | 6 ++++-- examples/kernels/extra-data/CARD.md | 6 ++++-- examples/kernels/relu-archs-subset/CARD.md | 6 ++++-- examples/kernels/relu-backprop-compile/CARD.md | 6 ++++-- examples/kernels/relu-compiler-flags/CARD.md | 6 ++++-- examples/kernels/relu-invalid-capability/CARD.md | 6 ++++-- examples/kernels/relu-metal-cpp/CARD.md | 6 ++++-- examples/kernels/relu-nki/CARD.md | 6 ++++-- examples/kernels/relu-specific-torch/CARD.md | 6 ++++-- examples/kernels/relu-torch-bounds/CARD.md | 6 ++++-- examples/kernels/relu-torch-stable-abi/CARD.md | 6 ++++-- examples/kernels/relu-triton/CARD.md | 6 ++++-- examples/kernels/relu-tvm-ffi-compiler-flags/CARD.md | 6 ++++-- examples/kernels/relu-tvm-ffi/CARD.md | 6 ++++-- examples/kernels/relu/CARD.md | 6 ++++-- examples/kernels/silu-and-mul-bad-registration/CARD.md | 6 ++++-- examples/kernels/silu-and-mul/CARD.md | 6 ++++-- kernel-builder/src/init/templates/CARD.md | 6 ++++-- 18 files changed, 72 insertions(+), 36 deletions(-) diff --git a/examples/kernels/cutlass-gemm/CARD.md b/examples/kernels/cutlass-gemm/CARD.md index b0682967f..927ad93fd 100644 --- a/examples/kernels/cutlass-gemm/CARD.md +++ b/examples/kernels/cutlass-gemm/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/extra-data/CARD.md b/examples/kernels/extra-data/CARD.md index b0682967f..927ad93fd 100644 --- a/examples/kernels/extra-data/CARD.md +++ b/examples/kernels/extra-data/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-archs-subset/CARD.md b/examples/kernels/relu-archs-subset/CARD.md index 405c00d01..2868c79f5 100644 --- a/examples/kernels/relu-archs-subset/CARD.md +++ b/examples/kernels/relu-archs-subset/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-backprop-compile/CARD.md b/examples/kernels/relu-backprop-compile/CARD.md index b0682967f..927ad93fd 100644 --- a/examples/kernels/relu-backprop-compile/CARD.md +++ b/examples/kernels/relu-backprop-compile/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-compiler-flags/CARD.md b/examples/kernels/relu-compiler-flags/CARD.md index b0682967f..927ad93fd 100644 --- a/examples/kernels/relu-compiler-flags/CARD.md +++ b/examples/kernels/relu-compiler-flags/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-invalid-capability/CARD.md b/examples/kernels/relu-invalid-capability/CARD.md index e79d111c2..b970ce415 100644 --- a/examples/kernels/relu-invalid-capability/CARD.md +++ b/examples/kernels/relu-invalid-capability/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-metal-cpp/CARD.md b/examples/kernels/relu-metal-cpp/CARD.md index b0682967f..927ad93fd 100644 --- a/examples/kernels/relu-metal-cpp/CARD.md +++ b/examples/kernels/relu-metal-cpp/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-nki/CARD.md b/examples/kernels/relu-nki/CARD.md index b0682967f..927ad93fd 100644 --- a/examples/kernels/relu-nki/CARD.md +++ b/examples/kernels/relu-nki/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-specific-torch/CARD.md b/examples/kernels/relu-specific-torch/CARD.md index b0682967f..927ad93fd 100644 --- a/examples/kernels/relu-specific-torch/CARD.md +++ b/examples/kernels/relu-specific-torch/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-torch-bounds/CARD.md b/examples/kernels/relu-torch-bounds/CARD.md index b0682967f..927ad93fd 100644 --- a/examples/kernels/relu-torch-bounds/CARD.md +++ b/examples/kernels/relu-torch-bounds/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-torch-stable-abi/CARD.md b/examples/kernels/relu-torch-stable-abi/CARD.md index e79d111c2..b970ce415 100644 --- a/examples/kernels/relu-torch-stable-abi/CARD.md +++ b/examples/kernels/relu-torch-stable-abi/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-triton/CARD.md b/examples/kernels/relu-triton/CARD.md index e79d111c2..b970ce415 100644 --- a/examples/kernels/relu-triton/CARD.md +++ b/examples/kernels/relu-triton/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-tvm-ffi-compiler-flags/CARD.md b/examples/kernels/relu-tvm-ffi-compiler-flags/CARD.md index b0682967f..927ad93fd 100644 --- a/examples/kernels/relu-tvm-ffi-compiler-flags/CARD.md +++ b/examples/kernels/relu-tvm-ffi-compiler-flags/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu-tvm-ffi/CARD.md b/examples/kernels/relu-tvm-ffi/CARD.md index b0682967f..927ad93fd 100644 --- a/examples/kernels/relu-tvm-ffi/CARD.md +++ b/examples/kernels/relu-tvm-ffi/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/relu/CARD.md b/examples/kernels/relu/CARD.md index 405c00d01..2868c79f5 100644 --- a/examples/kernels/relu/CARD.md +++ b/examples/kernels/relu/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/silu-and-mul-bad-registration/CARD.md b/examples/kernels/silu-and-mul-bad-registration/CARD.md index b0682967f..927ad93fd 100644 --- a/examples/kernels/silu-and-mul-bad-registration/CARD.md +++ b/examples/kernels/silu-and-mul-bad-registration/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/examples/kernels/silu-and-mul/CARD.md b/examples/kernels/silu-and-mul/CARD.md index b0682967f..927ad93fd 100644 --- a/examples/kernels/silu-and-mul/CARD.md +++ b/examples/kernels/silu-and-mul/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }} diff --git a/kernel-builder/src/init/templates/CARD.md b/kernel-builder/src/init/templates/CARD.md index 599fc742d..0bb300c38 100644 --- a/kernel-builder/src/init/templates/CARD.md +++ b/kernel-builder/src/init/templates/CARD.md @@ -12,8 +12,10 @@ This is the repository card of {{ repo_id }} that has been pushed on the Hub. It # make sure `kernels` is installed: `pip install -U kernels` from kernels import get_kernel -# If the org / user isn't a trusted publisher, then you should check out the kernel -# source, and need to then pass `trust_remote_code=True`. +# If the org / user isn't a trusted publisher, pass `trust_remote_code=True` to the +# `get_kernel` call. You can find whether this kernel is from a trusted publisher +# by going to the kernel's Hub page and finding the "Trusted publisher" status at +# the top of the page. kernel_module = get_kernel("{{ repo_id }}", version={{ version }}) {{ functions[0] }} = kernel_module.{{ functions[0] }}