diff --git a/jaxtyping/_array_types.py b/jaxtyping/_array_types.py index 6622fcb..51f33da 100644 --- a/jaxtyping/_array_types.py +++ b/jaxtyping/_array_types.py @@ -337,7 +337,9 @@ def __eq__(cls, other): return cls._get_props() == other._get_props() def __hash__(cls): - return hash(cls._get_props()) + # Does not use `_get_props` as these attributes don't necessarily exist + # during depickling. See #198. + return 0 return MetaAbstractArray