Hi, I am running my deep learning model using pytorch. When I am using single GUP, my model is running fine but facing problem using multiple GPU. I searched this problem in google and got idea to downgrade pytorch version 0.3.0. I don’t know where this is the way to rid of my problem or not. However I was trying to downgrade pytorch using
pip install torch=0.3.0
But getting error to install. Is there someone to help me to downgrade pytorch using pip.
I got below error during running multiple GPU:
Exception NameError: “global name ‘FileNotFoundError’ is not defined” in <bound method _DataLoaderIter.del of <torch.utils.data.dataloader._DataLoaderIter object at 0x7fb3bbaba8d0>> ignored
Traceback (most recent call last):
File “train.py”, line 61, in 
Variable(data[‘image’]), Variable(data[‘feat’]), infer=save_fake)
File “/netscratch/reza/venv/lib/python2.7/site-packages/torch/nn/modules/module.py”, line 491, in call
result = self.forward(*input, **kwargs)
File “/netscratch/reza/venv/lib/python2.7/site-packages/torch/nn/parallel/data_parallel.py”, line 114, in forward
outputs = self.parallel_apply(replicas, inputs, kwargs)
File “/netscratch/reza/venv/lib/python2.7/site-packages/torch/nn/parallel/data_parallel.py”, line 124, in parallel_apply
return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
File “/netscratch/reza/venv/lib/python2.7/site-packages/torch/nn/parallel/parallel_apply.py”, line 65, in parallel_apply
raise output
TypeError: forward() takes at least 5 arguments (2 given)