neptune-client icon indicating copy to clipboard operation
neptune-client copied to clipboard

Feature Request: delete an experiment?

Open wjaskowski opened this issue 4 years ago • 5 comments

How can I delete a run/experiment from API?

wjaskowski avatar Oct 08 '21 14:10 wjaskowski

Hi @wjaskowski

Prince Canuma here, Data Scientist at Neptune.ai

Currently, it's not available, but I will send your request to the engineering team!

Other than that, is there anything else I can help you with?

Blaizzy avatar Oct 11 '21 10:10 Blaizzy

Just out of curiosity, why would you want to delete runs from the API? Would you mind telling me what is your use case?

Blaizzy avatar Oct 11 '21 11:10 Blaizzy

I have runs which I need to update (since they depend on other runs). Updating runs means that I need to I basically need to rerun them. Either I "clear" a run and reuse the id only or I delete the whole run. Fully clearing a run is hard and maybe even impossible so deleting a run would be the most convenient option. (Also: I do not want to keep older versions).

Also, I execute tons of runs. Currently, in one project I have more than 3500. One reason is that I need to have statistical significance so that I need to repeat runs with different seeds.

On Mon, 11 Oct 2021 at 13:05, Prince Canuma @.***> wrote:

Just out of curiosity, why would you want to delete runs from the API? Would you mind telling me what is your use case?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/neptune-ai/neptune-client/issues/727#issuecomment-939924120, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFZEHNTB7I2XXMKTOFMJVTUGLAHFANCNFSM5FTY66PQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

wjaskowski avatar Oct 11 '21 11:10 wjaskowski

Interesting,

So, let me see if I understood it correctly,

You want a programmatic way of deleting runs so that when you have to re-run/update runs you can delete the old runs that are no longer useful, right?

Blaizzy avatar Oct 12 '21 06:10 Blaizzy

If you don't mind me asking 🤓

Can you describe your entire update run process step-by-step? And at which step deleting runs programmatically would be useful to you.

I want to use this information to help the engineers understand your use case better 👍

Blaizzy avatar Oct 12 '21 07:10 Blaizzy

Hi, what is the priority status for this feature request? My team needs a way to programmatically delete runs using the python API.

lindseynield avatar Jan 24 '23 17:01 lindseynield

Hello @lindseynield, neptune-client 0.16.8 introduced the trash_objects() method that you can use to delete Neptune runs, models, and model versions. You can read more about it in our docs: https://docs.neptune.ai/api/management/#trash_objects

I am closing this feature request for now, but please feel free to reach out in case you have any other questions.

SiddhantSadangi avatar Jan 25 '23 08:01 SiddhantSadangi