diff --git a/colbert/infra/config/core_config.py b/colbert/infra/config/core_config.py index fa5f6956..7b559007 100644 --- a/colbert/infra/config/core_config.py +++ b/colbert/infra/config/core_config.py @@ -14,7 +14,12 @@ @dataclass class DefaultVal: val: Any + + def __hash__(self): + return hash(repr(self.val)) + def __eq__(self, other): + self.val == other.val @dataclass class CoreConfig: