No error, the software just stop running. No crash dialog.
However I finally found the solution ! When I train a model using CUDA, I should send back my model to CPU using model.to(kCPU) before saving it, so that it’s compatible with the CPU-only package as well.
So I was able to convert my CUDA-trained models to CPU-trained models using the CUDA package by doing load(model, oldfile); model.to(kCPU); save(model,newfile);
Here’s the hex difference between the CUDA file and the CPU file, towards the end of the file:
                    
            
           3


Everything else in the file is strictly identical, just that block differs (notice “cpuq” vs “cuda” at the top right of the green block) and make the CPU-only package crash (with no error message) when trying to load the CUDA-saved file.
I’m a little surprised this is happening as I thought the model file only contained float values, with no affinity to the processing unit ?