NVIDIA / NVIDIA/warp

[BUG] Scene remains still with `sim_substeps` being an odd number in `example_soft_body` when using CUDA Graph

Open
#262 1 comment 0 reactions 1 assignee View on GitHub

@nvlukasz is already working on this.

Since Jul 12, 2024.

bug docs
Dominant language
Python
Stars
7.1k
Forks
624
Avg merge
3d 17h
Merged PRs (30d)
5

Description

Bug Description

Description:
I've encountered an issue where the example_soft_body example in example.sim remains in its initial state and does not move when sim_substep is set to an odd number. I suspect that this bug is related to CUDA Graph because everything works correctly when CUDA Graph is not used. Additionally, I encountered the same issue when writing my own code with CUDA Graph, based on the examples in example.sim.

While this issue is specifically observed in example_soft_body, other examples might also be affected, but I haven't extensively tested them.

Steps to Reproduce:

  1. Set sim_substep to an odd number in example_soft_body.py.
  2. Run the example.
  3. Observe that the simulation does not progress and remains in the initial state.
System Information

Warp version: 1.2.2
CUDA version: 12.5
GPU: NVIDIA GeForce GTX 1060
OS: Ubuntu 22.04
Python version: 3.10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.