aim icon indicating copy to clipboard operation
aim copied to clipboard

Remove or prune artifacts along with the run

Open nlgranger opened this issue 11 months ago • 2 comments

🚀 Feature

When deleting a run, artifacts should be removed too.

If that is not possible, maybe aim storage prune could remove dangling artifacts ?

Motivation

Not filling up my hard drive with checkpoints.

Additional context

https://github.com/aimhubio/aim/pull/3164 https://github.com/aimhubio/aim/issues/3234

nlgranger avatar Feb 07 '25 15:02 nlgranger

Hi @nlgranger! Looks like a reasonable request; thanks for submitting this one. I think it would be good idea to optionally preserve artifacts when deleting runs. For example model checkpoints can be used to initiate new runs, etc. Will adding a flag to control this behavior in CLI resolve your issue with disk space?

alberttorosyan avatar Feb 17 '25 07:02 alberttorosyan

If I'm to go manually with CLI I might as well rm the checkpoints. A separate button or checkbox to delete artifacts was more what I had in mind.

nlgranger avatar Feb 22 '25 21:02 nlgranger