Hi,
thank you for the quick reply.



 albanD:

I’m not sure how to silence specific errors in mypy


So far I couldn’t find a combination of flags that would ignore spurious errors coming from pytorch but would not hide any other actual error.
My two cents: it might be better to not distribute type hints at all rather than having them in, but half-broken: on the user side it becomes quite a pain.
Cheers,
Enrico