Solved by ptrblck in post #2 
              
              
                You shouldn’t disable device assert errors, as they are pointing towards critical errors in your code. 
E.g. you might run into an illegal memory access (the PyTorch device assert statements should trigger the assertion before hitting the memory violation), which might corrupt your data in all imagi…