ContinualAI / ContinualAI/avalanche

Error pickling when doing checkpoints

Open
#1,680 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2.1k
Forks
321
PR merge metrics
No merged PRs in 30d

Description

🐛 **Describe the bug**
The checkpoint plugin is giving an error when saving a checkpoint, in the dill library: `TypeError: cannot pickle 'ConfigModuleInstance' object`

Python version: 3.11.10
Dill version: 0.3.9

🐜 **To Reproduce**
The error can be reproduced by simply running the unit tests on the library:

```
FAST_TEST=True python -m unittest discover tests -v
```

🐝 **Expected behavior**
It is expected for the checkpoints to work.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.