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.2rc0.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.2rc0-cp314-cp314t-win_arm64.whl (3.8 MB view details)

Uploaded CPython 3.14tWindows ARM64

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

Uploaded CPython 3.14tWindows x86-64

hf_xet-1.5.2rc0-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.2rc0-cp314-cp314t-musllinux_1_2_aarch64.whl (4.4 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

hf_xet-1.5.2rc0-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.2rc0-cp314-cp314t-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

hf_xet-1.5.2rc0-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.2rc0-cp38-abi3-win_arm64.whl (3.8 MB view details)

Uploaded CPython 3.8+Windows ARM64

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

Uploaded CPython 3.8+Windows x86-64

hf_xet-1.5.2rc0-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.2rc0-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.2rc0-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.2rc0-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.2rc0-cp38-abi3-macosx_11_0_arm64.whl (3.8 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

hf_xet-1.5.2rc0-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.2rc0.tar.gz.

File metadata

  • Download URL: hf_xet-1.5.2rc0.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.2rc0.tar.gz
Algorithm Hash digest
SHA256 5f96509c18c28fe8182cd56291bc609f86b9213d2277c933f610f3f7049c66d5
MD5 98ec5d0310f0766975b5e6beeba9ad23
BLAKE2b-256 5f1121c6756274a6b5a3422f5ec538ccef8f316b2301497097db1418a40e3edf

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0.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.2rc0-cp314-cp314t-win_arm64.whl.

File metadata

  • Download URL: hf_xet-1.5.2rc0-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.2rc0-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 d494b60cf24e65953de4710cd004683e91ff78a34418e58f0f99f0e5ac51f35c
MD5 692f351fc29faf5876838bc7da9c8393
BLAKE2b-256 1361df2dbf0ce3c1b717a6aaa59552c36a3f9c73e57677e2c010f40559fb94b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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.2rc0-cp314-cp314t-win_amd64.whl.

File metadata

  • Download URL: hf_xet-1.5.2rc0-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.2rc0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 f751f2daf371bb17334e474b0aa76509b36c8cdb93a65b09ba021f4106a556e9
MD5 55e65fca5c06f2e329d9d59da2a60cb8
BLAKE2b-256 a6958c03975cd35a9f5f7f2b38b8f1e5b50e7ed617ec32d803bd5f22b0916c18

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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.2rc0-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a62958bdc172b641d69753a24c84d6d5087a285b37bbd3b6da92e85733509c54
MD5 bb34355e1ca4b91e6cef4cf97fce02e9
BLAKE2b-256 374da24b0843e492aacbeea0f1027c94eb26d74c8757f491173f37c6038b7739

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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.2rc0-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 82ab79aaf99afb6f69a58393c7f3e4c225b4f8568eb69b3e84bcd599bfa29456
MD5 9093bf99bf9ad671cdb3021bb99741e7
BLAKE2b-256 d06f2dcda1e46a0015cfca5ee1efd092a20c3e1586c31677f132446a3342e5d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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.2rc0-cp314-cp314t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1c01c40a855ef218d8ecba0f8895cc5d437daf7f0ab2feaf6aa73ca1b80e5080
MD5 7015349d52d22fe7f30a9755ba20fa6b
BLAKE2b-256 f2113f755f50672097e1c2abbaa22e85ccb11ffcffcc9c5a7b56565fa0b013c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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.2rc0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 aee03ecf36cf426e644b994350705b9707c1edcf77fa83e7243e74bb77a80d5c
MD5 9648f448b484ff23a30a9e8a33ea1e07
BLAKE2b-256 e5a52eb5c46b493ceebe3762f498a9369af6fd3366b2032a756de3f26b0925bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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.2rc0-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc0-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0d4edc789d5cfa08bf462c59e1c6051bcf8a8b1d8f6846176abb22fcf032b551
MD5 cc3953439cdeb1487c4196b422fd750a
BLAKE2b-256 f92cd75ae1cc75d0b4dfd757ef62d1ad53ab17038124abc21406be43260bf21f

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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.2rc0-cp314-cp314t-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc0-cp314-cp314t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 61b67f4dc761b96b0c0acd7a65dfc29c9f4afc8aef06259915aca9769390cc00
MD5 f9a28824fbe5c7e4c9fc96a4d499b186
BLAKE2b-256 792b54fe48f1ea2708e06b67c09601f63686d90d26b1801af8aa42864ed0b848

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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.2rc0-cp38-abi3-win_arm64.whl.

File metadata

  • Download URL: hf_xet-1.5.2rc0-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.2rc0-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 37fc59721ca889e4eb1a4b746efe46747752d4a2a0aa4a8763ce43d7a413e569
MD5 9d9f5d952457c85e237fcae16c13ba0f
BLAKE2b-256 2ced7fe6051ca4ef5e81977d44b6d9fa80684b9765c99fb351177ef109a4847c

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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.2rc0-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: hf_xet-1.5.2rc0-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.2rc0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9f220ac6b52512764455ecf54dcb74265958c1890f66c00e81fb291991543aa8
MD5 cefe8452b850f53751e81558216e2616
BLAKE2b-256 4053fb1a79510b028a9f67bf23726f4f886a8195518dce3768a16150cac8ead1

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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.2rc0-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e393985c5eb0e9bcd3bc8431f7e1c52cd075d4492b2408bee6b89a435ad207db
MD5 9be9da7fa8bbe04e65cdcd47958a7975
BLAKE2b-256 f7f1e4fb515d9aae8b1e6160b16a647df7b87dd69223145846aab34a6aa5e915

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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.2rc0-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ffa13d8a2e169cc333745db5c17de83d38d5ac8ed24c0fd98f783b82bdfcbf38
MD5 807cc3c776e4042fa6658aad2400d248
BLAKE2b-256 198670c4d6972f494060808eb37d458aaa8d87eedcbc3f0ed8f5e3060449de7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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.2rc0-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc0-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b4cd10a7372b82e19b8efc7aa4669e3f3a72111f8900313452baedb59591fe4d
MD5 6850c3acfb01c5d51391461fb34b6a27
BLAKE2b-256 45725f31f5d467bf92b8bfbcc4d9ce9506a9201e58e5e02b407a4c6d0b33834d

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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.2rc0-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc0-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 52b62a30f76d94f88e67eefe9ebdc92efb66add83e17dc9bbad6672d2e8776c7
MD5 9c27f93ccc1b98065ed335eeee327886
BLAKE2b-256 f4fd5d839b7f163d9dfff79b05935e8b38957dd02a33d47d73aa29f205c99a8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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.2rc0-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0ca1534e791e222ef3c05bfd7b184d81790092b4bcf4ea2895f7c8589f64f4fa
MD5 46846c9dd1ae805079937bfc23e18ddb
BLAKE2b-256 cc09d9f6d4ad6647a8e0f38db343985ba0008cdf76ae900d98e866db94fc39d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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.2rc0-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.5.2rc0-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 778abc47410ee7fb26cb4133d292e5e757c144f833e429714221b36d80c2b60e
MD5 38f6b07adef42e075f3c24f62c8924a9
BLAKE2b-256 10c438706124609d30b48b3b6717c40d014d3121086e2c53ffa16c9b61c6d3ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.5.2rc0-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