Skip to content

Commit

Permalink
Merge branch 'ershi/release-1.4.2' into 'release-1.4'
Browse files Browse the repository at this point in the history
Changes for 1.4.2

See merge request omniverse/warp!816
  • Loading branch information
shi-eric committed Oct 26, 2024
2 parents 6f6651b + 22d2196 commit e174b0b
Show file tree
Hide file tree
Showing 25 changed files with 695 additions and 278 deletions.
16 changes: 15 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
# CI/CD Pipeline Configuration
# ==============================================================================

include: /.gitlab/ci/common.yml
include:
- local: /.gitlab/ci/common.yml
- project: "omniverse/devplat/gitlab/templates/common/compliance"
file: "modules/omniverse-repo-compliance.gitlab-ci.yml"
ref: v1_latest

workflow:
rules:
Expand Down Expand Up @@ -138,6 +142,12 @@ ruff format:
script:
- ruff format --diff

osec:sonarqube:
variables:
# Disable C/C++ analyzer until project specific work is done to enable it.
# See: https://confluence.nvidia.com/display/OMNIVERSE/SonarQube+Gitlab+CI+Integration#C+Project+Enablement+Additions
SONAR_EXTRA_ARGS: "-Dsonar.c.file.suffixes=- -Dsonar.cpp.file.suffixes=- -Dsonar.objc.file.suffixes=-"

# ==============================================================================
# Main Unit Testing Jobs
#
Expand Down Expand Up @@ -371,6 +381,7 @@ linux-x86_64 test warp-init:
- build_llvm.py
- when: manual # If not auto-triggered, allow any pipeline to run this job manually
allow_failure: true
timeout: 10m
before_script:
- echo -e "\\e[0Ksection_start:`date +%s`:install_dependencies[collapsed=true]\\r\\e[0KInstalling dependencies"
- df -h
Expand Down Expand Up @@ -696,6 +707,7 @@ merge request docs:
- public
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
timeout: 10m
environment:
name: review/$CI_MERGE_REQUEST_IID
url: https://$CI_PROJECT_ROOT_NAMESPACE.$CI_PAGES_DOMAIN/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/public/index.html
Expand All @@ -720,6 +732,7 @@ check generated files:
- docs/modules/functions.rst
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
timeout: 10m
extends:
- .runner-utility-linux-x86_64
script:
Expand All @@ -737,6 +750,7 @@ pages:
- .build-docs-common
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
timeout: 10m
environment:
name: GitLab Pages
deployment_tier: staging
Expand Down
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## [1.4.2] - 2024-11-01

### Changed

- Make the output of `wp.print()` in backward kernels consistent for all supported data types.

### Fixed

- Fix to relax the integer types expected when indexing arrays (regression in `1.3.0`).
- Fix printing vector and matrix adjoints in backward kernels.
- Fix kernel compile error when printing structs.
- Fix an incorrect user function being sometimes resolved when multiple overloads are available with array parameters with different `dtype` values.

## [1.4.1] - 2024-10-15

### Fixed
Expand Down Expand Up @@ -1142,7 +1155,7 @@

- Initial publish for alpha testing

[Unreleased]: https://github.com/NVIDIA/warp/compare/v1.4.1...HEAD
[1.4.2]: https://github.com/NVIDIA/warp/releases/tag/v1.4.2
[1.4.1]: https://github.com/NVIDIA/warp/releases/tag/v1.4.1
[1.4.0]: https://github.com/NVIDIA/warp/releases/tag/v1.4.0
[1.3.3]: https://github.com/NVIDIA/warp/releases/tag/v1.3.3
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ the `pip install` command, e.g.

| Platform | Install Command |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| Linux aarch64 | `pip install https://github.com/NVIDIA/warp/releases/download/v1.4.1/warp_lang-1.4.1+cu11-py3-none-manylinux2014_aarch64.whl` |
| Linux x86-64 | `pip install https://github.com/NVIDIA/warp/releases/download/v1.4.1/warp_lang-1.4.1+cu11-py3-none-manylinux2014_x86_64.whl` |
| Windows x86-64 | `pip install https://github.com/NVIDIA/warp/releases/download/v1.4.1/warp_lang-1.4.1+cu11-py3-none-win_amd64.whl` |
| Linux aarch64 | `pip install https://github.com/NVIDIA/warp/releases/download/v1.4.2/warp_lang-1.4.2+cu11-py3-none-manylinux2014_aarch64.whl` |
| Linux x86-64 | `pip install https://github.com/NVIDIA/warp/releases/download/v1.4.2/warp_lang-1.4.2+cu11-py3-none-manylinux2014_x86_64.whl` |
| Windows x86-64 | `pip install https://github.com/NVIDIA/warp/releases/download/v1.4.2/warp_lang-1.4.2+cu11-py3-none-win_amd64.whl` |

The `--force-reinstall` option may need to be used to overwrite a previous installation.

Expand Down
2 changes: 1 addition & 1 deletion VERSION.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.1
1.4.2-rc.1
6 changes: 3 additions & 3 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ the ``pip install`` command, e.g.
* - Platform
- Install Command
* - Linux aarch64
- ``pip install https://github.com/NVIDIA/warp/releases/download/v1.4.1/warp_lang-1.4.1+cu11-py3-none-manylinux2014_aarch64.whl``
- ``pip install https://github.com/NVIDIA/warp/releases/download/v1.4.2/warp_lang-1.4.2+cu11-py3-none-manylinux2014_aarch64.whl``
* - Linux x86-64
- ``pip install https://github.com/NVIDIA/warp/releases/download/v1.4.1/warp_lang-1.4.1+cu11-py3-none-manylinux2014_x86_64.whl``
- ``pip install https://github.com/NVIDIA/warp/releases/download/v1.4.2/warp_lang-1.4.2+cu11-py3-none-manylinux2014_x86_64.whl``
* - Windows x86-64
- ``pip install https://github.com/NVIDIA/warp/releases/download/v1.4.1/warp_lang-1.4.1+cu11-py3-none-win_amd64.whl``
- ``pip install https://github.com/NVIDIA/warp/releases/download/v1.4.2/warp_lang-1.4.2+cu11-py3-none-win_amd64.whl``

The ``--force-reinstall`` option may need to be used to overwrite a previous installation.

Expand Down
8 changes: 5 additions & 3 deletions docs/modules/differentiability.rst
Original file line number Diff line number Diff line change
Expand Up @@ -776,9 +776,11 @@ In the example above we can see that the array ``c`` does not have its ``require
Array Overwrite Tracking
^^^^^^^^^^^^^^^^^^^^^^^^^

It is a common mistake to inadvertently overwrite an array that participates in the computation graph. For example::
It is a common mistake to inadvertently overwrite an array that participates in the computation graph. For example:

with tape as wp.Tape():
.. code-block:: python
with wp.Tape() as tape:
# step 1
wp.launch(compute_forces, dim=n, inputs=[pos0, vel0], outputs=[force])
Expand All @@ -789,7 +791,7 @@ It is a common mistake to inadvertently overwrite an array that participates in
wp.launch(simulate, dim=n, inputs=[pos1, vel1, force], outputs=[pos2, vel2])
# compute loss
wp.launch(loss, dim=n, inputs=[pos2])
wp.launch(compute_loss, dim=n, inputs=[pos2], outputs=[loss])
tape.backward(loss)
Expand Down
Loading

0 comments on commit e174b0b

Please sign in to comment.