{"categories":[{"label":"Internet","url":"https://skillfed.io/packages/category/internet/2"}],"enrichment":{"capability":"Accelerates file transfers to and from the Hugging Face Hub by using a compiled backend optimized for high-bandwidth networks, bypassing Python's speed limitations.","skillfed_tags":["performance-optimization","rust-backend"],"use_cases":["Downloading large model weights or datasets on institutional or cloud networks with multi-gigabit connectivity","Uploading large model checkpoints or datasets from high-bandwidth environments where Python I/O is the bottleneck","Batch processing of many large files where cumulative transfer time is significant and network saturation is achievable","Research or production pipelines on dedicated high-speed infrastructure where transfer speed directly impacts iteration time"],"what_it_does":"hf-transfer is a Rust-based acceleration layer for file transfers with the Hugging Face Hub. It replaces the default Python I/O backend to saturate very high-bandwidth network connections\u2014specifically targeting scenarios where Python's GIL and native I/O cannot fully utilize available bandwidth. The package is explicitly a power-user tool: it lacks progress bars, minimal error reporting, and is designed for environments where network speed is the primary constraint, not user experience.\n\nYou enable it by setting the environment variable `HF_HUB_ENABLE_HF_TRANSFER=1` before importing the consuming tool. Once active, any upload or download through the Hub will use hf-transfer's compiled backend. The package has no runtime dependencies and ships as precompiled wheels for most CPU architectures and Python versions from 3.7 onward, making installation straightforward on supported platforms.","worth_installing":"Yes, if you regularly transfer large files on very high-bandwidth networks and have confirmed that Python I/O is your bottleneck. Set `HF_HUB_ENABLE_HF_TRANSFER=1` and it works transparently. No, if you are on typical internet connections, have limited bandwidth, or need detailed progress reporting\u2014the overhead of compilation is not justified and the tool deliberately lacks user-facing features. Verify the unclear license status before use in proprietary contexts."},"id":"hf-transfer","links":{"html":"https://skillfed.io/packages/hf-transfer","md":"https://skillfed.io/packages/hf-transfer.md","pypi":"https://pypi.org/project/hf-transfer/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-01-07","license_spdx":null,"license_treatment":"unclear","name":"hf-transfer","python_support":"supports_current","summary":"Speed up file transfers with the Hugging Face Hub."},"popularity":{"monthly_downloads":5004550,"position":2182,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.1.9"}
