Solved by ptrblck in post #2 
              
              
                If you call the model directly, the internal __call__ method will be called, which will register hooks etc. and call forward itself. 
You should therefore not call forward manually, but let the module do it.