cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

tqdm progressbar in Databricks jobs

majo2
New Contributor II

Hi,

I'm using Databricks workflows to run a train job using `pytorch` + `lightning`. `lightning` has a built in progressbar built on `tqdm` that tracks the progress. It works OK in when I run the notebook outside of a workflow. But when I try to run notebook as a part of a workflow no progressbar is displayed.

Is this some limitation of the workflows or am I hitting some kind of bug?

I'm on Databricks runtime for ML 15.3 with `tqdm==4.65.0

2 REPLIES 2

spatel
New Contributor II

I'm having the same issue. I even tried following

from tqdm.autonotebook import tqdm

but when I do this

for row in tqdm(df.itertuples(index=False)):

I don't see the progress bar in Databricks workflow notebook. 

ludovicc
New Contributor II

I have found that only progressbar2 can work in both interactive notebooks and workflow notebooks. It's limited, but better than nothing. Tqdm is broken in workflows.