NVlabs / instant-ngp

Instant neural graphics primitives: lightning fast NeRF and more
https://nvlabs.github.io/instant-ngp
Other
15.57k stars 1.89k forks source link

Could not free memory: cudaFree(rawptr) failed: an illegal memory access was encountered #1542

Open yoponchik opened 2 months ago

yoponchik commented 2 months ago

I am getting an error when clicking Mesh it

Could not free memory: C:\Users\ITAEC\Documents\Github\instant-ngp\dependencies\tiny-cuda-nn\include\tiny-cuda-nn/gpu_memory.h:139 cudaFree(rawptr) failed: an illegal memory access was encountered

EDIT:

Now I am getting

Uncaught exception: C:\Users\ITAEC\Documents\Github\instant-ngp\dependencies\tiny-cuda-nn\include\tiny-cuda-nn/gpu_memory.h:591 cuMemMap(m_base_address + m_size, n_bytes_to_allocate, 0, m_handles.back(), 0) failed: CUDA_ERROR_INVALID_VALUE
sumanttyagi commented 1 month ago

@yoponchik are you using windows 11 ?

yoponchik commented 1 month ago

@sumanttyagi Yes, my machine is on windows 11