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.VDBIntegrator
by passinghandle_self_contact=True
.See
warp/examples/sim/example_cloth_self_contact.py
for 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.math
module.wp.sim.SemiImplicitIntegrator
andwp.sim.FeatherstoneIntegrator
now have an optionalfriction_smoothing
constructor argument (defaults to 1.0) that controls softness of the friction norm computation.
assert
statements in kernels (docs).Assertions can only be triggered in
"debug"
mode (GH-366).ipc_handle()
method to get an IPC handle for awp.Event
or 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.struct
objects by definingwp.func
functions(GH-392).
wp.len()
to retrieve the number of elements for vectors, quaternions, matrices, and arrays(GH-389).
warp/examples/optim/example_softbody_properties.py
as an optimization example for soft-body properties(GH-419).
warp/examples/tile/example_tile_walker.py
, which reworks the existingexample_walker.py
to use Warp's tile API for matrix multiplication.
warp/examples/tile/example_tile_nbody.py
as 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.
shape
andoffset
parameters as tuples,e.g.:
wp.tile_load(array, shape=(m,n), offset=(i,j))
.This could result in lower performance.
wp.Bvh
constructor now supports various construction algorithms via theconstructor
argument, including"sah"
(Surface Area Heuristics),"median"
, and"lbvh"
(docs)wp.Bvh
andwp.Mesh
.kernels that have
enable_backward
set 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_launches
andskip_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_transforms
kernel launches in the OpenGL renderer are no longer recorded onto the tape.enable_backward
is set toFalse
.owner
andlength
keywords in thewp.array
initializer.wp.mlp()
,wp.matmul()
, andwp.batched_matmul()
.Use tile primitives instead.
Fixed
wp.Tape.zero()
zeroes gradients passed via thegrads
parameter inwp.Tape.backward()
(GH-407).
wp.array()
not respecting the targetdtype
andshape
when the given data is an another array with a CUDA interface(GH-363).
ImportError
exception being thrown during interpreter shutdown on Windows when using the OpenGL renderer(GH-412).
AttributeError
crash in the OpenGL renderer when moving the camera (GH-426).(GH-388).
wp.sim.ModelBuilder
default 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.SemiImplicitIntegrator
andwp.sim.FeatherstoneIntegrator
(GH-349).up_axis
,color
inOpenGLRenderer
(GH-448).This discussion was created from the release v1.6.0.
Beta Was this translation helpful? Give feedback.
All reactions