Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for downloading models from huggingface #75

Merged
merged 2 commits into from
Dec 7, 2024

Conversation

HCookie
Copy link
Member

@HCookie HCookie commented Dec 6, 2024

Add support for huggingface

Models will be downloaded from huggingface through specification in the config.

checkpoint:
  huggingface:
    repo_id: "ecmwf/aifs-single"
    filename: "aifs_single_v0.2.1.ckpt"

📚 Documentation preview 📚: https://anemoi-inference--75.org.readthedocs.build/en/75/

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.00%. Comparing base (b1d2560) to head (bfe73f0).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #75   +/-   ##
========================================
  Coverage    75.00%   75.00%           
========================================
  Files            1        1           
  Lines            4        4           
========================================
  Hits             3        3           
  Misses           1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@HCookie HCookie added the enhancement New feature or request label Dec 6, 2024
@HCookie HCookie self-assigned this Dec 6, 2024
@b8raoult b8raoult merged commit 1820085 into develop Dec 7, 2024
124 checks passed
@b8raoult b8raoult deleted the feature/huggingface branch December 7, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants