checkpointing.config

 1defaults = {
 2    "cache.filesystem.directory": ".checkpointing",
 3    "cache.pickle_protocol": 5,
 4    "hash.algorithm": "md5",
 5    "hash.pickle_protocol": 5,
 6    "checkpoint.on_error": "warn",
 7}
 8"""
 9Package-wise global dict for default value configurations
10
11The pickle protocols are hardcoded as `5` in favor of [PEP 574](https://peps.python.org/pep-0574/),
12which optimizes pickling large data objects. Using this will significantly reduce the memory overhead.
13"""
defaults = {'cache.filesystem.directory': '.checkpointing', 'cache.pickle_protocol': 5, 'hash.algorithm': 'md5', 'hash.pickle_protocol': 5, 'checkpoint.on_error': 'warn'}

Package-wise global dict for default value configurations

The pickle protocols are hardcoded as 5 in favor of PEP 574, which optimizes pickling large data objects. Using this will significantly reduce the memory overhead.