==11957== NVPROF is profiling process 11957, command: python script.py CUDA runtime error: an illegal memory access was encountered (700) in magmablas_strsm at /opt/conda/conda-bld/magma-cuda101_1578423817034/work/magmablas/strsm.cu:484 CUDA runtime error: an illegal memory access was encountered (700) in magmablas_strsm at /opt/conda/conda-bld/magma-cuda101_1578423817034/work/magmablas/strsm.cu:485 CUDA runtime error: an illegal memory access was encountered (700) in magma_sgetri_gpu at /opt/conda/conda-bld/magma-cuda101_1578423817034/work/src/sgetri_gpu.cpp:164 CUDA runtime error: an illegal memory access was encountered (700) in magma_queue_destroy_internal at /opt/conda/conda-bld/magma-cuda101_1578423817034/work/interface_cuda/interface.cpp:944 CUDA runtime error: an illegal memory access was encountered (700) in magma_queue_destroy_internal at /opt/conda/conda-bld/magma-cuda101_1578423817034/work/interface_cuda/interface.cpp:945 CUDA runtime error: an illegal memory access was encountered (700) in magma_queue_destroy_internal at /opt/conda/conda-bld/magma-cuda101_1578423817034/work/interface_cuda/interface.cpp:946 /home/kyriazis/python_evns/debug_redner/lib/python3.7/site-packages/torch/nn/functional.py:1351: UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead. warnings.warn("nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.") Traceback (most recent call last): File "script.py", line 102, in res = render() File "script.py", line 78, in render distortion_params=torch.zeros(8, device='cuda'), File "/home/kyriazis/python_evns/debug_redner/lib/python3.7/site-packages/pyredner/camera.py", line 105, in __init__ self.world_to_cam = torch.inverse(self.cam_to_world).contiguous() RuntimeError: CUDA error: an illegal memory access was encountered ==11957== Warning: ERR_NVGPUCTRPERM - The user does not have permission to profile on the target device. See the following link for instructions to enable permissions and get more information: https://developer.nvidia.com/ERR_NVGPUCTRPERM ==11957== Profiling application: python script.py ==11957== Profiling result: No kernels were profiled. No API activities were profiled. ==11957== Warning: Some profiling data are not recorded. Make sure cudaProfilerStop() or cuProfilerStop() is called before application exit to flush profile data.