v1.6.0 #491
shi-eric
announced in
Announcements
v1.6.0
#491
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Changelog
[1.6.0] - 2025-02-03
Added
wp.tile_cholesky(),tile_cholesky_solve()and
tile_diag_add()(preview APIs are subject to change).Out-of-bounds reads will be zero-filled and out-of-bounds writes will be skipped.
wp.sim.VDBIntegratorby passinghandle_self_contact=True.See
warp/examples/sim/example_cloth_self_contact.pyfor a usage example.wp.norm_l1(),wp.norm_l2(),wp.norm_huber(),wp.norm_pseudo_huber(), andwp.smooth_normalize()for vector types to a new
wp.mathmodule.wp.sim.SemiImplicitIntegratorandwp.sim.FeatherstoneIntegratornow have an optionalfriction_smoothingconstructor argument (defaults to 1.0) that controls softness of the friction norm computation.
assertstatements in kernels (docs).Assertions can only be triggered in
"debug"mode (GH-366).ipc_handle()method to get an IPC handle for awp.Eventor awp.array,and call
wp.from_ipc_handle()orwp.event_from_ipc_handle()in another process to open the handle(docs).
wp.set_module_options({"fuse_fp": False})(GH-379).
wp.set_module_options({"lineinfo": True}).wp.structobjects by definingwp.funcfunctions(GH-392).
wp.len()to retrieve the number of elements for vectors, quaternions, matrices, and arrays(GH-389).
warp/examples/optim/example_softbody_properties.pyas an optimization example for soft-body properties(GH-419).
warp/examples/tile/example_tile_walker.py, which reworks the existingexample_walker.pyto use Warp's tile API for matrix multiplication.
warp/examples/tile/example_tile_nbody.pyas an example of an N-body simulation using Warp tile primitives.Changed
wp.tile_load()andwp.tile_store()indexing behavior so that indices are now specified interms of array elements instead of tile multiples.
shapeandoffsetparameters as tuples,e.g.:
wp.tile_load(array, shape=(m,n), offset=(i,j)).This could result in lower performance.
wp.Bvhconstructor now supports various construction algorithms via theconstructorargument, including"sah"(Surface Area Heuristics),"median", and"lbvh"(docs)wp.Bvhandwp.Mesh.kernels that have
enable_backwardset toFalse(GH-332).+=and-=operations compile and run faster in the backward pass(GH-332).
module_codegen(GH-431).block_dim.wp.autograd.gradcheck_tape()now has additional optional argumentsreverse_launchesandskip_to_launch_index.wp.autograd.gradcheck(),wp.autograd.jacobian(), andwp.autograd.jacobian_fd()now also acceptarbitrary Python functions that have Warp arrays as inputs and outputs.
update_vbo_transformskernel launches in the OpenGL renderer are no longer recorded onto the tape.enable_backwardis set toFalse.ownerandlengthkeywords in thewp.arrayinitializer.wp.mlp(),wp.matmul(), andwp.batched_matmul().Use tile primitives instead.
Fixed
wp.Tape.zero()zeroes gradients passed via thegradsparameter inwp.Tape.backward()(GH-407).
wp.array()not respecting the targetdtypeandshapewhen the given data is an another array with a CUDA interface(GH-363).
ImportErrorexception being thrown during interpreter shutdown on Windows when using the OpenGL renderer(GH-412).
AttributeErrorcrash in the OpenGL renderer when moving the camera (GH-426).(GH-388).
wp.sim.ModelBuilderdefault parameters (GH-429).wp.tile_extract()when the block dimension is smaller than the tile size.(GH-409).
wp.autograd.jacobian()where in some cases gradients were not zeroed-out properly.wp.autograd.jacobian_plot().len()operator returning the total size of a matrix instead of its first dimension.wp.sim.SemiImplicitIntegratorandwp.sim.FeatherstoneIntegrator(GH-349).up_axis,colorinOpenGLRenderer(GH-448).This discussion was created from the release v1.6.0.
Beta Was this translation helpful? Give feedback.
All reactions