Skip to main content

Pangu Weather DCU AI4S

Pangu-Weather inference and training optimizations for the AI4S DCU/ROCm competition environment.

Installation

Install the competition runtime first. torch, onescience and apex must match the provided DCU/ROCm environment, so they are deliberately not declared as automatic PyPI dependencies.

pip install EASONEASON

The lightweight Python dependencies (numpy, h5py, tqdm) install automatically. The model checkpoint and ERA5 data are not bundled.

Running

Run in a directory that contains conf/config.yaml and whose relative data and checkpoint paths match that file:

pangu-weather-infer
# or
python -m inference

The package also installs pangu-weather-train.

The default configuration is included in the distribution under pangu_weather_dcu/conf/config.yaml; copy it into the competition workspace before editing paths. Model weights (*.pth) and generated data are excluded from the release on purpose.

Publishing a release

  1. Replace the package name and homepage in pyproject.toml if necessary. PyPI names are global: a name already taken cannot be published.

  2. Create a new version for every upload (for example, change 0.1.0 to 0.1.1). PyPI does not allow replacing an uploaded file.

  3. Build and check the artifacts:

    python -m pip install --upgrade build twine
    python -m build
    python -m twine check dist/*
    
  4. Test on TestPyPI first, then publish to PyPI using a scoped API token:

    python -m twine upload --repository testpypi dist/*
    python -m twine upload dist/*
    

Do not put tokens, checkpoints, or competition datasets in this repository or the distribution.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easoneason-0.1.0.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easoneason-0.1.0-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file easoneason-0.1.0.tar.gz.

File metadata

  • Download URL: easoneason-0.1.0.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.13

File hashes

Hashes for easoneason-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0bda3c88770507a3963ac1138b5d3c5945f77371014c55a9b16fa3eed24f4304
MD5 9173be77b4ea6ddd5b812e56a1d3181d
BLAKE2b-256 f58be1224675d883362fdb2b9afe2520f9bb9e24e2024c72af133d241eb39ec2

See more details on using hashes here.

File details

Details for the file easoneason-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: easoneason-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.13

File hashes

Hashes for easoneason-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29eadd1905a9adaea185e8e629df459403033b8642f990a89cc19ee8abba076e
MD5 a6f36b9283f2375dc12082094f9cce6b
BLAKE2b-256 110fd5acb2d56e2a877b06c2ea41415811cff9ecc875fffa2541bcfc8dde34fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page