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

Add better error capture and error message for invalid multiprocess targets #20

Merged
merged 2 commits into from
Jan 19, 2025

Conversation

RichardZhu2
Copy link
Collaborator

Functions decorated with task using @-syntax cannot be multiprocessed.

  • Add a helpful error message for cases where the user tries to multiprocess any non-globally-accessible function
  • Update the docs to encourage the dynamic usage of task

@RichardZhu2 RichardZhu2 linked an issue Jan 19, 2025 that may be closed by this pull request
2 tasks
@pyper-dev pyper-dev merged commit 09eadd9 into main Jan 19, 2025
@pyper-dev pyper-dev changed the title Add better error capture and error message for invliad multiprocess targets Add better error capture and error message for invalid multiprocess targets Jan 19, 2025
@pyper-dev pyper-dev deleted the bug-mp branch January 19, 2025 17:55
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.

[BUG] multiprocess=True hangs
2 participants