Skip to content

Commit

Permalink
Add hf-transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
maresb committed Jan 25, 2025
1 parent 055181a commit ce51c50
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions recipes/hf-transfer/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
context:
version: 0.1.9

package:
name: hf-transfer
version: ${{ version }}

source:
- url: https://pypi.org/packages/source/h/hf-transfer/hf-transfer-${{ version }}.tar.gz
sha256: 035572865dab29d17e783fbf1e84cf1cb24f3fcf8f1b17db1cfc7fdf139f02bf

build:
script: ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python
- maturin >=1.4,<2
- pip
run:
- python

tests:
- python:
imports:
- hf_transfer
pip_check: true

about:
summary: Speed up file transfers with the Hugging Face Hub.
home: https://github.com/huggingface/hf_transfer
repository: https://github.com/huggingface/hf_transfer
license: Apache-2.0
license_file: LICENSE

extra:
recipe-maintainers:
- maresb

0 comments on commit ce51c50

Please sign in to comment.