Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Show progress for fitting #647

Merged
merged 1 commit into from
Nov 9, 2022
Merged

Conversation

larsoner
Copy link
Member

@larsoner larsoner commented Nov 9, 2022

Before merging …

  • Changelog has been updated (docs/source/changes.md)

Closes #570

Unfortunately we can't really get this to work for dask -- workers can't write to the host to give updates, and the memmap approach that works for joblib does not appear to work for dask -- so there no progress bar is shown. The alternative would be to show a progress bar that doesn't update at all, which seems worse than not showing one in the first place.

Locally if I comment out the parallel_backend = 'dask' and use the bugfix branch mne-tools/mne-python#11311, then I get nice updates:

Peek.2022-11-09.08-40.mp4

@larsoner
Copy link
Member Author

larsoner commented Nov 9, 2022

@hoechenberger hoechenberger merged commit 5c51e21 into mne-tools:main Nov 9, 2022
@hoechenberger
Copy link
Member

Great! Thanks @larsoner

@larsoner larsoner deleted the progress branch November 9, 2022 19:05
larsoner added a commit to larsoner/mne-bids-pipeline that referenced this pull request Nov 9, 2022
* upstream/main:
  MAINT: Simplify by removing fire (mne-tools#649)
  ENH: Show progress for fitting (mne-tools#647)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Print heartbeat log messages
2 participants