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

Rework anemoi snippet #1071

Merged
merged 2 commits into from
Dec 12, 2024
Merged

Conversation

HCookie
Copy link
Contributor

@HCookie HCookie commented Dec 9, 2024

Rework anemoi snippet

from anemoi.inference.runners.default import DefaultRunner
from anemoi.inference.config import Configuration
# Create Configuration
config = Configuration(checkpoint = {"huggingface":{"repo_id":"ecmwf/aifs-single"}})
# Load Runner
runner = DefaultRunner(config)

@Wauplin
Copy link
Contributor

Wauplin commented Dec 11, 2024

Hey @HCookie, PR looks good to me :) Could you ping me once the original PR ecmwf/anemoi-inference#77 got merged? I prefer not to update the snippet here as long as it's not finalized on the library side itself.

@HCookie
Copy link
Contributor Author

HCookie commented Dec 11, 2024

@Wauplin Done.
Thanks for the quick review, and apologies for the double PR.

Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, time to merge then :)

@Wauplin Wauplin merged commit 6ff6584 into huggingface:main Dec 12, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants