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.6.0.dev0.tar.gz (912.2 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.6.0.dev0-cp314-cp314t-win_arm64.whl (3.8 MB view details)

Uploaded CPython 3.14tWindows ARM64

hf_xet-1.6.0.dev0-cp314-cp314t-win_amd64.whl (4.0 MB view details)

Uploaded CPython 3.14tWindows x86-64

hf_xet-1.6.0.dev0-cp314-cp314t-musllinux_1_2_x86_64.whl (61.0 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

hf_xet-1.6.0.dev0-cp314-cp314t-musllinux_1_2_aarch64.whl (59.4 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

hf_xet-1.6.0.dev0-cp314-cp314t-manylinux_2_28_aarch64.whl (58.9 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

hf_xet-1.6.0.dev0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (65.0 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ x86-64

hf_xet-1.6.0.dev0-cp314-cp314t-macosx_11_0_arm64.whl (6.7 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

hf_xet-1.6.0.dev0-cp314-cp314t-macosx_10_12_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.14tmacOS 10.12+ x86-64

hf_xet-1.6.0.dev0-cp38-abi3-win_arm64.whl (3.9 MB view details)

Uploaded CPython 3.8+Windows ARM64

hf_xet-1.6.0.dev0-cp38-abi3-win_amd64.whl (4.0 MB view details)

Uploaded CPython 3.8+Windows x86-64

hf_xet-1.6.0.dev0-cp38-abi3-musllinux_1_2_x86_64.whl (61.0 MB view details)

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

hf_xet-1.6.0.dev0-cp38-abi3-musllinux_1_2_aarch64.whl (59.3 MB view details)

Uploaded CPython 3.8+musllinux: musl 1.2+ ARM64

hf_xet-1.6.0.dev0-cp38-abi3-manylinux_2_28_aarch64.whl (58.8 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

hf_xet-1.6.0.dev0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (64.9 MB view details)

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

hf_xet-1.6.0.dev0-cp38-abi3-macosx_11_0_arm64.whl (6.7 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

hf_xet-1.6.0.dev0-cp38-abi3-macosx_10_12_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file hf_xet-1.6.0.dev0.tar.gz.

File metadata

  • Download URL: hf_xet-1.6.0.dev0.tar.gz
  • Upload date:
  • Size: 912.2 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.6.0.dev0.tar.gz
Algorithm Hash digest
SHA256 23d5481722be5e1a0b548272cacd251d9039179267305f1297dc8e37ab08cd30
MD5 bf22d25a0d49cd5e860173a288999e6e
BLAKE2b-256 034abb21c1989dedb69c755eeeb68a10a404b031800d1ab18eb94db40061faa3

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0.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.6.0.dev0-cp314-cp314t-win_arm64.whl.

File metadata

File hashes

Hashes for hf_xet-1.6.0.dev0-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 029797f68c40de75fb7cac9be18128998a235d4023181d402a9cd7fd30a2bd17
MD5 f38b08068cdb03974ad4ba3ac0c77928
BLAKE2b-256 d6c5c3a588a8bf3b68e397a06c996d9051f313bd56ebffc5f8dbd16882f1b8ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-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.6.0.dev0-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for hf_xet-1.6.0.dev0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 b11ca4ae34d23b32ebf8386df838f073e8fdb541e9c6a615cbdba1e84cb0cb0e
MD5 081e79d952dd8ab15794da881c211e2f
BLAKE2b-256 ddec7d05c0afa96d57f4a473643ed58f0716621004bfc6b02a18907ed5602c27

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-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.6.0.dev0-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.6.0.dev0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4d4efd56d739b229b04c98e50ac5abf717b4271c3bfdda16c2a19db9c71f2ef1
MD5 286c51fb4c8e3db1126c08e3f05f9bb1
BLAKE2b-256 4c89af391238ee3dda1adac232b985de8403a63b20f9839c2f0a2ee526e9d6c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-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.6.0.dev0-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for hf_xet-1.6.0.dev0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8b8a0b908170aa4b535c9868f1fa730419997cd671c760e7b51751913819899c
MD5 ca9ebe3384c67e7e946135b4542eba4a
BLAKE2b-256 e883040ac425da4c1a7aa5eedb286e38421c17237e0195f04b27da0759f49408

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-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.6.0.dev0-cp314-cp314t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for hf_xet-1.6.0.dev0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6861bd0bff0cf72ada109de7e55ed7fee5da7661b0ce5868d13e9e8f9cee1de7
MD5 76b319e45d6cfd43a46ff65b4712e64e
BLAKE2b-256 ec8d12b0f2d7a353d2cf7ffd0e975e8fdca7f4f434786526d449aeb3bd56dad0

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-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.6.0.dev0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.6.0.dev0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 48344f73828136e0e62d1dddfbedb0a76c15f4b744620986118a4be145f98ceb
MD5 c93786cc37fdda09b8406df3a0a66cef
BLAKE2b-256 de1d1f0a07a62c6d0fe630a5f21fafdee600ca1f4500687f28b3f72d0d48b1a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_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.6.0.dev0-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hf_xet-1.6.0.dev0-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b64b780b18b800abaaf5a8863c116c354c6c2785df3b5284ba832009eaff7d6e
MD5 bd9c626c867b9665e10512918b793ea4
BLAKE2b-256 8b4e556618c3cc0b4c3f7d7f6991694f7d30c240fb5ce611e7906e84a2af1d55

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-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.6.0.dev0-cp314-cp314t-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.6.0.dev0-cp314-cp314t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 59517c7cbd3135b03780029f3d32c233dac26b884d72c7dffcd5965831ee1baf
MD5 46c7afebc22c5fb5d8fe304e5475bfc2
BLAKE2b-256 d7e74f0b981b056901eb7be8fd806bdd13c958ed79f1687c588a98e96ed216b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-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.6.0.dev0-cp38-abi3-win_arm64.whl.

File metadata

  • Download URL: hf_xet-1.6.0.dev0-cp38-abi3-win_arm64.whl
  • Upload date:
  • Size: 3.9 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.6.0.dev0-cp38-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 2fce0d919c592a8b24dd2d1c0cb3357dcf0b23cf6ec6c2459a6bf4f7c221b1cb
MD5 eae30569e1d7f0bed80fdbe6060d132e
BLAKE2b-256 dbc6a6d0286145bf21c7ca22914c20ca61c502230cc1f97de36813bbcd71be0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-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.6.0.dev0-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: hf_xet-1.6.0.dev0-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.6.0.dev0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ba8218547e856b2d82ffeba97002eb672c69492e0160b7164bb7d6a67751a8cd
MD5 f3d707a67555ec7fd6daaded6e024362
BLAKE2b-256 72f965852d11ddbe5e3424c791226be42e163f63309bdcddb9e85d9afd44c571

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-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.6.0.dev0-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.6.0.dev0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2649b68386ad42cd56ed558520d351ebba291476cdbb4243724b2e4be6a0c12d
MD5 606f5ed0e61e467ea19316e0052ef803
BLAKE2b-256 407d0ceafe7a0bd9e24bbb66cf186e6ec3f2ed7c9f30511e4b0e25cdc1325033

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-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.6.0.dev0-cp38-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for hf_xet-1.6.0.dev0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 353dcb26500b33bb67a5abbe366313705119829013c6d12907161cb2ba654e54
MD5 ebe5a3f5a12b6a797f1aaa1fea0c0f8e
BLAKE2b-256 f8ae70eabb7d92102ee97da416e9d8c79f902155f7c7b97a25062618bb16b0fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-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.6.0.dev0-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for hf_xet-1.6.0.dev0-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c5b4e27bc868b583616e1a06a02b66a9da67cc26fa025e32525746a9673528c6
MD5 7f4b51e00e4dc3750db9d1096d0962ca
BLAKE2b-256 2ed4bee699c9305abe28d86a80f2174a045248f97125b9ceb7be5c0826e5fd76

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-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.6.0.dev0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.6.0.dev0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 14ab349224c650aefa7d54e3f2ce6b887a82d5b47d6fb76102c20541309a924f
MD5 c7fb724a790b242721d80095a51eee4b
BLAKE2b-256 e2ba519c59d5308dbf40803da5664a1d97b1d635083b3247a5ef9af5922754c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_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.6.0.dev0-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hf_xet-1.6.0.dev0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ce06abd4d08ae098d4e60ab87b4e3ffd65ed46de98ba8f47da115baad71583f1
MD5 87c09958fcacc08079817288c9f4a52c
BLAKE2b-256 b3add9e94e98a88c3b5e03ad8016d7525d86210d422938e9c7f5301422a904a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-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.6.0.dev0-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for hf_xet-1.6.0.dev0-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 65a9c14ae106931759a2c405fca1a16c3c6bc3230e6cc1326b288fe9e61969d1
MD5 e8e9e5d5e96d304294b8d962f70e6f5b
BLAKE2b-256 a8ab60d854f2393216911ee9e2c9d813fd2edebd9463831f919e42e66f5bd093

See more details on using hashes here.

Provenance

The following attestation bundles were made for hf_xet-1.6.0.dev0-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