using https://github.com/vlimant/ornl-nnlo/blob/master/hls4mlJEDI.py with
mpirun -np 3 --tag-output python3 TrainingDriver.py --model hls4mlJEDI.py --loss categorical_crossentropy --epochs 1 --backend torch
fails in
[1,0]<stderr>: model = copy.deepcopy(self.model)