N > 0 assert failed. CUDA kernel launch blocks must be positive, but got N= 0

See original GitHub issue

I run test.py and get error :

RuntimeError: /tmp/mmcv/mmcv/ops/csrc/common/utils/spconv/tensorview/helper_launch.h 14
N > 0 assert failed. CUDA kernel launch blocks must be positive, but got N= 0

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cuge1995commented, Oct 24, 2022

I solve it by pip install spconv-cu102

1reaction
evgeniishchcommented, Sep 28, 2022

Hello! I encounter the same problem when running the training pipeline with torchpack dist-run -np 8 python tools/train.py configs/nuscenes/det/transfusion/secfpn/camera+lidar/swint_v0p075/convfuser.yaml

The official spconv repo says that this error is caused by invalid conv params. I would appreciate any ideas how this might be fixed, thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

cudaLaunchKernel failed to launch kernel - Stack Overflow
Using option 2, no message was printed from the device, and the return value is not equal to CUDA_SUCCESS. I was wondering if...
Read more >
CUDA-GDB - NVIDIA Documentation Center
The user manual for CUDA-GDB, the NVIDIA tool for debugging CUDA applications on Linux and QNX systems.
Read more >
CUDA Python 12.0.0 documentation - GitHub Pages
This indicates that a launch did not occur because it did not have appropriate resources. This error usually indicates that the user has...
Read more >
CUDA C Programming Guide
Added the maximum number of resident grids per device to Table 13. ... CUDA threads that execute that kernel for a given kernel...
Read more >
CUDA Error: Device-Side Assert Triggered: Solved | Built In
A CUDA error: device-side assert triggered is an error that's often caused when you either have inconsistency between the number of labels and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found