Skip to content

Commit 381fc83

Browse files
committed
Merge branch 'ershi/release-1.7-final' into 'release-1.7'
Update release-1.7 branch with final commits See merge request omniverse/warp!1197
2 parents d7e9b9e + 15635fe commit 381fc83

26 files changed

+484
-60
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ linux-x86_64 asv:
512512
changes:
513513
- .gitlab-ci.yml
514514
- asv/**/*
515+
- asv.conf.json
515516
- warp/**/*
516517
- pyproject.toml
517518
- deps/*
@@ -537,9 +538,8 @@ linux-x86_64 asv:
537538
- git checkout -f $CI_COMMIT_SHA
538539
- echo -e "\\e[0Ksection_end:`date +%s`:install_dependencies\\r\\e[0K"
539540
script:
540-
- cd asv
541541
- asv machine --yes
542-
- asv continuous --interleave-rounds --append-samples --no-only-changed -f 1.15 --bench '^(?!api)' $COMPARE_REF $CI_COMMIT_SHA
542+
- asv continuous --interleave-rounds --append-samples --no-only-changed -f 1.10 --bench '^(?!api)' $COMPARE_REF $CI_COMMIT_SHA
543543
allow_failure: True # Can make success required after we have tested this job more
544544

545545
# ==============================================================================

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ci:
1313
repos:
1414
- repo: https://github.com/astral-sh/ruff-pre-commit
1515
# Ruff version.
16-
rev: v0.9.7
16+
rev: v0.11.2
1717
hooks:
1818
# Run the linter.
1919
- id: ruff

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## [1.7.0] - 2025-04-01
3+
## [1.7.0] - 2025-03-30
44

55
### Added
66

@@ -32,6 +32,8 @@
3232
- Add example demonstrating gradient checkpointing for fluid optimization in
3333
`warp/examples/optim/example_fluid_checkpoint.py`.
3434
- Add a hinge-angle-based bending force to `wp.sim.VBDIntegrator`.
35+
- Add an example to show mesh sampling using a CDF
36+
([GH-476](https://github.com/NVIDIA/warp/issues/476)).
3537

3638
### Changed
3739

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,16 +224,16 @@ python -m warp.tests
224224
<td align="center">raymarch</td>
225225
</tr>
226226
<tr>
227+
<td><a href="https://github.com/NVIDIA/warp/tree/main/warp/examples/core/example_sample_mesh.py"><img src="https://media.githubusercontent.com/media/NVIDIA/warp/refs/heads/main/docs/img/examples/core_sample_mesh.png"></a></td>
227228
<td><a href="https://github.com/NVIDIA/warp/tree/main/warp/examples/core/example_sph.py"><img src="https://media.githubusercontent.com/media/NVIDIA/warp/refs/heads/main/docs/img/examples/core_sph.png"></a></td>
228229
<td><a href="https://github.com/NVIDIA/warp/tree/main/warp/examples/core/example_torch.py"><img src="https://media.githubusercontent.com/media/NVIDIA/warp/refs/heads/main/docs/img/examples/core_torch.png"></a></td>
229230
<td><a href="https://github.com/NVIDIA/warp/tree/main/warp/examples/core/example_wave.py"><img src="https://media.githubusercontent.com/media/NVIDIA/warp/refs/heads/main/docs/img/examples/core_wave.png"></a></td>
230-
<td></td>
231231
</tr>
232232
<tr>
233+
<td align="center">sample mesh</td>
233234
<td align="center">sph</td>
234235
<td align="center">torch</td>
235236
<td align="center">wave</td>
236-
<td align="center"></td>
237237
</tr>
238238
</tbody>
239239
</table>

VERSION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.0-rc.4
1+
1.7.0

asv/asv.conf.json renamed to asv.conf.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"version": 1,
33
"project": "warp-lang",
44
"project_url": "https://github.com/NVIDIA/warp",
5-
"repo": "..",
5+
"repo": ".",
66
"build_command": [
77
"python -mpip install numpy",
88
"python build_lib.py",
@@ -17,9 +17,9 @@
1717
"usd-core": [""]
1818
}
1919
},
20-
"benchmark_dir": "benchmarks",
21-
"env_dir": "env",
22-
"results_dir": "results",
23-
"html_dir": "html",
20+
"benchmark_dir": "asv/benchmarks",
21+
"env_dir": "asv/env",
22+
"results_dir": "asv/results",
23+
"html_dir": "asv/html",
2424
"build_cache_size": 20
2525
}

docs/faq.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,12 @@ individual threads.
3232
What are some examples of projects that use Warp?
3333
-------------------------------------------------
3434

35-
* `NCLaw <https://github.com/PingchuanMa/NCLaw>`__: Implements a differentiable MPM simulator using Warp.
36-
* `XLB <https://github.com/Autodesk/XLB>`__: A lattice Boltzmann solver with a backend option using Warp.
37-
* `warp-mpm <https://github.com/zeshunzong/warp-mpm>`__: An MPM simulator using Warp and used in
35+
* `MuJoCo Warp <https://github.com/google-deepmind/mujoco_warp>`__: A GPU-optimized version of the MuJoCo physics simulator,
36+
designed for NVIDIA hardware. Maintained by Google DeepMind and NVIDIA.
37+
* `Rewarped <https://github.com/rewarped/rewarped>`__: A platform for reinforcement learning in parallel differentiable multi-physics simulation.
38+
* `XLB (Accelerated Lattice Boltzmann) <https://github.com/Autodesk/XLB>`__: A lattice Boltzmann solver with a backend option using Warp.
39+
Maintained by Autodesk.
40+
* `warp-mpm <https://github.com/zeshunzong/warp-mpm>`__: An MPM simulator used in projects like
3841
`Neural Stress Fields for Reduced-order Elastoplasticity and Fracture <https://zeshunzong.github.io/reduced-order-mpm/>`__
3942
and `PhysGaussian: Physics-Integrated 3D Gaussians for Generative Dynamics <https://xpandora.github.io/PhysGaussian/>`__.
4043

Lines changed: 3 additions & 0 deletions
Loading

docs/index.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,17 +123,18 @@ warp/examples/core
123123
- nvdb
124124
- raycast
125125
- raymarch
126-
* - .. image:: ./img/examples/core_sph.png
126+
* - .. image:: ./img/examples/core_sample_mesh.png
127+
:target: https://github.com/NVIDIA/warp/tree/main/warp/examples/core/example_sample_mesh.py
128+
- .. image:: ./img/examples/core_sph.png
127129
:target: https://github.com/NVIDIA/warp/tree/main/warp/examples/core/example_sph.py
128130
- .. image:: ./img/examples/core_torch.png
129131
:target: https://github.com/NVIDIA/warp/tree/main/warp/examples/core/example_torch.py
130132
- .. image:: ./img/examples/core_wave.png
131133
:target: https://github.com/NVIDIA/warp/tree/main/warp/examples/core/example_wave.py
132-
-
133-
* - sph
134+
* - sample_mesh
135+
- sph
134136
- torch
135137
- wave
136-
-
137138

138139
warp/examples/fem
139140
^^^^^^^^^^^^^^^^^

docs/modules/functions.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,13 +661,17 @@ Quaternion Math
661661
662662
Construct a quaternion from a 3x3 matrix.
663663

664+
If the matrix is not a pure rotation, but for example includes scaling or skewing, the result is undefined.
665+
664666

665667
.. py:function:: quat_from_matrix(mat: Matrix[4,4,Float]) -> Quaternion[Float]
666668
:noindex:
667669
:nocontentsentry:
668670

669671
Construct a quaternion from a 4x4 matrix.
670672

673+
If the top-left 3x3 block of the matrix is not a pure rotation, but for example includes scaling or skewing, the result is undefined.
674+
671675

672676
.. py:function:: quat_rpy(roll: Float, pitch: Float, yaw: Float) -> Quaternion[Float]
673677

0 commit comments

Comments
 (0)