Open mzouink opened 3 months ago
This sounds like it would be a great addition. We have an observer pattern implemented for handling updates while blockwise processing here: https://github.com/funkelab/daisy/blob/master/daisy/cl_monitor.py
I think we could consider a couple reasonable approaches:
1) add verbosity arguments to the existing monitor
2) add a new ServerObserver
subclass specifically for remote execution where you do not want the progress bar at all but rather just a tidy log file
When submitting a cluster task tqdm save a new line for twice for each block which can become a gigabytes file
Is there a way to make an option that set update frequency ? or use an other option that saves only the last line