Skip to main content

Fast transfer of large files with the Hugging Face Hub.

Project description

License GitHub release Contributor Covenant

🤗 hf-xet - xet client tech, used in huggingface_hub

Welcome

hf-xet enables huggingface_hub to utilize xet storage for uploading and downloading to HF Hub. Xet storage provides chunk-based deduplication, efficient storage/retrieval with local disk caching, and backwards compatibility with Git LFS. This library is not meant to be used directly, and is instead intended to be used from huggingface_hub.

Key features

chunk-based deduplication implementation: avoid transferring and storing chunks that are shared across binary files (models, datasets, etc).

🤗 Python bindings: bindings for huggingface_hub package.

network communications: concurrent communication to HF Hub Xet backend services (CAS).

🔖 local disk caching: chunk-based cache that sits alongside the existing huggingface_hub disk cache.

Installation

Install the hf_xet package with pip:

pip install hf_xet

Quick Start

hf_xet is not intended to be run independently as it is expected to be used from huggingface_hub, so to get started with huggingface_hub check out the documentation here.

Contributions (feature requests, bugs, etc.) are encouraged & appreciated 💙💚💛💜🧡❤️

Please join us in making hf-xet better. We value everyone's contributions. Code is not the only way to help. Answering questions, helping each other, improving documentation, filing issues all help immensely. If you are interested in contributing (please do!), check out the contribution guide for this repository.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hf_xet-1.5.2rc1.tar.gz (899.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

hf_xet-1.5.2rc1-cp314-cp314t-win_arm64.whl (3.8 MB view details)

Uploaded CPython 3.14tWindows ARM64

hf_xet-1.5.2rc1-cp314-cp314t-win_amd64.whl (4.0 MB view details)

Uploaded CPython 3.14tWindows x86-64

hf_xet-1.5.2rc1-cp314-cp314t-musllinux_1_2_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

hf_xet-1.5.2rc1-cp314-cp314t-musllinux_1_2_aarch64.whl (4.4 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

hf_xet-1.5.2rc1-cp314-cp314t-manylinux_2_28_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

hf_xet-1.5.2rc1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ x86-64

hf_xet-1.5.2rc1-cp314-cp314t-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

hf_xet-1.5.2rc1-cp314-cp314t-macosx_10_12_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.14tmacOS 10.12+ x86-64

hf_xet-1.5.2rc1-cp38-abi3-win_arm64.whl (3.8 MB view details)

Uploaded CPython 3.8+Windows ARM64

hf_xet-1.5.2rc1-cp38-abi3-win_amd64.whl (4.0 MB view details)

Uploaded CPython 3.8+Windows x86-64

hf_xet-1.5.2rc1-cp38-abi3-musllinux_1_2_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ x86-64

hf_xet-1.5.2rc1-cp38-abi3-musllinux_1_2_aarch64.whl (4.4 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

hf_xet-1.5.2rc1-cp38-abi3-manylinux_2_28_aarch64.whl (4.2 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

hf_xet-1.5.2rc1-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

hf_xet-1.5.2rc1-cp38-abi3-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

hf_xet-1.5.2rc1-cp38-abi3-macosx_10_12_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file hf_xet-1.5.2rc1.tar.gz.

File metadata

  • Download URL: hf_xet-1.5.2rc1.tar.gz
  • Upload date:
  • Size: 899.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for hf_xet-1.5.2rc1.tar.gz
Algorithm Hash digest
SHA256 f2a7d686516621f32efcd4536e266e6cf391470aed4dbd186c2ad67a844990cb
MD5 e3d42f3ecd5408a53d606dd3c014b2bc
BLAKE2b-256 aa9cb97fa6e5dd4011ad230ac98bbddcd10a032aa93446cb28db9d3ee6699035

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1.tar.gz:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp314-cp314t-win_arm64.whl.

File metadata

  • Download URL: hf_xet-1.5.2rc1-cp314-cp314t-win_arm64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: CPython 3.14t, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for hf_xet-1.5.2rc1-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 9815faca6203145c2997e3488371eebf0eefbbe0ebfbb51a94a6427d96d92aed
MD5 dc60ac25c61b4287126c35c5bba2f4a2
BLAKE2b-256 33ed07f61f71203bde96d3ddee8a5212f59d6891c17cae873960a2c365634c1c

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp314-cp314t-win_arm64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp314-cp314t-win_amd64.whl.

File metadata

  • Download URL: hf_xet-1.5.2rc1-cp314-cp314t-win_amd64.whl
  • Upload date:
  • Size: 4.0 MB
  • Tags: CPython 3.14t, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for hf_xet-1.5.2rc1-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 ff850125c7f672282e361e8a3de8ca0225e55fc7aacb7ae1a7f397ff1dba329f
MD5 5b525ffd18db30bdf91cbd0567aa39ff
BLAKE2b-256 643034327a4d307cf5eea7b897c2e3801f3328f397522011291cb2f2933e52e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp314-cp314t-win_amd64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d930e414eb623bfb652770d22b8ba7257f7697f6fcbcd2a018e7de6e55d69925
MD5 d3efd92e150ed7efa7a642f261a22a39
BLAKE2b-256 5a05328d1c2425ad951df1061e2757eea2bcc259d021cf45016912f62a8cd2a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp314-cp314t-musllinux_1_2_x86_64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2ecd15719a5c6ab751e6f14b5c9bd21ca182ccff108d677f095c0ba26b590e6d
MD5 7142f90c83fe18360c578e500f3fd7a3
BLAKE2b-256 541084fb986f68e46b11377f6271838c6b54fb5111b449d4c54bf218269f3a41

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp314-cp314t-musllinux_1_2_aarch64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp314-cp314t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc1-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 468cac8ca925d5f66588ed3ff2fc31261736084992c979e487c7dae54ff3580f
MD5 900c8cf9de6c74cfb36ec6aba60dc726
BLAKE2b-256 7431bd9060f99b04c6b88867c15dd004b43c48a1e099b288a44e205ce69c64ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp314-cp314t-manylinux_2_28_aarch64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 601149a364bf71c07b5b10597802c6ce7785aa395838b5321e5a167ec7970b0a
MD5 1ec40acf78e49d730ad654ed7c7895e0
BLAKE2b-256 fe7e90bff1065bc65446ec260f10a476d6ba86031763577fb581089e4cb8f900

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc1-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c3ca20da70794a908253cea66ced161dab5c39eb42254fd474a54cbf687164ce
MD5 cf7fb8c8233e81ababcf1e0377f46558
BLAKE2b-256 4adbf7f97d97a257b6461862219f384fd9b28ce283a56aff8e4ab84a6e1e391c

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp314-cp314t-macosx_11_0_arm64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp314-cp314t-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc1-cp314-cp314t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2047fae96e484b9998be2f7459a38b4336e88c38cdf33a084ee0c3db20a381a7
MD5 5b28030ea04af0b1b1809ef288d7c792
BLAKE2b-256 2d4aefc918d662fd1b1f84e615f1c94020767839b2e1630fb5be54484e1bb618

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp314-cp314t-macosx_10_12_x86_64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp38-abi3-win_arm64.whl.

File metadata

  • Download URL: hf_xet-1.5.2rc1-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: CPython 3.8+, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for hf_xet-1.5.2rc1-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ac505f1227e8ff6dea075b64c5d9ebcb6eea53d1351a97350a395026aef0c7ae
MD5 71a99b4898d47fce45a76f27516000e0
BLAKE2b-256 9737db07c1e687c0d26ef85c0f13b43635aba7f5044fb738cc9cc1b6248ffa9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp38-abi3-win_arm64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: hf_xet-1.5.2rc1-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 4.0 MB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for hf_xet-1.5.2rc1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 442d1c7514d3e59831dabc71b4cc4613afec0c2240eeaa8ac6039a2054513110
MD5 aa4523082b7e43ddd1d3d933b6d50c91
BLAKE2b-256 76a16a5c0a13dc347f70e94b42d8a346ddb8607eaf478fb8ada3e7f166ce1807

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp38-abi3-win_amd64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc1-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d0b5697cecccea3c70e9f08e775c294a3828f3a4fe5777413c2e9240bc5625d8
MD5 5403558688e89744b1900a7b4733f086
BLAKE2b-256 ffbd81c6786af3ea0c6c576d15a7987be149c827a5d08363f42335389d50c592

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp38-abi3-musllinux_1_2_x86_64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc1-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d0f1e32373b37e7db265d2e995fe6fe4393e0a8790ef60450881ff451be79047
MD5 1586bc53e6d2fda21de0ea969303f86e
BLAKE2b-256 8938e0b03dd77be1da3065404e2339e17758e30cd06f2d8f5ba6a7da22686075

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp38-abi3-musllinux_1_2_aarch64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc1-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1cb325da6833534fcbd6fc6e11c49550faa1309918e3f5ddcde93c69d8471182
MD5 e7533617401b3112ca7c0b144838d01e
BLAKE2b-256 df1578af6d0691ad9e3863aa9e99f440caadac20387664a12d10e3fefad3b212

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp38-abi3-manylinux_2_28_aarch64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc1-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 b684b27a48579e70374ba2df38a6a762881080aa2937899499695b3088814113
MD5 8011d6cf9202c5154861383c77f78d2d
BLAKE2b-256 9a9e726d239fd1604b05fdab275910bfa137b64499baf44a02d05b9af0a04936

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e14b1ef6cfa1af3eccf3082374f05de3027185882eb612895fc31f8ad253f041
MD5 0076a65f444fd826a7e522f63e148f2f
BLAKE2b-256 ada0d60ce5f0ba6263e1c55be4d1f0dd10bc30692a77af964f5e053fb9733242

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp38-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hf_xet-1.5.2rc1-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc1-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9dc6776632bedd6c28c37ac46b6284e53e5d92ec3607c17a38cfe1381168854c
MD5 90ea3fbd25c651c5b4bd270e0d4c5899
BLAKE2b-256 6a8169ed02c39c7b5f1418ea22e15c4d73a298d6fe119d008ac11612aa337519

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc1-cp38-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on huggingface/xet-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page