Skip to main content

Warp-OptiX: Ray Tracing with NVIDIA Warp

Documentation | Examples

Warp-OptiX brings NVIDIA OptiX ray tracing to Warp. Write ray-generation, hit, miss, and callable programs as Warp kernels, or use the included path tracer. The Python API provides managed contexts, acceleration structures, automatic shader binding tables, and launches that mirror wp.launch.

Installation

pip install warp-optix

GPU execution requires a compatible NVIDIA GPU and driver; no CUDA Toolkit or OptiX SDK is needed. Wheels support Python 3.12 on Linux x86-64 and Windows x64. Source builds require Python 3.12 and a C++17 compiler. See the installation guide for source and development setup.

PyOptiX 9.1.1 is installed automatically. The package includes OptiX SDK 9.1.0 headers for runtime kernel compilation, so a separate OptiX SDK installation is not required.

Optional extras add path tracing, UI, USD loading, and neural-network training:

pip install "warp-optix[pathtracing,ui,usd]"
pip install "warp-optix[training]"

Getting started

import warp as wp
import warp_optix as wo
from warp_optix.pathtracing import PathTracer

Follow the API overview to build a custom ray tracer, or explore the runnable examples. Advanced applications can access PyOptiX and supplemental bindings through warp_optix.native.

CUDA graph capture is currently unsupported for OptiX operations. Submit OptiX work between captured Warp graphs on the same stream; CUDA stream ordering is supported.

Support and contributions

Report bugs and feature requests through GitHub Issues. The project is currently not accepting outside contributions; see the contribution policy for updates. Report security vulnerabilities privately using the security policy.

License

Warp integration uses Apache-2.0; supplemental bindings use BSD-3-Clause. Bundled OptiX headers retain their NVIDIA SDK terms. See third-party notices for component licenses and source provenance. License texts accompany the distribution.

Metadata

Release files for warp-optix 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for warp-optix 0.3.1
File Size Uploaded Provenance Actions
warp_optix-0.3.1.tar.gz 1.1 MB With provenance Details for warp_optix-0.3.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for warp-optix 0.3.1
File Interpreter ABI Platform Actions
warp_optix-0.3.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for warp_optix-0.3.1-cp312-cp312-win_amd64.whl
warp_optix-0.3.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for warp_optix-0.3.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Total release size: 2.2 MB

Release files / warp_optix-0.3.1.tar.gz

Download URL warp_optix-0.3.1.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
7b8991cdb5d5372241ab8ef453fb49d2cb39ed62776ff7e61aaf52147b7016ad
BLAKE2b-256 checksum
How to use checksums
8ab8cc9353c33bfb25ebcec85aa615906fc1e1d05f09c278c090a0d7d2270e57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / warp_optix-0.3.1-cp312-cp312-win_amd64.whl

Download URL warp_optix-0.3.1-cp312-cp312-win_amd64.whl
Size 529.8 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
5444592ce06e055582495a3207a109e58840515d6006f556ea2d81a2a2ee3b8c
BLAKE2b-256 checksum
How to use checksums
452a42e7da44552ba2a1000fe65d5cc74377973958fd3f11c417c1618745fc10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / warp_optix-0.3.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL warp_optix-0.3.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 588.5 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5fbf6882ebdcb8986bef2a5a2695d997325d906b4cc7a2a244e4cbc7331f76ea
BLAKE2b-256 checksum
How to use checksums
cd030b6f77631520379f3bf8e761a6847b0f75fb10f95f358f7809b154b97cc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for warp-optix 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for warp_optix-0.3.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page