From 1c1d857d48cfe7aaa6b2a93d9183ed7b58077b3c Mon Sep 17 00:00:00 2001 From: Lars Martin Date: Thu, 8 Feb 2024 10:39:59 +0100 Subject: [PATCH] feat: add bodaay/HuggingFaceModelDownloader (#19791) [bodaay/HuggingFaceModelDownloader](https://github.com/bodaay/HuggingFaceModelDownloader): Simple go utility to download HuggingFace Models and Datasets --- .../HuggingFaceModelDownloader/pkg.yaml | 4 ++++ .../HuggingFaceModelDownloader/registry.yaml | 20 +++++++++++++++++++ registry.yaml | 19 ++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 pkgs/bodaay/HuggingFaceModelDownloader/pkg.yaml create mode 100644 pkgs/bodaay/HuggingFaceModelDownloader/registry.yaml diff --git a/pkgs/bodaay/HuggingFaceModelDownloader/pkg.yaml b/pkgs/bodaay/HuggingFaceModelDownloader/pkg.yaml new file mode 100644 index 00000000000..d76c38283c0 --- /dev/null +++ b/pkgs/bodaay/HuggingFaceModelDownloader/pkg.yaml @@ -0,0 +1,4 @@ +packages: + - name: bodaay/HuggingFaceModelDownloader@1.2.9 + - name: bodaay/HuggingFaceModelDownloader + version: 1.0.0 diff --git a/pkgs/bodaay/HuggingFaceModelDownloader/registry.yaml b/pkgs/bodaay/HuggingFaceModelDownloader/registry.yaml new file mode 100644 index 00000000000..8636d70d236 --- /dev/null +++ b/pkgs/bodaay/HuggingFaceModelDownloader/registry.yaml @@ -0,0 +1,20 @@ +packages: + - type: github_release + repo_owner: bodaay + repo_name: HuggingFaceModelDownloader + description: Simple go utility to download HuggingFace Models and Datasets + version_constraint: "false" + version_overrides: + - version_constraint: semver("<= 1.0.0") + asset: hfdownloader_{{.OS}}_{{.Arch}}_{{.Version}} + format: raw + rosetta2: true + windows_arm_emulation: true + files: + - name: hfdownloader + - version_constraint: "true" + asset: hfdownloader_{{.OS}}_{{.Arch}}_{{.Version}} + format: raw + windows_arm_emulation: true + files: + - name: hfdownloader diff --git a/registry.yaml b/registry.yaml index 6850d31c7ca..0788d185a08 100644 --- a/registry.yaml +++ b/registry.yaml @@ -7774,6 +7774,25 @@ packages: supported_envs: - linux/amd64 - darwin + - type: github_release + repo_owner: bodaay + repo_name: HuggingFaceModelDownloader + description: Simple go utility to download HuggingFace Models and Datasets + version_constraint: "false" + version_overrides: + - version_constraint: semver("<= 1.0.0") + asset: hfdownloader_{{.OS}}_{{.Arch}}_{{.Version}} + format: raw + rosetta2: true + windows_arm_emulation: true + files: + - name: hfdownloader + - version_constraint: "true" + asset: hfdownloader_{{.OS}}_{{.Arch}}_{{.Version}} + format: raw + windows_arm_emulation: true + files: + - name: hfdownloader - type: github_release repo_owner: bojand repo_name: ghz