Giter VIP home page Giter VIP logo

ai-models-containers's Introduction

ai-models-containers

(In development) A collection of Dockerfiles to build containers for running ECMWF ai-models

Notes

  • Requires NVIDIA Container Toolkit to build for GPU support
  • Current containers built for CUDA Version 12.3. You may need to modify source image to match CUDA version to your GPU supported version (i.e 12.3, 12.4, etc..)
  • Graphcast untested because of lack of access to GPU with proper memory
  • GPU Memory Requirements:
    • FourCastNet GPU ~ 12 GB
    • PanguWeather ~ 32 GB
    • Graphcast 0.25 Degree ~ 40 GB
    • Graphcast 1.0 Degree ~ 32 GB

Build container for FourCastNet and PanguWeather

docker build --rm --pull -t ai-models - < ai-models.Dockerfile

Build container for Graphcast

docker build --rm --pull -t ai-models-graphcast - < graphcast.Dockerfile

Example running FourCastNet using ECMWF CDS for initial conditions:

(modify paths to assets, outputs, and cdsapirc file to your environment)

docker run --rm -it -e AI_MODELS_ASSETS=/assets/ -v /home/user/ai-models/assets/:/assets -v /home/user/ai-models/output/:/output -v /home/user/.cdsapirc:/root/.cdsapirc --gpus all ai-models:latest ai-models --download-assets --input cds --assets-sub-directory --date 20240713 --path /output/output-{step}.grb fourcastnetv2-small

Example running FourCastNet using GFS for initial conditions:

(modify paths to assets, outputs, and cdsapirc file to your environment)

docker run --rm -it -e AI_MODELS_ASSETS=/assets/ -v /home/user/ai-models/assets/:/assets -v /home/user/ai-models/output/:/output -v /home/user/.cdsapirc:/root/.cdsapirc --gpus all ai-models:latest ai-models-gfs --download-assets --input gfs --assets-sub-directory --date 20240713 --path /output/output-{step}.grb fourcastnetv2-small

Example running Graphcast at 1 degree resolution using GFS for initial conditions:

(modify paths to assets, outputs, and cdsapirc file to your environment)

docker run --rm -it -e AI_MODELS_ASSETS=/assets/ -v /home/user/ai-models/assets/:/assets -v /home/user/ai-models/output/:/output -v /home/user/.cdsapirc:/root/.cdsapirc --gpus all ai-models-graphcast:latest ai-models-gfs --download-assets --input gfs --assets-sub-directory --date 20240713 --path /output/output-{step}.grb --onedeg graphcast

To Do

  • Add GFS input

Disclaimer

This repository is a scientific product and is not official communication of the National Oceanic and Atmospheric Administration, or the United States Department of Commerce. All NOAA GitHub project code is provided on an β€œas is” basis and the user assumes responsibility for its use. Any claims against the Department of Commerce or Department of Commerce bureaus stemming from the use of this GitHub project will be governed by all applicable Federal law. Any reference to specific commercia products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by the Department of Commerce. The Department of Commerce seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to imply endorsement of any commercial product or activity by DOC or the United States Government.

ai-models-containers's People

Contributors

jqs-noaa avatar

Watchers

 avatar Tristan Dietz avatar Curtis Alexander avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.