Unanswered
Hey Clearml Community
We Are Managing Multiple Clearml Servers For Many Teams And We Come To The Point That We Must Cleanup And Delete Old Tasks
Based On
Hey ClearML community
We are managing multiple ClearML servers for many teams and we come to the point that we must cleanup and delete old tasks
Based on cleanup_service.py - I wrote down two scripts that should make this task, quicker, effective and safe
TL ; DR - pull all ClearML tasks for specific user older then xxx days into a tasks_json
(delete script is separate and needs to point to the generated tasks json)
The scripts are using both SDK and REST API, so needs to setup ~clearml.conf
, as well as export ClearML secrets and URL as env vars
Please delete carefully!
Sharing is caring 🙂
None
194 Views
0
Answers
2 months ago
2 months ago
Tags