Skip to content
Advertisement

Tag: cuda

Pytorch crashes cuda on wrong line

How to see which python line causes a cuda crash down the line in Pytorch, which executes asynchronous code outside of the GIL? Here is a case where I had Pytorch crash cuda, running this code on this dataset and every run would crash with the debugger on a different python line, making it very difficult to debug. Answer I

Pycuda Blocks and Grids to work with big datas

I need help to know the size of my blocks and grids. I’m building a python app to perform metric calculations based on scipy as: Euclidean distance, Manhattan, Pearson, Cosine, joined other. The project is PycudaDistances. It seems to work very well with small arrays. When I perform a more exhaustive test, unfortunately it did not work. I downloaded movielens

Advertisement