Buckets:

hf-doc-build/doc-dev / kernels /pr_461 /en /cli-versions.md
|
download
raw
1.41 kB

kernels versions

Use kernels versions to list all available versions of a kernel on the Hub and marks compatible versions.

Usage

kernels versions 

Examples

List versions of a kernel:

kernels versions kernels-community/activation

Example Output

Version 1: torch210-metal-aarch64-darwin, torch28-cxx11-cu126-aarch64-linux, torch28-cxx11-cu129-aarch64-linux, torch28-cxx11-cu128-aarch64-linux, torch29-cxx11-cu130-x86_64-linux, torch27-cxx11-cu118-x86_64-linux, torch210-cxx11-cu130-x86_64-linux, torch29-cxx11-cu128-aarch64-linux, torch29-cxx11-cu130-aarch64-linux, torch27-cxx11-cu126-x86_64-linux, ✅ torch29-cxx11-cu126-x86_64-linux (compatible), torch27-cxx11-cu128-x86_64-linux, torch210-cxx11-cu126-x86_64-linux, torch29-metal-aarch64-darwin, torch27-cxx11-cu128-aarch64-linux, torch210-cu128-x86_64-windows, torch28-cxx11-cu128-x86_64-linux, torch28-cxx11-cu126-x86_64-linux, torch210-cxx11-cu128-x86_64-linux, torch29-cxx11-cu126-aarch64-linux, ✅ torch29-cxx11-cu128-x86_64-linux (preferred), torch28-cxx11-cu129-x86_64-linux

Use Cases

  • Check which versions are available before locking dependencies
  • Find the latest version of a kernel
  • Identify version SHAs for pinning in pyproject.toml

See Also

Xet Storage Details

Size:
1.41 kB
·
Xet hash:
59da092e8c8441e15206aa80ff436cb8fd2e1056b4549a765c94b5fb9e89ec14

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