NVlabs / nvdiffrast

Nvdiffrast - Modular Primitives for High-Performance Differentiable Rendering
Other
1.43k stars 157 forks source link

Cuda error 700 #196

Open ziangcao0312 opened 3 months ago

ziangcao0312 commented 3 months ago

When I use the nvdiffrast to render 9 512x512 images, I face this error. How can I know the reason for this error?

File "/mnt/petrelfs/caoziang.p/anaconda3/envs/lrm_flex/lib/python3.10/site-packages/nvdiffrast/torch/ops.py", line 248, in forward out, out_db = _get_plugin().rasterize_fwd_cuda(raster_ctx.cpp_wrapper, pos, tri, resolution, ranges, peeling_idx) RuntimeError: Cuda error: 700[cudaLaunchKernel((void*)triangleSetupKernel, dim3(setupBlocks, 1, m_numImages), dim3(32, CR_SETUP_WARPS), args, 0, stream);]

s-laine commented 3 months ago

Can you provide a minimal reproducing code? It's pretty much impossible to tell what might be going wrong without a failing test case.