Warp 1.4.0 Release #322
mmacklin
announced in
Announcements
Replies: 1 comment
-
wow, maybe this will go beyond taichi-lang in the future |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Warp 1.4.0 Release
We are pleased to announce that the Warp 1.4.0 release is now available on Github and PyPi! This release includes many improvements to our Python language support, as well as significant external contributions from AutoDesk and Baidu.
pip install warp-lang
What’s New
Improved Support for Runtime Code Generation
Runtime code generation is a powerful feature that allows users to do late-stage specialization of their kernels to specific datatypes, dimensions, and functions, often with significant performance benefits. In this release we have significantly expanded support for dynamic creation of kernels, functions, and structures at runtime. For example, users can now directly return Warp kernels from closure functions as follows:
Closure created kernels will automatically capture any constants, functions, or types passed to the kernel.
Documentation: https://nvidia.github.io/warp/codegen.html#dynamic-kernel-creation
Support for Compile Time Expression Evaluation
In addition to improved runtime code generation, Warp 1.4.0 now supports evaluating Python expressions at compile time using the new wp.static() method. Static expressions may include arbitrary Python code, including dictionary lookups, file operations, etc. Branches dependent on the result of static expressions are resolved at compile time and can completely skip code generation as shown below:
Static expressions may return constant values, functions, and datatypes
Documentation: https://nvidia.github.io/warp/codegen.html#static-expressions
Automatic Differentiation Improvements
Distributed JAX Integration (AutoDesk)
PaddlePaddle Integration (Baidu)
Simulation Changes
VBD Integrator
Adaptive Sparse Volumes
What’s Fixed
We have made over 32 bug fixes since the 1.3.0 release, including addressing many Github issue reports:
Full CHANGELOG.md
We hope you enjoy this release, and look forward to seeing what you make with Warp. Please send us any feedback and bug reports on our Issues page.
Beta Was this translation helpful? Give feedback.
All reactions