Downloads · 30 days
0
it4lia/neuralgcm-torch
neuralgcm-torch is a machine learning model from it4lia. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for neuralgcm-torch. The card lists the license as cc-by-sa-4.0.
<p align="center" <img src="https://huggingface.co/it4lia/neuralgcm-torch/resolve/main/neuralgcm-torch.png" width="296" alt="neuralgcm-torch" </p
Downloads · 30 days
0
Access
Public
Updated Jun 17, 2026
Repo size
414 MB
Likes
1
Public
Click a slice to open those files.
.pt406 MB · 98%
From the Hugging Face model README
NeuralGCM is a hybrid ML + physics global circulation model:
a differentiable spectral dynamical core coupled to learned physics, for medium-range weather forecasting and decade-long climate simulation originally developed in JAX.
This repository hosts the published NeuralGCM v1 checkpoints converted to PyTorch, ready to load with neuralgcm-torch — real
nn.Modules with registered parameters, no JAX, gin or haiku at runtime and
no conversion step at load time.
pip install 'neuralgcm-torch[hub,notebooks]'
import neuralgcm_torch as neuralgcm
from neuralgcm_torch import pretrained
# downloads from this repo on first use (cached)
path = pretrained.fetch_checkpoint('deterministic_2_8_deg')
model = neuralgcm.PressureLevelModel.from_checkpoint(path, device='cuda')
The default Hub repo is it4lia/neuralgcm-torch — override per call with
repo_id= or globally with NEURALGCM_TORCH_HF_REPO.
| file | resolution | parameters | kind |
|---|---|---|---|
deterministic_0_7_deg.pt | 0.7° (TL255) | 31.1M | deterministic |
deterministic_1_4_deg.pt | 1.4° (TL127) | 18.3M | deterministic |
deterministic_2_8_deg.pt | 2.8° (TL63) | 14.5M | deterministic |
stochastic_1_4_deg.pt | 1.4° (TL127) | 11.5M | stochastic (NeuralGCM-ENS) |
stochastic_precip_2_8_deg.pt | 2.8° (TL63) | 11.1M | stochastic, precipitation |
stochastic_evap_2_8_deg.pt | 2.8° (TL63) | 11.1M | stochastic, evaporation |
tl63_stochastic_mini.pt | TL63 toy | 0.19M | stochastic toy / test fixture |
Rules of thumb: the 1.4° stochastic model is the best general-purpose
weather/ensemble model, the 2.8° models are stable for multi-decade climate
runs, and the 0.7° model is the most accurate at short lead times. Each was
converted once, offline from the original JAX pickle (gin config + haiku
parameter tree) into a plain torch.save dictionary — structured config,
auxiliary arrays, and parameter tensors.
Runnable example notebooks — forecasting at every resolution, batched ensembles, precipitation/evaporation, multi-decade climate stability, and the model internals — are rendered as a Jupyter Book at dsip-fbk.github.io/neuralgcm-torch. Source code, the full API and design notes live in the GitHub repository.
These weights are derivative works of the NeuralGCM v1 checkpoints
published by Google at gs://neuralgcm/models/ under
CC BY-SA 4.0. As required by
ShareAlike, they are redistributed under the same license (CC BY-SA 4.0).
This is an independent reimplementation, not affiliated with the original
NeuralGCM authors or Google. The neuralgcm-torch model code is separately
licensed under Apache 2.0.
The PyTorch port and checkpoint conversion were developed at Fondazione Bruno Kessler (FBK) and are hosted on the IT4LIA AI Factory.
<p align="center"> <table align="center" style="border: none; border-collapse: collapse;"> <tr style="border: none;"> <td align="center" style="border: none; padding: 10px;"><a href="https://www.fbk.eu"><img src="https://webvalley.fbk.eu/static/img/logos/fbk-logo-blue.png" width="105" alt="Fondazione Bruno Kessler"></a></td> <td align="center" style="border: none; padding: 10px;"><a href="https://it4lia-aifactory.eu/"><img src="https://it4lia-aifactory.eu/wp-content/uploads/2025/05/logo-IT4LIA-AI-factory.svg" width="125" alt="IT4LIA AI Factory"></a></td> </tr> </table> </p>