Progress improvements

#55
by adamelliotfields - opened

ZeroGPU init progress was added a couple weeks ago to the existing progress=gr.Progress(track_tqdm=True) functionality. See https://huggingface.co/spaces/zero-gpu-explorers/README/discussions/107.

Edit: not mentioned in the post, but you still need ZEROGPU_V2=true based on spaces==0.30.2.

adamelliotfields changed discussion title from ZeroGPU initialization progress to Progress improvements

The pipeline loading code (repos and single-files) uses logging.tqdm, which can be disabled/enabled globally with logging.disable_progress_bar().

Gradio's Progress instance also has a tqdm method with the same signature. Need to override from_pretrained and from_single_file to make this work.

Need to add progress for loading/unloading loras, ip-adapter, and upscaler.

adamelliotfields changed discussion status to closed

Sign up or log in to comment