Open GuHongyang opened 4 months ago
Hey @GuHongyang! Thanks a lot for opening the issue. Strange thing is that I couldn't reproduce this on my end with python 3.11
aim 3.22
and ray 3.32
.
But anyway it's a situation that is better to be safe than sorry, so it would be nice if you could open a PR with the fix you've proposed as it won't have any side effects.
@mihran113 we had this happen a few times so I opened a PR here: https://github.com/aimhubio/aim/pull/3256
It's just a reiteration of what @GuHongyang wrote in the bug description.
🐛 Bug
When using ray.tune for hyperparameter optimization and invoking the AimLoggerCallback, the following error occurs:
Specifically located in: /root/data/anaconda3/lib/python3.11/site-packages/aim/sdk/reporter/init.py
To reproduce
ray=2.31.0 aim=3.22.0
Expected behavior
I can solve this problem by replacing self.timed_tasks with list(self.timed_tasks.keys()), but will there be any side effects?