The error might point to a detached computation graph in your model, so could you please post the model definition here?
The inplace versions of the non-linearities shouldn’t create this error message.