datasets.load_from_disk doesn't show progress bar

Describe the bug

This is the inverse of the bug at #7030, i.e. that datasets.load_from_disk(path) displays no progress bar. My dataset has > 16 files in it.

I am redirecting stdout as I capture the log, could this have something to do with it? All other progress bars work fine though except for HF dataset progress bars.

Steps to reproduce the bug

with contextlib.redirect_stdout(log_file), contextlib.redirect_stderr(log_file):
    datasets.load_from_disk(path)

Expected behavior

The progress bar should show when loading a dataset.

Environment info

Python 3.13.9
Datasets 4.4.1
macOS Tahoe 26.2