DataLoader : TypeError: Instance and class checks can only be used with @runtime_checkable protocols

I don’t think it is possible at the moment. We are still working on Python 3.10 support. You can track the issue here:

1 Like