Buckets:

|
download
raw
1.68 kB

kernels check

Use kernels check to verify that a kernel on the Hub meets compliance requirements.

What It Checks

  • Python ABI compatibility (default: 3.9)
  • Operating system compatibility (macOS 15.0+, manylinux_2_28)

Usage

kernels check  [--revision ] [--macos ] [--manylinux ] [--python-abi ]

Installation

kernels check requires an additional dependency:

uv pip install kernel-abi-check # or pip install kernel-abi-check

Examples

Check a kernel on the Hub:

kernels check kernels-community/flash-attn3

Check a specific revision:

kernels check kernels-community/flash-attn3 --revision v2

Check with custom compatibility requirements:

kernels check kernels-community/flash-attn3 --python-abi 3.10 --manylinux manylinux_2_31

Example Output

Checking variant: torch210-metal-aarch64-darwin
  Dynamic library _example_kernel_metal_2juixjwdznbhy.abi3.so:
    ๐Ÿ Python ABI 3.9 compatible
    ๐Ÿ compatible with macOS 15.0
Checking variant: torch29-metal-aarch64-darwin
  Dynamic library _example_kernel_metal_vtlnpevkb6uum.abi3.so:
    ๐Ÿ Python ABI 3.9 compatible
    ๐Ÿ compatible with macOS 15.0

Options

Option Default Description
--revision main Branch, tag, or commit SHA to check
--macos 15.0 Minimum macOS version to require
--manylinux manylinux_2_28 Manylinux version to require
--python-abi 3.9 Python ABI version to require

Xet Storage Details

Size:
1.68 kB
ยท
Xet hash:
f4e311fdd24dfd1cfcb90a60793bd6fcd2afc907a349757f4672ad3c72bbc3f0

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.