Closed Jeffrey-Lim closed 1 month ago
You can add a tqdm per block, why would you want a tqdm bar for the whole pipeline?
You can add a tqdm per block, why would you want a tqdm bar for the whole pipeline?
For some blocks you can't add a reliable tqdm bar. Additionally, you can have a pipeline with multiple steps that each complete somewhat quickly and it would be more useful to see a progress bar for the whole pipeline instead.
A tqdm bars is just one use case though. You might want to do some special logging or caching.
The Training and Transforming Systems currently run a
for
loop that you have no control over. We should add a callback system (similar to Lightning Callbacks) that allows you to run any function at the start and end of each step.One obvious use case for this would be to get a TQDM bar for a
TransformationPipeline
in Epochalyst.