IsaacLab icon indicating copy to clipboard operation
IsaacLab copied to clipboard

[Question] Disabling CUDA P2P Bandwidth and Latency Validation Test

Open itsmehere opened this issue 1 year ago • 3 comments

Question

After the new Isaac Sim update, running ./isaaclab.sh -p scripts/reinforcement_learning/rsl_rl/play.py --task Isaac-Reach-Franka-v0 --num_envs=1 leads to a bandwidth test

2025-01-31 09:50:05 [11,582ms] [Warning] [gpu.foundation.plugin] Detected IOMMU is enabled. Running CUDA peer-to-peer bandwidth and latency validation.
Unidirectional P2P=Enabled Bandwidth (P2P Writes) Matrix (GB/s)
   D\D     0      1      2      3      4      5      6      7 
     0 [...]
     ...
     7 [...]
P2P=Enabled Latency (P2P Writes) Matrix (us)
   GPU     0      1      2      3      4      5      6      7 
     0 [...]
     ...
     7 [...] 

   CPU     0      1      2      3      4      5      6      7 
     0 [...]
     ...
     7 [...] 
2025-01-31 09:55:00 [306,480ms] [Warning] [gpu.foundation.plugin] CUDA peer-to-peer observed bandwidth: 0.2 GB/s.
2025-01-31 09:55:00 [306,481ms] [Warning] [gpu.foundation.plugin] CUDA peer-to-peer observed latency: 49265.6 us.
2025-01-31 09:55:00 [306,481ms] [Warning] [gpu.foundation.plugin] Please verify if observed bandwidth and latency are expected

Average time till app ready: [362.175s] app ready

Overall, launching isaac sim's viz in non-headless mode seems to take a significantly longer period of time after the new update. Is there a way to disable this check + other things slowing this down - I don't think it was this slow before. If not, is there an alternate recommended solution?

itsmehere avatar Jan 31 '25 10:01 itsmehere

Thank you for posting this. We will investigate. Which Isaac Sim are you using? Thanks.

RandomOakForest avatar Jan 31 '25 22:01 RandomOakForest

Thank you! My isaac sim and isaac lab versions are below, and I'm on the latest commit of this repository:

$ conda list
isaacsim                  4.5.0.0                  pypi_0    pypi
...
isaaclab                  0.33.13                  pypi_0    pypi

I traced the sim startup and the issue seems to be coming from a potential change to SimulationApp in Isaac Sim. Specifically, line 638 in _create_app in app_launcher.py: self._app = SimulationApp(self._sim_app_config, experience=self._sim_experience_file).

itsmehere avatar Feb 01 '25 03:02 itsmehere

Thank you for following up. We'd need to take a closer look, thought the team has made some improvements since. If you still have this issue in the latest Isaac Lab and Isaac Sim, with the recommended driver, please file a bug report. Thank you.

RandomOakForest avatar Mar 07 '25 20:03 RandomOakForest