Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

warp

> 编程语言
Open source

A Python framework for GPU-accelerated simulation, robotics, and machine learning.

66.2K stars0 likes0 views
WebsiteGitHub

About

A Python framework for GPU-accelerated simulation, robotics, and machine learning.

NVIDIA Warp

Documentation | Changelog

Warp is a Python framework for GPU-accelerated simulation, robotics, and machine learning. Warp takes regular Python functions and JIT compiles them to efficient kernel code that can run on the CPU or GPU.

Warp comes with a rich set of primitives for physics simulation, robotics, geometry processing, and more. Warp kernels are differentiable and can be used as part of machine-learning pipelines with frameworks such as PyTorch, JAX and Paddle.

Quick Start

Simulate one million particles under gravitational attraction, in 20 lines:

…

Installing

Warp requires Python 3.10 or newer. We publish warp-lang wheels on PyPI for Windows (x86-64), Linux (x86-64 and AArch64), and macOS (Apple Silicon). The Windows x86-64 and Linux wheels support CPU execution and CUDA acceleration. CUDA acceleration requires a supported NVIDIA GPU and driver. The macOS wheels support CPU execution but not Metal acceleration.

The easiest way to install Warp is from PyPI:

pip install warp-lang

You can also use pip install warp-lang[examples] to install additional dependencies for running examples and USD-related features.

For nightly builds, conda, CUDA 13 builds, building from source, and CUDA driver requirements, see the Installation Guide.

Tutorial Notebooks

The NVIDIA Accelerated Computing Hub also hosts Warp tutorial notebooks that can be opened in Colab:

Notebook Colab Link
01. Introduction to NVIDIA Warp
02. Ising Model
03. 2D Navier-Stokes Solver
04. Differentiable Simulations in Warp

Running Examples

The warp/examples directory contains examples covering physics simulation, geometry processing, optimization, and tile-based GPU programming. Before running examples, install the optional example dependencies using:

pip install warp-lang[examples]

On Linux aarch64 systems (e.g., NVIDIA DGX Spark), the [examples] extra automatically installs usd-exchange instead of usd-core as a drop-in replacement, since usd-core wheels are not available for that platform.

Examples can be run from the command-line as follows:

python -m warp.examples.<example_subdir>.<example>

Most examples can be run on either the CPU or a CUDA-capable device, but a handful require a CUDA-capable device. These are marked at the top of the example script. Some examples generate USD files containing time-sampled animations in the current working directory. These can be viewed in Pixar's UsdView, Blender, or any USD-compatible viewer.

To browse the example source code, you can open the directory where the files are located like this:

python -m warp.examples.browse

warp/examples/core

dem fluid graph capture mesh
nvdb raycast raymarch sample mesh
sph torch wave 2-D incompressible turbulence in a periodic box
3-D FDTD Luneburg lens

warp/examples/geometry

isosurface sparse marching cubes

warp/examples/fem

diffusion 3d mixed elasticity apic fluid streamlines
distortion energy taylor green kelvin helmholtz magnetostatics
adaptive grid nonconforming contact darcy level-set optimization elastic shape optimization
cantilever topology optimization

warp/examples/optim

diffray fluid checkpoint particle repulsion navier-stokes perturbation

warp/examples/tile

mlp nbody mcgp

Learn More

Please see the following resources for additional background on Warp:

  • Product Page
  • How to Use NVIDIA Warp to Build GPU-Accelerated Computational Physics Simulations (GTC 2026 tutorial)
  • [SIGGRAPH 2024 Course Slides](https://dl.acm.org/doi/10.11

Issues· 345 open

View all issuesOpen on GitHub
  • #1979

    Adam and SGD partially update parameters before rejecting a short gradient list

    Updated Sep 30, 2026
  • #2017

    Fix multi-environment nanogrid cell lookup

    bugUpdated Sep 30, 2026
  • #2015

    broadcast_shapes turns a 0 dimension into 1

    Updated Sep 30, 2026
  • #2014

    `wp.static()` around a built-in function raises `AttributeError: 'Function' object has no attribute 'user_overloads'`

    Updated Sep 30, 2026
  • #2013

    Grouped CUDA LBVH can exceed the query stack capacity with 33 AABBs

    bugspatial accelerationUpdated Sep 30, 2026
  • #2011

    BVH ray queries miss boxes when rays run along a face

    bugUpdated Sep 30, 2026
  • #2010

    eig3 produces NaN gradients for eigenvalue-only loss at repeated eigenvalues

    bugUpdated Sep 30, 2026
  • #1552

    Adjoint of continue in dynamic for-loops produces wrong gradients for argmax-style reductions

    bugautodiffUpdated Sep 29, 2026
  • #2008

    FEM QR routines return NaNs for large float32 matrices

    bugUpdated Sep 29, 2026
  • #1859

    Clarify memory sharing and synchronization in interoperability APIs

    docsUpdated Sep 29, 2026

> Tags

Pythoncudadifferentiable-programminggpugpu-acceleration

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedDec 4, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言