The first issue is that you should never redefine the __call__ method on a Module. Just the forward. This is going to provent it from working nicely with other parts of pytorch.
More generally, the error most likely refers to the creation of the DataParallel where the device argument does not have the right type.