Open
Description
On my local machine, PyTorch has some internal multithreaded functionality that doesn't get along with AMReX. Unless I set PyTorch.set_num_threads(1 or 2), then the attached script will hang when the neural network tries to set its initial parameters.
This script downloads some neural network parameters from Zenodo archive to then load them, and the load_state_dict
function is the specific point of failure.