|
Download README.md from OneScience-Group/DLESyM: direct link, hf CLI and curl.
- Browser
- Download file 5.54 kB
-
https://huggingface.co/OneScience-Group/DLESyM/resolve/main/README.md
- Command line
-
hf download hf://OneScience-Group/DLESyM/README.md
-
curl -L -o README.md https://huggingface.co/OneScience-Group/DLESyM/resolve/main/README.md
5.54 kB
| license: apache-2.0 | |
| language: | |
| - en | |
| tags: | |
| - OneScience | |
| - Earth Science | |
| - Earth System Model | |
| - Coupled Climate | |
| - Long Simulation | |
| - U-Net | |
| frameworks: PyTorch | |
| <p align="center"><strong><span style="font-size: 30px;">DLESyM</span></strong></p> | |
| # Model Introduction | |
| DLESyM asynchronously couples deep-learning atmosphere and ocean modules for long free-running climate simulations and diagnostic precipitation. | |
| Paper: A Deep Learning Earth System Model for Efficient Simulation of the Observed Climate | |
| https://arxiv.org/abs/2409.16247 | |
| # Model Description | |
| The model was proposed by an atmospheric-science and machine-learning research team. It was trained with 1983–2017 ERA5 fields, ISCCP OLR, and SST. Coupled DLWP, DLOM, and precipitation modules support current-climate simulation and internal-variability analysis. | |
| # Use Cases | |
| | Use Case | Description | | |
| | :---: | :--- | | |
| | Long climate simulation | Run stable atmosphere-ocean rollouts. | | |
| | Climate variability | Analyze ENSO, monsoons, and annular modes. | | |
| | Precipitation diagnosis | Diagnose accumulated precipitation from atmospheric states. | | |
| | ModelScope/OneCode execution | Validate data, training, inference, climate metrics, and visualization. | | |
| | Multi-GPU training | Start multi-process training through `torchrun`. | | |
| # Usage Instructions | |
| Use a GPU or DCU when available; CPU supports the default smoke configuration. | |
| ```bash | |
| hf download OneScience-Group/DLESyM --local-dir ./DLESyM | |
| cd DLESyM | |
| ``` | |
| ### Environment Dependencies | |
| **Hardware Requirements** | |
| - A GPU or DCU is recommended. | |
| - A CPU can be used for connectivity validation with the default small-sample configuration. | |
| - DCU users should install DTK 25.04.2 or a compatible OneScience-recommended version first. | |
| **DCU Environment** | |
| ```bash | |
| # Activate DTK and Conda first | |
| conda create -n onescience311 python=3.11 -y | |
| conda activate onescience311 | |
| pip install onescience[earth-dcu] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.ai | |
| ``` | |
| **GPU Environment** | |
| ```bash | |
| # Activate Conda first | |
| conda create -n onescience311 python=3.11 -y libstdcxx-ng=12 libgcc-ng=12 gcc_linux-64=12 gxx_linux-64=12 | |
| conda activate onescience311 | |
| pip install onescience[earth-gpu] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.ai | |
| ``` | |
| ```bash | |
| python scripts/fake_data.py | |
| python scripts/train.py | |
| torchrun --standalone --nproc_per_node=2 scripts/train.py | |
| python scripts/inference.py | |
| python scripts/result.py | |
| ``` | |
| Training jointly optimizes atmosphere, ocean, and precipitation modules. Inference runs four coupled cycles and evaluation reports finite drift diagnostics. | |
| ## Trained Weights | |
| No weights are bundled under `weight/`. The authors provide configurations and weights at https://github.com/AtmosSci-DLESM/DLESyM. | |
| # Citation and License | |
| This repository is an independent engineering reproduction of the public DLESyM specifications. | |
| The original preprint, official code, model weights, and related data remain subject to their respective licenses and terms. | |
| --- | |
| # 中文说明 | |
| ## 模型简介 | |
| DLESyM 异步耦合深度学习大气和海洋模块,用于长时间自由运行气候模拟与降水诊断。 | |
| 论文《用于高效模拟观测气候的深度学习地球系统模型》 | |
| https://arxiv.org/abs/2409.16247 | |
| ## 模型描述 | |
| 该模型由大气科学和机器学习研究团队提出,使用 1983–2017 年的 ERA5 场、ISCCP OLR 和 SST 训练。耦合的 DLWP、DLOM 和降水模块支持当前气候模拟和内部变率分析。 | |
| ## 使用场景 | |
| | 使用场景 | 说明 | | |
| | :---: | :--- | | |
| | 长时间气候模拟 | 运行稳定的海气耦合滚动模拟。 | | |
| | 气候变率 | 分析 ENSO、季风和环状模。 | | |
| | 降水诊断 | 根据大气状态诊断累积降水。 | | |
| | 在 ModelScope/OneCode 中运行 | 验证数据、训练、推理(inference)、气候指标和可视化。 | | |
| | 多 GPU 训练 | 通过 `torchrun` 启动多进程训练。 | | |
| ## 使用说明 | |
| 有条件时请使用 GPU 或 DCU。CPU 支持默认冒烟测试配置。 | |
| ```bash | |
| hf download OneScience-Group/DLESyM --local-dir ./DLESyM | |
| cd DLESyM | |
| ``` | |
| #### 环境依赖 | |
| **硬件要求** | |
| - 建议使用 GPU 或 DCU。 | |
| - 可使用 CPU 以默认小样本配置验证连通性。 | |
| - DCU 用户应先安装 DTK 25.04.2 或 OneScience 推荐的兼容版本。 | |
| **DCU 环境** | |
| ```bash | |
| # Activate DTK and Conda first | |
| conda create -n onescience311 python=3.11 -y | |
| conda activate onescience311 | |
| pip install onescience[earth-dcu] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.ai | |
| ``` | |
| **GPU 环境** | |
| ```bash | |
| # Activate Conda first | |
| conda create -n onescience311 python=3.11 -y libstdcxx-ng=12 libgcc-ng=12 gcc_linux-64=12 gxx_linux-64=12 | |
| conda activate onescience311 | |
| pip install onescience[earth-gpu] -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.ai | |
| ``` | |
| ```bash | |
| python scripts/fake_data.py | |
| python scripts/train.py | |
| torchrun --standalone --nproc_per_node=2 scripts/train.py | |
| python scripts/inference.py | |
| python scripts/result.py | |
| ``` | |
| 训练联合优化大气、海洋和降水模块。推理运行四个耦合循环,评估报告数值有限的漂移诊断指标。 | |
| ### 训练权重 | |
| `weight/` 下未附带权重。作者在 https://github.com/AtmosSci-DLESM/DLESyM. 提供了配置和权重。 | |
| ## 引用与许可证 | |
| 本仓库是对公开 DLESyM 规范的独立工程复现。 | |
| 原始预印本、官方代码、模型权重和相关数据仍受各自的许可证和条款约束。 | |