Buckets:

hf-doc-build/doc-dev / kernels /pr_321 /en /cli-download.md
rtrm's picture
|
download
raw
1.33 kB

kernels download

Use kernels download to download kernels that have been locked in a project's kernels.lock file.

Usage

kernels download  [--all-variants]

What It Does

  • Reads the kernels.lock file from the specified project directory
  • Downloads each locked kernel at its pinned revision (SHA)
  • Installs the appropriate variant for your platform (or all variants with --all-variants)

Examples

Download kernels for the current project:

kernels download .

Download all build variants (useful for CI or multi-platform builds):

kernels download . --all-variants

Download kernels for a specific project:

kernels download /path/to/my-project

Options

Option Description
--all-variants Download all build variants of each kernel instead of just the current platform's variant

Prerequisites

Your project directory must contain a kernels.lock file. Generate one using kernels lock.

See Also

Xet Storage Details

Size:
1.33 kB
·
Xet hash:
024e96299cc4dbd06b81ffe22ed12dbb06df9bbe0866d749471cdc4b8b23ed28

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