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 guide 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.2.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.2.1
File Size Uploaded Provenance Actions
warp_optix-0.2.1.tar.gz 383.3 kB With provenance Details for warp_optix-0.2.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for warp-optix 0.2.1
File Interpreter ABI Platform Actions
warp_optix-0.2.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for warp_optix-0.2.1-cp312-cp312-win_amd64.whl
warp_optix-0.2.1-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.2.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Total release size: 1.3 MB

Release files / warp_optix-0.2.1.tar.gz

Download URL warp_optix-0.2.1.tar.gz
Size 383.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d441b2eee9cb938c6af28cad11ca26619e8735d15ab8b81f9dbca33de4129322
BLAKE2b-256 checksum
How to use checksums
7c87038bcbce2fbcdf3cceb06a8cbd6fd054f2e88ddd432c7bed892967ad1b9a
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 9, 2026.

Transparency log

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

Download URL warp_optix-0.2.1-cp312-cp312-win_amd64.whl
Size 467.0 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
f69a922cad5711de17cabbf4fae9a64e909ce700507c6eea7eabe7fd7c583a99
BLAKE2b-256 checksum
How to use checksums
033ff4fc696d4dd9e82fb67d4cf73893e815a2fc16621ce8c348d436f5a05382
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 9, 2026.

Transparency log

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

Download URL warp_optix-0.2.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 497.1 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5d3f292ae5340a2d13fdadd72348fe2283a1dce5397e9d25b7e259f1a3769fae
BLAKE2b-256 checksum
How to use checksums
2a20c8c6b0214f80e4bc8726741fa69123ea149e35484052fd81a6987b3cd8d0
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 9, 2026.

Transparency log

Security for warp-optix 0.2.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.2.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 9, 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