Persisting job.meta updates without overwriting the rest of the job
Persisting job.meta updates without overwriting the rest of the job: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). def process big thing(items): job = get current job() for i, item in enumerate(items): do work(item) job.meta 'progress' = i / len(items) job.meta…
The task
def process_big_thing(items): job = get_current_job() for i, item in enumerate(items): do_work(item) job.meta['progress'] = i / len(items) job.meta['last_item'] = item job.save() # <-- persist progress so a dashboard can read it ```
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.