Sorry to reopen the thread.
After running the code:

params = torch.load(input_file, lambda storage, loc: storage)


I met the same problem as Yangyu met before. The error message shows:

TypeError: set_ received an invalid combination of arguments - got (torch.FloatStorage, int, tuple, tuple), but expected one of:

no arguments
(torch.cuda.FloatTensor source)
(torch.cuda.FloatStorage storage)
(torch.cuda.FloatStorage sourceStorage, int storage_offset, int … size)
didn’t match because some of the arguments have invalid types: (!torch.FloatStorage!, int, !tuple!, !tuple!)
(torch.cuda.FloatStorage sourceStorage, int storage_offset, torch.Size size)
(torch.cuda.FloatStorage sourceStorage, int storage_offset, torch.Size size, tuple strides)


I just updated my pytorch to the latest version in the master branch. The version number is 0.1.11+761eef1. Any idea why?
Thanks,
Yaozong