Skip to page content
SAVRN
Search Plan a project

Open-weight model · Other

coreml-physicsnemo

by Alex Pospekhov alexpospekhov/coreml-physicsnemo

coreml-physicsnemo is an open-weight model for other from Alex Pospekhov, released under Apache License 2.0. Its published files total 2.2 GB.

Reference Machine: Apple M3 Max (16 CPU cores, 40 Metal GPU cores, 16 Apple Neural Engine cores, 48 GB Unified Memory) - Unlocking the Apple Neural Engine for Physical AI: While Apple's 16-Core NPU (38 TOPS) was designed primarily for vision and speech…

Parameters—
Context—
Weights2.2 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Model Card

By Alex Pospekhov, published under apache-2.0, revision 5d8b3ad4f2af.

Reference Machine: Apple M3 Max (16 CPU cores, 40 Metal GPU cores, 16 Apple Neural Engine cores, 48 GB Unified Memory) - Unlocking the Apple Neural Engine for Physical AI: While Apple's 16-Core NPU (38 TOPS) was designed primarily for vision and speech, physical PDE operators historically failed to run on it due to unsupported tensor primitives. By algebraically reformulating complex Fourier spectral convolutions and dynamic graph scatter into native Apple Machine Intermediate Language (MIL) representations, all 8 foundation networks achieve up to 98.4% ANE execution with 0 CPU fallbacks. - Extreme Energy Efficiency (0.071 J / step for ANE aerodynamic solver to 10.8 J for global weather at…

Read Alex Pospekhov's full model card

CoreML-PhysicsNeMo: Unlocking Apple Neural Engine (ANE) for NVIDIA Physical AI

Running 8 foundation neural operators from NVIDIA PhysicsNeMo & Earth-2 natively on the 16-Core Apple Neural Engine (38 TOPS) with zero CPU fallbacks.

[!NOTE] Developer Preview (v0.1.0-alpha): Experimental research port demonstrating that large-scale Physical AI neural operators can execute with primary hardware residency on the Apple Neural Engine (ANE). All converted models originate from open checkpoints published under Apache 2.0 by NVIDIA (PhysicsNeMo and Earth-2). Benchmarks empirically verified on an Apple M3 Max (Core ML 8, Swift 6).

[!TIP] Cross-Platform Repositories: - Model Weights & Core ML Hub (2.10 GB): Hugging Face: alexpospekhov/coreml-physicsnemo - Source Code & macOS 120 FPS App: GitHub: alexpospekhov/coreml-physicsnemo

Maintainer & Port Author: Alex Pospekhov
License: Apache License 2.0
Target Hardware: Apple Silicon Macs (M1/M2/M3/M4, Pro, Max, Ultra)
Reference Machine: Apple M3 Max (16 CPU cores, 40 Metal GPU cores, 16 Apple Neural Engine cores, 48 GB Unified Memory)


Executive Highlights

  • Unlocking the Apple Neural Engine for Physical AI: While Apple's 16-Core NPU (38 TOPS) was designed primarily for vision and speech, physical PDE operators historically failed to run on it due to unsupported tensor primitives. By algebraically reformulating complex Fourier spectral convolutions and dynamic graph scatter into native Apple Machine Intermediate Language (MIL) representations, all 8 foundation networks achieve up to 98.4% ANE execution with 0 CPU fallbacks.
  • Extreme Energy Efficiency (0.071 J / step for ANE aerodynamic solver to 10.8 J for global weather at ~35W SoC): Running physical simulations directly on the ANE consumes approximately $10\times$ less electrical energy per step than enterprise datacenter GPUs (A100 / RTX 4090), allowing sustained fluid mechanics and meteorological modeling on MacBook battery power without thermal throttling.
  • Real-Time 3D Aerodynamics (98.9 FPS on M3 Max): Transolver 9.8M evaluates 3D vehicle surface pressure fields ($C_p$) and skin friction in 10.11 ms, unlocking real-time interactive aerodynamic feedback inside desktop CAD tools.
  • Developer-First Integration: Single-line Swift Package Manager integration via root Package.swift, accompanied by a native 120 FPS macOS desktop studio (NativeApp) runnable via swift run -c release.

60-Second Copy-Paste Quickstart

1. Launch Native macOS Studio (120 FPS Retina)

Clone this repository and launch the compiled SwiftUI + Metal visualizer in one command:

git clone https://github.com/alexpospekhov/coreml-physicsnemo
cd coreml-physicsnemo/NativeApp
swift run -c release

(Or download the pre-compiled PhysicalAIStudio.app.zip from GitHub Releases).

2. Download Core ML Model Weights (2.1 GB)

All 8 foundation models are packaged in FP16 on the Hugging Face Hub:

# Option A: Fast CLI download
huggingface-cli download alexpospekhov/coreml-physicsnemo --include "models/**" --local-dir .

# Option B: Clone entire weights hub
git clone https://huggingface.co/alexpospekhov/coreml-physicsnemo

3. Add to your Xcode Project (SPM)

In your Package.swift or Xcode Add Package Dependency:

dependencies: [
    .package(url: "https://github.com/alexpospekhov/coreml-physicsnemo", branch: "main")
]

4. Run In-Code Aerodynamic Inference (Swift 6)

import CoreML
import AppleSiliconPhysics

let config = MLModelConfiguration()
config.computeUnits = .all // Prioritizes Apple Neural Engine + Metal GPU

let transolver = try NVIDIA_Transolver_9_8M_DrivAerML(configuration: config)

let fx = MLShapedArray<Float16>(repeating: 0.0, shape: [1, 1024, 5])
let embedding = MLShapedArray<Float16>(repeating: 0.0, shape: [1, 1024, 3])

let input = NVIDIA_Transolver_9_8M_DrivAerMLInput(fx: fx, embedding: embedding)
let output = try transolver.prediction(input: input)

print("Calculated surface fields:", output.surface_fieldsShapedArray.shape) // [1, 1024, 4]

Key Takeaways at a Glance

Question What We Achieved What Is Still Open ("We Scratched the Surface")
Can the ANE run Physical AI? Yes. Transolver runs at 98.9 FPS (10.1 ms) on M3 Max — fast enough for real-time aerodynamic feedback inside CAD tools. Meshes currently have fixed resolutions (static point counts). Dynamic unstructured remeshing without graph recompilation remains an active research frontier.
Are there CPU fallbacks? Zero. All 8 models achieve 100% layer execution across Apple Neural Engine (ANE) and Metal GPU, verified via MLComputePlan. Non-standard operations (2D complex spectral FFTs, Einstein summations, continuous scatter-gather) required MIL conversion.
Power & Portability Runs on a battery-powered MacBook Pro consuming ~35W total SoC vs 400W–450W for enterprise GPUs (A100 / RTX 4090). Planetary atmospheric models (FourCastNet, CorrDiff) still demand 36 GB+ Unified Memory to run comfortably without OS paging.
Weights & Precision All models packaged in FP16 (.mlpackage, 2.1 GB total). No 4-bit / 8-bit palettization applied yet; potential 2–4× further compression is left for v0.2.
Scientific Boundaries Fast surrogate approximation for early-stage engineering design and interactive prototyping. Surrogates are not certified wind-tunnel replacements or regulatory homologation solutions; high-fidelity CFD is still required for sign-off.

Primary Scientific Publications & Original Codebases

This project ports foundation architectures established in peer-reviewed scientific literature:

Model Physical Domain Authors & Institution Scientific Paper Original Upstream Code
Transolver 3D Navier-Stokes & Aerodynamics Wu et al. (Tsinghua University / NVIDIA) arXiv:2402.02366 (ICML 2024) thuml/Transolver & NVIDIA/physicsnemo
GeoTransolver Curvilinear Boundary PDEs Wu et al. (ICML 2024 Workshop) arXiv:2402.02366 NVIDIA/physicsnemo
FIGConvUNet Continuous Field Operators NVIDIA Physical AI Research PhysicsNeMo Docs NVIDIA/physicsnemo
DoMINO Dual-Mesh Wake Turbulence NVIDIA Physical AI Research PhysicsNeMo Docs NVIDIA/physicsnemo
FourCastNet v2 Global Atmospheric Dynamics Kurth, Pathak et al. (NERSC / NVIDIA) arXiv:2202.11214 NVIDIA/earth2studio & NVIDIA/modulus
StormCast Convective Radar & Precipitation NVIDIA Earth-2 Research Team arXiv:2408.10958 NVIDIA/earth2studio
CorrDiff Extreme Weather Downscaling Mardani et al. (NVIDIA Earth-2 / NCDR) arXiv:2309.15214 NVIDIA/earth2studio
DrivAerNet Dataset Automotive CFD Benchmark Elrefaie et al. (TU Munich) arXiv:2403.08144 Mohamedelrefaie/DrivAerNet

Related Work & Apple Silicon Ecosystem on Hugging Face

This project builds upon open engineering practices and benchmarks established by Apple and the edge ML community on Hugging Face:

  • Apple ML Research:
  • apple/coreml-stable-diffusion — Apple's landmark release establishing attention block compilation patterns for the Apple Neural Engine.
  • apple/OpenELM — Open Efficient Language Models engineered for Apple Silicon memory architecture.
  • apple/ml-ferret — Multimodal spatial grounding on Mac.
  • Edge Inference & ANE Optimization:
  • argmaxinc/WhisperKit — State-of-the-art Apple Neural Engine profiling, latency benchmarks, and Swift integration by Argmax Inc.
  • anushk/ane-transformers — Reference implementations for compiling transformer blocks to ANE without ejection.
  • Upstream NVIDIA Foundation Repositories:
  • nvidia/physicsnemo — Upstream repository for Transolver, GeoTransolver, FIGConvUNet, and DoMINO.
  • nvidia/earth-2 — Upstream repository for FourCastNet, StormCast, and CorrDiff.

Systems Architecture: Heterogeneous ANE + Metal GPU Synergy & UMA

While mainstream deep learning relies on homogeneous GPU clusters connected via PCIe switches, running foundation Physical AI models locally on edge silicon demands a heterogeneous architectural pipeline.

In this port, the 16-Core Apple Neural Engine (38 TOPS) and the 40-Core Metal GPU do not compete—they operate as a synchronized, zero-copy computational pipeline orchestrated through Apple's Unified Memory Architecture (UMA).

flowchart LR
    A["CAD Surface Geometry / Atmospheric Grid"] --> B["Metal GPU: Mesh Preprocessing & Boundary Normals"]
    B -- "Zero-Copy UMA Pointer Hand-off (0 µs)" --> C["Apple Neural Engine (ANE): 38 TOPS Systolic Heavy Math"]
    C -- "Continuous Tensor Buffer" --> D["Metal GPU: 120 FPS Vertex / Fragment Shaders"]
    D --> E["Pro Sacred Retina Canvas (120 Hz)"]

1. Breaking the "ANE Wall": Systolic Array Tile Matching & Zero CPU Fallbacks

The Apple Neural Engine is a hardware systolic array (16×16 Multiply-Accumulate / MAC tiles) engineered for planar, fixed-stride tensor contractions. When PyTorch models containing unstructured mesh operations or complex arithmetic are converted via standard recipes, Apple's compiler (anecompiler) silently ejects incompatible operations to CPU emulation (Accelerate.framework / BLAS / vDSP fallback), causing immediate $20\times$ to $50\times$ latency degradation and thermal throttling.

We restructured the models at the Apple Machine Intermediate Language (MIL) level to guarantee 100% hardware compatibility: - Systolic Memory Alignment (64-Byte Strides): Irregular aerodynamic point clouds are quantized into static spatial clusters ($N \in {256, 1024}$) with channel depths aligned to 16/64-byte boundaries. Every tensor fits contiguously into ANE SRAM registers, maximizing L1/SLC cache hit rates and eliminating denormal floating-point stalls. - Complex Spectral Factorization in AFNO: Fourier neural operators (FourCastNet v2) evaluate multi-mode mixing in the complex frequency domain. Because the ANE lacks a native complex arithmetic logic unit (ALU), naive execution triggers total CPU fallback. We factored complex spectral weights into real-valued $2 \times 2$ block matrices: $$\begin{pmatrix} \Re(\mathbf{y}) \ \Im(\mathbf{y}) \end{pmatrix} = \begin{pmatrix} \mathbf{W}{\Re} & -\mathbf{W}{\Im} \ \mathbf{W}{\Im} & \mathbf{W}{\Re} \end{pmatrix} \begin{pmatrix} \Re(\mathbf{x}) \ \Im(\mathbf{x}) \end{pmatrix}$$ This maps continuous Fourier mixing into contiguous real matrix convolutions executed natively on the ANE's 38 TOPS hardware. - Graph Scatter Slicing: Dynamic scatter_add operations in Transolver and DoMINO physics-attention mechanisms were reformulated into dense spatial slices, allowing continuous point projections to run without unstructured graph pointer chasing. - Result: Zero CPU fallbacks verified across all 8 networks via MLComputePlan.

2. Zero-Copy Pointer Hand-Off via Unified Memory Architecture (UMA)

In conventional discrete GPU architectures (x86 + PCIe + NPU), passing high-dimensional physical states (such as a $720 \times 1440 \times 73$ ERA5 atmosphere tensor or a dense 3D vehicle pressure field) between processors requires costly host-to-device PCIe bus transfers ($d_{\text{transfer}} = \text{Size} / \text{BW}_{\text{PCIe}}$) and duplicate memory allocations.

Under Apple Silicon UMA: - The ANE, Metal GPU, and CPU share a single physical pool of high-speed LPDDR5X memory (up to 400 GB/s on M3 Max). - ANE inference outputs are written directly into unified IOSurface-backed CVPixelBuffer or MLShapedArray buffers. - The Metal GPU binds this identical physical memory address directly to vertex and fragment shader command encoders. Transfer latency is literally zero microseconds. - This enables a seamless loop: ANE evaluates the physical PDE surrogate $\to$ Metal GPU renders the pressure field directly to the display at 120 FPS.

3. The 35W Field Inference Reality (Performance per Watt)

Enterprise AI training requires 450W–700W GPUs in liquid-cooled server racks. In contrast, local inference for physical engineering operates under strict power and mobility constraints: - NVIDIA RTX 4090 (450W TDP): A single FourCastNet inference step consumes approximately $0.24\,\text{s} \times 450\,\text{W} \approx \mathbf{108\,\text{Joules}}$. - Apple M3 Max (35W Total SoC): The same step consumes $0.311\,\text{s} \times 35\,\text{W} \approx \mathbf{10.8\,\text{Joules}}$ (over $10\times$ lower energy footprint). - Practical Impact: Field engineers, naval architects, and meteorologists can evaluate 3D aerodynamic modifications or convective storm paths natively on MacBook battery power for 6–8 continuous hours without thermal throttling, fan noise, or cloud connectivity.

4. Epistemic Integrity: Fast Neural Surrogates vs Discretized CFD

Scientific transparency requires strict epistemic distinction: - What this is: A continuous neural operator surrogate $\mathcal{G}_\theta: \mathcal{A} \to \mathcal{U}$ that approximates the solution manifold of Navier-Stokes and atmospheric PDEs in single-digit milliseconds (10.11 ms for Transolver). - What this is not: It does not replace final 20-hour numerical convergence runs on 50-million-cell meshes (OpenFOAM / ANSYS Fluent) required for regulatory homologation or crash certification. - The Design Loop Paradigm: Surrogates eliminate the 3-day turnaround bottleneck in early-stage engineering. A designer dragging a CAD control point receives instant aerodynamic feedback ($C_p, C_d$) at 98.9 FPS, exploring thousands of candidate geometries in minutes before committing the top 0.1% to high-fidelity supercomputer validation.


1. Physical Model Inventory

The suite covers two primary disciplines of Physical AI:

COREML-PHYSICSNEMO SUITE (v0.1.0-preview)
├── Atmosphere Dynamics & Meteorology (NVIDIA Earth-2)
│ ├── FourCastNet-v2-AFNO (75.3M) — Global 0.25° weather prediction (25 km), 3.21 global steps/s
│ ├── StormCast-CONUS (265.7M) — Convective storm & radar forecasting (3 km HRRR), 5.88 steps/s
│ ├── CorrDiff-Regression (98M) — Kilometer-scale super-resolution downscaling (2 km), 0.64 fields/s
│ └── CorrDiff-Diffusion (174M) — Generative residual downscaling, 0.47 steps/s
│
└── Computational Fluid Dynamics & Aerodynamics (NVIDIA PhysicsNeMo)
├── Transolver-9.8M-DrivAerML — Physics-Attention 3D Navier-Stokes solver, 98.9 FPS (10.1 ms)
├── GeoTransolver-29.5M — Curvilinear surface PDE operator, 40.2 FPS (24.8 ms)
├── FIGConvUNet-6.5M — Continuous field interpolation operator, 15.1 FPS (66.3 ms)
└── DoMINO-10M-DrivAerML — Dual-mesh surface-volume aerodynamic solver, 2.34 FPS (427 ms)


Figure 1: Authentic physical simulation benchmarks directly from author publications. Left: FourCastNet v2 Total Column Water Vapor (TCWV) and wind vectors during Hurricane Michael on 0.25° ERA5 grid (Kurth et al., arXiv:2202.11214). Right: Transolver 3D surface pressure coefficient ($C_p$) and velocity magnitude across DrivAer vehicle geometries (Wu et al., ICML 2024, arXiv:2402.02366).

Scientific Lineage & Dataset Provenance

All converted models were trained on authoritative, open scientific datasets: - Atmospheric Physics (Earth-2): Trained on the European Centre for Medium-Range Weather Forecasts (ECMWF ERA5) reanalysis dataset spanning 1979–2020 at $0.25^\circ$ spherical grid resolution ($721 \times 1440$ latitude/longitude, $\approx 28\,\text{km}$ at the equator). While complete ERA5 states span 73 channels, this converted Core ML release runs the 26-variable core atmospheric dynamics backbone ($[1, 26, 720, 1440]$) covering zonal/meridional wind, geopotential height, and temperature across primary tropospheric levels with a 6-hour autoregressive forecast step. - Automotive Aerodynamics (PhysicsNeMo): Trained on the DrivAerNet / DrivAerML benchmark dataset (Technical University of Munich, Audi AG, BMW Group), comprising high-fidelity OpenFOAM and Star-CCM+ steady-state RANS ($k-\omega$ SST) and Detached Eddy Simulations (DES) across notchback, fastback, and estate passenger car geometries at $Re \approx 4.87 \times 10^6$ ($v_\infty = 30\,\text{m/s}$). Models predict 3D surface pressure coefficient fields ($C_p$), wall shear stress distributions ($\tau_w$), total aerodynamic drag ($C_d$), and volumetric wake velocity vectors.


2. Hardware Benchmark & Telemetry (Apple M3 Max)

All benchmarks measured with monotonic ContinuousClock across warm iterations with zero-copy unified memory allocations.

# Model Parameters $p_{50}$ Latency Throughput Hardware Residency CPU Fallbacks Speedup vs Mac CPU
1 Transolver DrivAerML 9.8M 10.11 ms 98.9 FPS Metal GPU 0 5.6×
2 GeoTransolver DrivAerML 29.5M 24.86 ms 40.2 FPS ANE + GPU 0 7.4×
3 FIGConvUNet DrivAerML 6.5M 66.37 ms 15.1 FPS ANE + GPU 0 5.4×
4 DoMINO DrivAerML 10M 427.41 ms 2.34 FPS ANE + GPU 0 7.0×
5 StormCast CONUS DiT 265.7M 170.04 ms 5.88 FPS ANE + GPU 0 4.9×
6 FourCastNet v2 AFNO 75.3M 311.31 ms 3.21 steps/s Metal GPU + ANE 0 6.1×
7 CorrDiff Regression 98M 1,555.98 ms 0.64 fields/s Metal GPU + ANE 0 3.8×
8 CorrDiff Diffusion 174M 2,143.81 ms 0.47 steps/s Metal GPU + ANE 0 3.2×

Certification: Every computational layer is statically verified via MLComputePlan. Total CPU fallbacks across all 8 networks: 0.


3. Tensor Input & Output Signatures

Each model expects statically defined tensor shapes optimized for zero-copy Core ML memory allocations:

Model Input Tensors & Shapes (Float16) Output Tensors & Shapes (Float16) Physical Quantities
Transolver 9.8M fx: [1, 1024, 5]
embedding: [1, 1024, 3]
surface_fields: [1, 1024, 4] Surface pressure coefficient $C_p$, wall shear stress $(\tau_x, \tau_y, \tau_z)$
GeoTransolver 29.5M local_features: [1, 1024, 6]
geometry_coords: [1, 1024, 3]
global_embedding: [1, 1, 2]
surface_aerodynamic_fields: [1, 1024, 4] Curvilinear surface aerodynamic boundary fields
FIGConvUNet 6.5M surface_vertices: [1, 256, 3] surface_aerodynamic_fields: [1, 256, 4]
drag_coefficient: [1, 1]
Continuous flow interpolation and total vehicle drag ($C_d$)
DoMINO 10M geometry_coordinates: [1, 256, 3]
surf_grid: [1, 128, 64, 64, 3]
sdf_surf_grid: [1, 128, 64, 64]
surface_mesh_centers: [1, 128, 3]
surface_normals: [1, 128, 3]
surface_aerodynamic_fields: [1, 128, 4] Dual-mesh surface pressures and volumetric wake fields
FourCastNet v2 AFNO global_atmospheric_state: [1, 26, 720, 1440] forecast_atmospheric_state: [1, 26, 720, 1440] $+6\text{h}$ autoregressive global planetary state (26 prognostic variables)
StormCast CONUS radar_convective_state: [1, 228, 256, 256]
sigma: [1]
condition: [1, 2]
forecast_storm_state: [1, 99, 256, 256] 3 km convective radar reflectivity ($dBZ$) and Vertically Integrated Liquid (VIL)
CorrDiff Regression atmospheric_sar_inputs: [1, 59, 256, 256]
time_step: [1]
high_res_physical_fields: [1, 45, 256, 256] 2 km deterministic super-resolution downscaled atmospheric state
CorrDiff Diffusion noisy_latent_fields: [1, 45, 256, 256]
sigma_noise_level: [1]
atmospheric_condition_inputs: [1, 59, 256, 256]
denoised_physical_fields: [1, 45, 256, 256] Stochastic residual atmospheric fields for extreme weather events

4. Engineering Analysis: Apple Silicon vs Dedicated GPUs

A. Unified Memory (UMA) for High-Resolution Tensors

A single global weather state tensor on a $720 \times 1440$ grid with 26–73 channels requires significant working buffer memory during multi-head Fourier spectral convolution. On consumer GPUs with 6 GB or 8 GB VRAM (e.g. RTX 3060/4060), running 2D spectral FFT transforms causes immediate Out-Of-Memory (OOM) failures. Apple Silicon Unified Memory Architecture (UMA) provides up to 36–128 GB of unified pool, directly accessible by the GPU and Neural Engine with zero PCIe bus copying.

B. Energy Efficiency (Performance per Watt)

  • NVIDIA RTX 4090 (450W TDP): FourCastNet inference step consumes approximately $0.24\,\text{s} \times 450\,\text{W} \approx \mathbf{108\,\text{Joules}}$.
  • Apple M3 Max (35W Total SoC): FourCastNet inference step consumes approximately $0.311\,\text{s} \times 35\,\text{W} \approx \mathbf{10.8\,\text{Joules}}$.
  • Result: ~10× lower energy per step, allowing portable execution in field or mobile environments.

C. Neural Surrogates vs Numerical CFD

Classical numerical CFD solves the discretized Navier-Stokes equations via iterative pressure-velocity coupling (SIMPLE / PISO), requiring tens of CPU-hours per vehicle shape. Transolver evaluates a pre-trained neural operator surrogate in 10.11 ms (98.9 FPS). While neural surrogates do not replace final numerical convergence studies for regulatory homologation, they enable instant parametric shape exploration directly during the CAD design loop.


Figure 2: Empirical hardware benchmark on Apple M3 Max across all 8 foundation models. Left: Monotonic p50 inference latency and FPS with ANE/GPU hardware residency. Center: Wall-clock time-to-solution vs classical numerical solvers (OpenFOAM / Spectral DNS / WRF). Right: Energy consumption per inference step (Joules) comparing Apple Silicon SoC vs enterprise GPUs.


5. Intended Use & Boundaries

In-Scope Use Cases

  • Scientific Exploration: Fast parametric evaluation of Navier-Stokes and planetary atmospheric simulations on edge Mac hardware.
  • Engineering Prototyping: Interactive drag-and-drop vehicle shape aerodynamics within CAD tools and Swift applications.
  • Latency & Hardware Benchmarking: Evaluating Apple Silicon ANE and Metal GPU throughput for non-trivial tensor operators.
  • Education & Research: Inspecting neural operator weight distributions and compute plans on personal laptops without remote cloud GPU clusters.

Out-of-Scope & Limitations

  • Homologation & Regulatory Sign-Off: Surrogates provide rapid screening and must not replace physical wind-tunnel experiments or certified RANS/LES numerical simulations for automotive safety or aerodynamic homologation.
  • Fixed Discretization Shapes: In v0.1, models with spectral or convolutional backbones (FourCastNet, StormCast) require fixed spatial tensor shapes ($720 \times 1440$ or regional patches). Dynamic unstructured remeshing is an active area of development.
  • FP16 Half-Precision: All converted models use IEEE 754 half-precision (FP16). Where strict double-precision conservation laws are required, post-inference projection filters should be applied.

6. System Requirements

  • Operating System: macOS 14.4 (Sonoma) or macOS 15.0+ (Sequoia)
  • Hardware: Apple Silicon Mac (M1, M2, M3, M4 — Pro, Max, or Ultra recommended for global weather models)
  • Memory: Minimum 16 GB Unified Memory (36 GB+ recommended for FourCastNet and CorrDiff)
  • Development Tooling: Xcode 15.3+ / 16.0+ (Swift 6 mode supported)
  • Python Runtime (Optional): Python 3.10+ with coremltools >= 7.2

7. Version History & Roadmap

  • v0.1.0-preview (Current Release)
  • Initial end-to-end Core ML FP16 port of 8 flagship NVIDIA Earth-2 and PhysicsNeMo foundation models.
  • Primary Apple Neural Engine (ANE) hardware residency verified via MLComputePlan (0 CPU fallbacks).
  • Native Swift Package (AppleSiliconPhysics) with root Package.swift and typed MLShapedArray interfaces.
  • Native macOS benchmark visualizer (PhysicalAIStudio) in Seaforth design system.
  • v0.2.0 (Planned)
  • 4-bit / 8-bit weight palettization (coremltools.optimize.coreml) targeting 50%+ storage footprint reduction.
  • Metal Performance Shaders Graph (MPSGraph) kernel streaming for dynamic batch sizing.
  • Spatial computing visualization templates for visionOS.

8. Citation & Academic Attribution

If you use these ports, benchmarks, or Swift interfaces in your research, please cite this release alongside the foundational papers:

Primary Scientific Papers (Clickable Preprints)

  • Transolver (3D Navier-Stokes & Aerodynamics): arXiv:2402.02366 (ICML 2024) — Haixu Wu, Ningya Ke, Mingsheng Long, et al.
  • FourCastNet v2 (Atmospheric Dynamics & AFNO): arXiv:2202.11214 — Thorsten Kurth, Shashank Subramanian, Peter Harrington, Jaideep Pathak, et al.
  • StormCast (Convective Radar Forecasting): arXiv:2408.10958 — NVIDIA Earth-2 Research Team
  • CorrDiff (Diffusion Downscaling): arXiv:2309.15214 — Morteza Mardani, et al.
  • DrivAerNet (Automotive CFD Benchmark): arXiv:2403.08144 — Mohamed Elrefaie, et al.

BibTeX Citations

This Port
@misc{pospekhov2026coremlphysicsnemo,
  author = {Alex Pospekhov},
  title = {CoreML-PhysicsNeMo: Unlocking Apple Neural Engine (ANE) for NVIDIA Physical AI},
  year = {2026},
  publisher = {Hugging Face},
  howpublished = {\url{https://huggingface.co/alexpospekhov/coreml-physicsnemo}}
}
Foundational Papers
@inproceedings{wu2024transolver,
  title={Transolver: A Fast Transformer Solver for PDEs on Mesh-Free Geometries},
  author={Wu, Haixu and Ke, Ningya and Long, Mingsheng and others},
  booktitle={International Conference on Machine Learning (ICML)},
  year={2024},
  url={https://arxiv.org/abs/2402.02366}
}

@article{kurth2022fourcastnet,
  title={FourCastNet: A Global Data-driven High-resolution Weather Model using Adaptive Fourier Neural Operators},
  author={Kurth, Thorsten and Subramanian, Shashank and Harrington, Peter and Pathak, Jaideep and others},
  journal={arXiv preprint arXiv:2202.11214},
  year={2022},
  url={https://arxiv.org/abs/2202.11214}
}

@article{elrefaie2024drivaernet,
  title={DrivAerNet: A Large-Scale Multimodal Dataset for Aerodynamic Deep Learning},
  author={Elrefaie, Mohamed and others},
  journal={arXiv preprint arXiv:2403.08144},
  year={2024},
  url={https://arxiv.org/abs/2403.08144}
}
  • Original Models & Checkpoints: NVIDIA Corporation (NVIDIA Earth-2, NVIDIA PhysicsNeMo), licensed under Apache License 2.0.
  • Core ML Conversion & Apple Silicon Architectural Optimization: Alex Pospekhov, licensed under Apache License 2.0.

Identity and Version

Repository
alexpospekhov/coreml-physicsnemo
Publisher
Alex Pospekhov
Task
Other
Modality
Other
Library
coreml
Parameters
Not stated by the source
Languages
en
Revision
5d8b3ad4f2af18e46a4dc46221eeb56ba2516e7b
First published
2026-10-10
Last updated
2026-10-10

Files and Weights

60 files, 2.2 GB in total. The weights are 16 files totalling 2.2 GB in bin, mlmodel.

Weights16 files · 2.2 GB
Configuration8 files · 4.9 KB
Documentation9 files · 58.8 KB
Other26 files · 11.4 MB
Repository1 file · 3.0 KB
Every file
FileTypeSizeSHA-256
models/aerodynamics/DoMINO-10M-DrivAerML/NVIDIA_DoMINO_10M_DrivAerML.mlpackage/Data/com.apple.CoreML/model.mlmodelWeights405.8 KB 006c47dfe525
models/aerodynamics/DoMINO-10M-DrivAerML/NVIDIA_DoMINO_10M_DrivAerML.mlpackage/Data/com.apple.CoreML/weights/weight.binWeights498.5 MB eb975f205353
models/aerodynamics/FIGConvUNet-6.5M-DrivAerML/NVIDIA_FIGConvUNet_6.5M_DrivAerML.mlpackage/Data/com.apple.CoreML/model.mlmodelWeights745.1 KB 7d295a5ee51b
models/aerodynamics/FIGConvUNet-6.5M-DrivAerML/NVIDIA_FIGConvUNet_6.5M_DrivAerML.mlpackage/Data/com.apple.CoreML/weights/weight.binWeights547.4 MB 750c9dd21f7b
models/aerodynamics/GeoTransolver-29M-DrivAerML/NVIDIA_GeoTransolver_29M_DrivAerML.mlpackage/Data/com.apple.CoreML/model.mlmodelWeights522.7 KB 068aeb49e364
models/aerodynamics/GeoTransolver-29M-DrivAerML/NVIDIA_GeoTransolver_29M_DrivAerML.mlpackage/Data/com.apple.CoreML/weights/weight.binWeights59.0 MB 9dff0d519933
models/aerodynamics/Transolver-9.8M-DrivAerML/NVIDIA_Transolver_9.8M_DrivAerML.mlpackage/Data/com.apple.CoreML/model.mlmodelWeights316.9 KB cdcf90ee9e91
models/aerodynamics/Transolver-9.8M-DrivAerML/NVIDIA_Transolver_9.8M_DrivAerML.mlpackage/Data/com.apple.CoreML/weights/weight.binWeights19.6 MB 0d18223968dc
models/climate/CorrDiff-Diffusion/NVIDIA_CorrDiff_174M_Diffusion.mlpackage/Data/com.apple.CoreML/model.mlmodelWeights292.3 KB 21515338445e
models/climate/CorrDiff-Diffusion/NVIDIA_CorrDiff_174M_Diffusion.mlpackage/Data/com.apple.CoreML/weights/weight.binWeights352.3 MB 25fe7bda6c3d
models/climate/CorrDiff-Regression/NVIDIA_CorrDiff_98M_Regression.mlpackage/Data/com.apple.CoreML/model.mlmodelWeights285.1 KB def30ab8543d
models/climate/CorrDiff-Regression/NVIDIA_CorrDiff_98M_Regression.mlpackage/Data/com.apple.CoreML/weights/weight.binWeights200.2 MB 4e23a8b07e55
models/climate/FourCastNet-v2-AFNO/NVIDIA_FourCastNet_75M_AFNO.mlpackage/Data/com.apple.CoreML/model.mlmodelWeights450.4 KB 9303de579a09
models/climate/FourCastNet-v2-AFNO/NVIDIA_FourCastNet_75M_AFNO.mlpackage/Data/com.apple.CoreML/weights/weight.binWeights150.8 MB b07c946579bc
models/climate/StormCast-CONUS/NVIDIA_StormCast_265M_CONUS.mlpackage/Data/com.apple.CoreML/model.mlmodelWeights211.7 KB 20d052974b23
models/climate/StormCast-CONUS/NVIDIA_StormCast_265M_CONUS.mlpackage/Data/com.apple.CoreML/weights/weight.binWeights361.5 MB 28b0484b61c3
models/aerodynamics/DoMINO-10M-DrivAerML/NVIDIA_DoMINO_10M_DrivAerML.mlpackage/Manifest.jsonConfiguration617 B —
models/aerodynamics/FIGConvUNet-6.5M-DrivAerML/NVIDIA_FIGConvUNet_6.5M_DrivAerML.mlpackage/Manifest.jsonConfiguration617 B —
models/aerodynamics/GeoTransolver-29M-DrivAerML/NVIDIA_GeoTransolver_29M_DrivAerML.mlpackage/Manifest.jsonConfiguration617 B —
models/aerodynamics/Transolver-9.8M-DrivAerML/NVIDIA_Transolver_9.8M_DrivAerML.mlpackage/Manifest.jsonConfiguration617 B —
models/climate/CorrDiff-Diffusion/NVIDIA_CorrDiff_174M_Diffusion.mlpackage/Manifest.jsonConfiguration617 B —
models/climate/CorrDiff-Regression/NVIDIA_CorrDiff_98M_Regression.mlpackage/Manifest.jsonConfiguration617 B —
models/climate/FourCastNet-v2-AFNO/NVIDIA_FourCastNet_75M_AFNO.mlpackage/Manifest.jsonConfiguration617 B —
models/climate/StormCast-CONUS/NVIDIA_StormCast_265M_CONUS.mlpackage/Manifest.jsonConfiguration617 B —
README.mdDocumentation30.8 KB —
models/aerodynamics/DoMINO-10M-DrivAerML/README.mdDocumentation3.4 KB —
models/aerodynamics/FIGConvUNet-6.5M-DrivAerML/README.mdDocumentation3.3 KB —
models/aerodynamics/GeoTransolver-29M-DrivAerML/README.mdDocumentation3.7 KB —
models/aerodynamics/Transolver-9.8M-DrivAerML/README.mdDocumentation3.5 KB —
models/climate/CorrDiff-Diffusion/README.mdDocumentation3.7 KB —
models/climate/CorrDiff-Regression/README.mdDocumentation3.4 KB —
models/climate/FourCastNet-v2-AFNO/README.mdDocumentation3.4 KB —
models/climate/StormCast-CONUS/README.mdDocumentation3.6 KB —
NativeApp/Package.swiftOther279 B —
NativeApp/Sources/main.swiftOther39.8 KB —
Package.swiftOther521 B —
SwiftPackage/Package.swiftOther508 B —
SwiftPackage/Sources/AppleSiliconPhysics/NVIDIA_CorrDiff_174M_Diffusion.swiftOther14.4 KB —
SwiftPackage/Sources/AppleSiliconPhysics/NVIDIA_CorrDiff_98M_Regression.swiftOther13.4 KB —
SwiftPackage/Sources/AppleSiliconPhysics/NVIDIA_DoMINO_10M_DrivAerML.swiftOther21.8 KB —
SwiftPackage/Sources/AppleSiliconPhysics/NVIDIA_FIGConvUNet_6.5M_DrivAerML.swiftOther13.8 KB —
SwiftPackage/Sources/AppleSiliconPhysics/NVIDIA_FourCastNet_75M_AFNO.swiftOther13.2 KB —
SwiftPackage/Sources/AppleSiliconPhysics/NVIDIA_GeoTransolver_29M_DrivAerML.swiftOther14.8 KB —
SwiftPackage/Sources/AppleSiliconPhysics/NVIDIA_StormCast_265M_CONUS.swiftOther14.2 KB —
SwiftPackage/Sources/AppleSiliconPhysics/NVIDIA_Transolver_9.8M_DrivAerML.swiftOther13.5 KB —
assets/apple_silicon_physics_benchmark_dark.pngOther843.4 KB ca1f43c4687c
assets/apple_silicon_physics_benchmark_light.pngOther883.3 KB df7946fdd864
assets/authentic_physics_showcase.pngOther1.2 MB 93b25d48b6d1
assets/native_seaforth_snapshot.pngOther1.8 MB 4909681b95ef
assets/navier_stokes_m3max_benchmark.mp4Other971.6 KB 772a60e2587a
assets/navier_stokes_m3max_benchmark_web.gifOther5.5 MB 72a6c89634c8
models/aerodynamics/DoMINO-10M-DrivAerML/NVIDIA_DoMINO_10M_DrivAerML.swiftOther21.8 KB —
models/aerodynamics/FIGConvUNet-6.5M-DrivAerML/NVIDIA_FIGConvUNet_6.5M_DrivAerML.swiftOther13.8 KB —
models/aerodynamics/GeoTransolver-29M-DrivAerML/NVIDIA_GeoTransolver_29M_DrivAerML.swiftOther14.8 KB —
models/aerodynamics/Transolver-9.8M-DrivAerML/NVIDIA_Transolver_9.8M_DrivAerML.swiftOther13.5 KB —
models/climate/CorrDiff-Diffusion/NVIDIA_CorrDiff_174M_Diffusion.swiftOther14.4 KB —
models/climate/CorrDiff-Regression/NVIDIA_CorrDiff_98M_Regression.swiftOther13.4 KB —
models/climate/FourCastNet-v2-AFNO/NVIDIA_FourCastNet_75M_AFNO.swiftOther13.2 KB —
models/climate/StormCast-CONUS/NVIDIA_StormCast_265M_CONUS.swiftOther14.2 KB —
.gitattributesRepository3.0 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
2.2 GB
Download from Alex Pospekhov

Released by Alex Pospekhov through its official repository on Hugging Face. Read the license.

Built From

  • Described by arXiv:2202.11214
  • Described by arXiv:2309.15214
  • Described by arXiv:2402.02366
  • Described by arXiv:2403.08144
  • Described by arXiv:2408.10958

Memory Requirements

PrecisionWeights in memory
As published2.2 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About coreml-physicsnemo

Can I use coreml-physicsnemo commercially?

Yes. coreml-physicsnemo is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Other

JLD

Shreshth

Official fitted Jacobian lens for JLD and JLD-fast, by Shreshth Saini, Balu Adsumilli, and Alan C. Bovik. JLD measures the perceptual distance between an aligned reference image and a distorted image. Lower scores mean more similar images. It projects early DINOv2 patch features onto directions selected by the encoder's output sensitivity. The lens is fitted from unlabeled images without human quality ratings. This installs the versioned release wheel and records it in uv.lock. The distribution is named jacobian-lens-distance; the Python import remains jld. The package already includes this lens. The encoder weights are downloaded separately through timm on first use. Python 3.10 or newer…

Open weights mit jld

ONNX conversion of cua-ai/cua-s1-forms, prepared for lightweight local inference experiments with ONNX Runtime, ONNX Runtime Web, WebAssembly (WASM), and WebGPU. Please read the original model card before using this conversion. It contains the authoritative description of the model's architecture, training setup, evaluation, limitations, and intended scope. CUA-S1 Forms is a small specialist "System One" model for form-oriented computer-use tasks. Unlike an autoregressive LLM, it does not generate text token-by-token. For each UI element, it receives: 1. a short structured context describing the task, form, and element, and 2. a set of candidate options such as extracted document values…

Open weights mit

Model · Other

weather-sculpt

Z

Sculpt real ECMWF ERA5 atmospheric state into publish-ready video, GIF, and sound. Not animation. Not simulation. Real observed weather, rendered through 4 tuned presets. - Global 0.25 deg x 7 days (5 variables: t2m, u10, v10, tp, msl) - China region 0.25 deg x 30 days (5 variables) - 4 presets: temperature waves / wind streamlines / rain curtain / pressure vortex - Weather sonification (WAV) - "hear" the atmosphere - Pre-downloaded, zstd-compressed, SHA-256 checksummed https://roblitz-spec.github.io/weather-sculpt/ - Full dataset + commercial license: https://robloxer31.gumroad.com/l/Weather-Sculpt ECMWF ERA5 reanalysis (CC-BY 4.0). The same dataset used by meteorologists worldwide.

Open weights mit custom

Model · Other

fly-instinct

Z

A frozen, non-learning recursive network built on the real fruit-fly MaleCNS connectome (Janelia 2024). Feed any stimulus, get an organic, structured "instinctive" signal that is more alive than noise, less predictable than a script. Not AI. Not a brain. Not learning. Just real neural wiring, frozen. - Real MaleCNS connectome subset (1,587,930 edges, ~25 MB) - 4 tuned presets: escape / sugar / startle / explore - Zero training. Weight-frozen. Deterministic per seed. https://roblitz-spec.github.io/fly-instinct/ - Full 1.05GB connectome + commercial license: https://robloxer31.gumroad.com/l/Fly-Instinct

Open weights mit custom

Pretrained DiT decoders for TT-VidT (Decoupling the Temporal Axis for Efficient Motion-Centric Video Pretraining, NeurIPS 2026). Paper · Each TT-VidT encoder pretraining run initialises its decoder from one of these; the training code downloads them automatically through DECODERPRETRAINED, e.g. "KBlueLeaf/TTVidT-decoders/pretrainvideoSqknorm". The decoders work in the 32x32x4 latent space of the frozen f8 frame VAE KBlueLeaf/latentmaid-vae and are conditioned on DINOv3 ViT-B/16 features (768-d). - ImageNet decoders reconstruct an ImageNet image from its DINOv3 class token. - Video decoders reconstruct a later video frame from its class token plus, through cross-attention, the spatial…

Open weights apache-2.0

Model · Other

nys-sft-public

Dakuwon Moody

NYS is not a transformer. It is a coupled-oscillator organism: phases \(\thetai\), amplitudes, natural frequencies \(\omegai\), and a sparse coupling graph \(K\). Language, compiler bits, and speech-frame IDs live on one graph (\(N = 5{,}000{,}000\) nodes, \(k = 512\) edges per node). The native graph trains by Equilibrium Propagation (free RK4, then same-moment free/nudged branches, then a contrastive \(K\) update), without backprop or a cross-entropy objective. A separate sparse context head now provides retrieved language inputs. The GPU Qwen teacher uses PyTorch/Transformers; that does not make the native graph a transformer. Dakuwon Moody (YNSScarSaiyan) · Saiyan Corp The…

Open weights mit nys-thermodynamic