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:
DataLoader : TypeError: Instance and class checks can only be used with @runtime_checkable protocols
1 Like