79424732

Date: 2025-02-09 10:22:43
Score: 1
Natty:
Report link

with orbax checkpoint version '0.5.3'

with ocp.CheckpointManager(ckpt_dir, options=check_options, item_names=('state', 'metadata')) as mngr:
  mngr.save(...)

I got

TypeError: 'CheckpointManager' object does not support the context manager protocol

So I wander if your solution is still valid or if it is for future version??

Reasons:
  • Whitelisted phrase (-1): solution is
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Jean-Eric