diff --git a/examples/kernels/cutlass-gemm-tvm-ffi/CARD.md b/examples/kernels/cutlass-gemm-tvm-ffi/CARD.md index 7ab1bbaf0..927ad93fd 100644 --- a/examples/kernels/cutlass-gemm-tvm-ffi/CARD.md +++ b/examples/kernels/cutlass-gemm-tvm-ffi/CARD.md @@ -12,6 +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, 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/cutlass-gemm/CARD.md b/examples/kernels/cutlass-gemm/CARD.md index 7ab1bbaf0..927ad93fd 100644 --- a/examples/kernels/cutlass-gemm/CARD.md +++ b/examples/kernels/cutlass-gemm/CARD.md @@ -12,6 +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, 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 7ab1bbaf0..927ad93fd 100644 --- a/examples/kernels/extra-data/CARD.md +++ b/examples/kernels/extra-data/CARD.md @@ -12,6 +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, 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 92ecc33da..2868c79f5 100644 --- a/examples/kernels/relu-archs-subset/CARD.md +++ b/examples/kernels/relu-archs-subset/CARD.md @@ -12,6 +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, 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 7ab1bbaf0..927ad93fd 100644 --- a/examples/kernels/relu-backprop-compile/CARD.md +++ b/examples/kernels/relu-backprop-compile/CARD.md @@ -12,6 +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, 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 7ab1bbaf0..927ad93fd 100644 --- a/examples/kernels/relu-compiler-flags/CARD.md +++ b/examples/kernels/relu-compiler-flags/CARD.md @@ -12,6 +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, 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 c7c707151..b970ce415 100644 --- a/examples/kernels/relu-invalid-capability/CARD.md +++ b/examples/kernels/relu-invalid-capability/CARD.md @@ -12,6 +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, 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 7ab1bbaf0..927ad93fd 100644 --- a/examples/kernels/relu-metal-cpp/CARD.md +++ b/examples/kernels/relu-metal-cpp/CARD.md @@ -12,6 +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, 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 7ab1bbaf0..927ad93fd 100644 --- a/examples/kernels/relu-nki/CARD.md +++ b/examples/kernels/relu-nki/CARD.md @@ -12,6 +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, 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 7ab1bbaf0..927ad93fd 100644 --- a/examples/kernels/relu-specific-torch/CARD.md +++ b/examples/kernels/relu-specific-torch/CARD.md @@ -12,6 +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, 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 7ab1bbaf0..927ad93fd 100644 --- a/examples/kernels/relu-torch-bounds/CARD.md +++ b/examples/kernels/relu-torch-bounds/CARD.md @@ -12,6 +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, 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 c7c707151..b970ce415 100644 --- a/examples/kernels/relu-torch-stable-abi/CARD.md +++ b/examples/kernels/relu-torch-stable-abi/CARD.md @@ -12,6 +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, 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 c7c707151..b970ce415 100644 --- a/examples/kernels/relu-triton/CARD.md +++ b/examples/kernels/relu-triton/CARD.md @@ -12,6 +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, 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 7ab1bbaf0..927ad93fd 100644 --- a/examples/kernels/relu-tvm-ffi-compiler-flags/CARD.md +++ b/examples/kernels/relu-tvm-ffi-compiler-flags/CARD.md @@ -12,6 +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, 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 7ab1bbaf0..927ad93fd 100644 --- a/examples/kernels/relu-tvm-ffi/CARD.md +++ b/examples/kernels/relu-tvm-ffi/CARD.md @@ -12,6 +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, 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 92ecc33da..2868c79f5 100644 --- a/examples/kernels/relu/CARD.md +++ b/examples/kernels/relu/CARD.md @@ -12,6 +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, 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 7ab1bbaf0..927ad93fd 100644 --- a/examples/kernels/silu-and-mul-bad-registration/CARD.md +++ b/examples/kernels/silu-and-mul-bad-registration/CARD.md @@ -12,6 +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, 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 7ab1bbaf0..927ad93fd 100644 --- a/examples/kernels/silu-and-mul/CARD.md +++ b/examples/kernels/silu-and-mul/CARD.md @@ -12,6 +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, 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 f0c4376a9..0bb300c38 100644 --- a/kernel-builder/src/init/templates/CARD.md +++ b/kernel-builder/src/init/templates/CARD.md @@ -12,6 +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, 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] }}