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.0

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.0
File Size Uploaded Provenance Actions
warp_optix-0.3.0.tar.gz 1.0 MB With provenance Details for warp_optix-0.3.0.tar.gz

Built distributions (wheels)

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

Total release size: 2.0 MB

Release files / warp_optix-0.3.0.tar.gz

Download URL warp_optix-0.3.0.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
9695d5c81a88eb4d6297cb2af654658ce10cac504c11d5b4316b6059e836a348
BLAKE2b-256 checksum
How to use checksums
db90f61ceaf0d85592296f611bf58fc469e7118a5b28be4bc5fcb4345427fe98
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 11, 2026.

Transparency log

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

Download URL warp_optix-0.3.0-cp312-cp312-win_amd64.whl
Size 470.5 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
a3038bcaf6d41489d70c6a026cfa8a2b8e6767e079dc48ead1b0245f5037f540
BLAKE2b-256 checksum
How to use checksums
374e2dc092e601c3f999b8e9c744cb6d3636c2cd1fecece6b6e823a137acb47f
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 11, 2026.

Transparency log

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

Download URL warp_optix-0.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 499.7 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
add960e79449cda2ac6d0a86344717f8b74246d13345db456e1f785ffd276355
BLAKE2b-256 checksum
How to use checksums
9e85e8c069138970d4283b41ef4c7e398f6a2b9a96dd8a83b5c7cd1cd9ffb730
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 11, 2026.

Transparency log

Security for warp-optix 0.3.0

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.0.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 11, 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