You can definitely turn off logging partially or completely: https://clear.ml/docs/latest/docs/clearml_sdk/task_sdk#automatic-logging
I'm not aware of changing this during the execution of the task (you'll have to set this in task.init) but you can manually log what you need after you (partially) turned off logging.
TimelyMouse69
Thanks for the reply, this is only regarding automatic logging, where i want to disable logging all together (avoiding the task being added to the UI)
I actually don't think that it's supported at the moment...I'll talk to the devs and see if that's something we can add to a future release
BTW, i would expect this to happen automtically when running “local” and “debug”
It’s a lot of manual work that you need to remember to undo
What you can do is run it in offline mode though 😄
PricklyRaven28
You mean that even though you called Task.init(), nothing will show in the UI?
also, i don’t need to change it during execution, i want it for a specific run
My use case is developing the code, i don’t want to spam the UI
Yes, but it’s more complex because i’m using a pipeline… where i don’t explicitly call Task.init()
My only suggestion is to maybe route it into a "debug_pipeline" project and then just delete it altogether when development is done? 🙂
Yeah I get what you're saying, but when developing ClearML we did not view it like that. when we run it locally or debug it, we thought of it more "This is running just on my local computer without an agent to make sure everything works before I use an agent to run the parts". Sorry that it confuses you 🙂