Package for running inference of Anemoi models
Project description
Bris inference
This is a package to run MET Norway's data-driven model Bris, which is based on the Anemoi framework.
Features
- Model and data-parallel inference
- Multi encoder/decoder
- Time interpolation
Documentation
See Wiki
Requirements
- udunits2 library. On ubuntu available as
libudunits2-0 - Running on ARM/MacOS requires some workarounds for now: https://github.com/metno/bris-inference/issues/85
Install
Locally for development
python3 -m venv venv && source venv/bin/activate
pip install -e .
From PIP
pip install bris
Via docker, if you are Met.no employee
See Dockerfile
How to run tests
pip install ".[tests]"
tox
When pushing to github, default tests will be run automatically and must succeed. Read more about Tests in the wiki.
Code borrowed from Anemoi project
- bris/ddp_strategy.py is based on https://github.com/ecmwf/anemoi-core/blob/main/training/src/anemoi/training/distributed/strategy.py
- bris/grid_indices.py is based on https://github.com/ecmwf/anemoi-core/blob/main/training/src/anemoi/training/data/grid_indices.py
- bris/data/data{set,module}.py is somewhat based on https://github.com/ecmwf/anemoi-core/tree/main/training/src/anemoi/training/data
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bris-0.2.0.tar.gz.
File metadata
- Download URL: bris-0.2.0.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2755721946216d885057eed2da474299ed676ec46812a66e6ba292faa86c2345
|
|
| MD5 |
27c54dce91489bca046be270255970e9
|
|
| BLAKE2b-256 |
3eed9008d50e7573dc694a7c865368b4ef341864decfce5ed00c3c6e2fe37eef
|
Provenance
The following attestation bundles were made for bris-0.2.0.tar.gz:
Publisher:
python-publish.yml on metno/bris-inference
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bris-0.2.0.tar.gz -
Subject digest:
2755721946216d885057eed2da474299ed676ec46812a66e6ba292faa86c2345 - Sigstore transparency entry: 221603085
- Sigstore integration time:
-
Permalink:
metno/bris-inference@cef9f23e38db851324c2b62ce3e0dd2eb65e8bd1 -
Branch / Tag:
refs/tags/v0.2.0-1 - Owner: https://github.com/metno
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cef9f23e38db851324c2b62ce3e0dd2eb65e8bd1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file bris-0.2.0-py3-none-any.whl.
File metadata
- Download URL: bris-0.2.0-py3-none-any.whl
- Upload date:
- Size: 85.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe2b6a43ad133a61359b453c3affe0a069a7df762b773e249dfde2b0366be79f
|
|
| MD5 |
bce1afb3100800387d06aa1174ac557e
|
|
| BLAKE2b-256 |
ede555215c5d1c9d0abe1ee09a88d370a1c88071b24a37f4b0622a8e0e3b9187
|
Provenance
The following attestation bundles were made for bris-0.2.0-py3-none-any.whl:
Publisher:
python-publish.yml on metno/bris-inference
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bris-0.2.0-py3-none-any.whl -
Subject digest:
fe2b6a43ad133a61359b453c3affe0a069a7df762b773e249dfde2b0366be79f - Sigstore transparency entry: 221603100
- Sigstore integration time:
-
Permalink:
metno/bris-inference@cef9f23e38db851324c2b62ce3e0dd2eb65e8bd1 -
Branch / Tag:
refs/tags/v0.2.0-1 - Owner: https://github.com/metno
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@cef9f23e38db851324c2b62ce3e0dd2eb65e8bd1 -
Trigger Event:
release
-
Statement type: