Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Fix error thrown by multiprocessing set_start_method#70

Open
ANarayan wants to merge 2 commits into
Breakend:masterfrom
ANarayan:master
Open

Fix error thrown by multiprocessing set_start_method#70
ANarayan wants to merge 2 commits into
Breakend:masterfrom
ANarayan:master

Conversation

@ANarayan
Copy link
Copy Markdown

@ANarayan ANarayan commented Jul 4, 2021

This PR addresses a bug in the multiprocessing logic for the compute tracker. Specifically, it addresses a RuntimeError caused by the multiprocessing set_start_method, which complains that 'context has already been set'. To avoid this error, we set force=True when creating a new fork.

@Breakend Breakend requested a review from jieru-hu August 24, 2021 01:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant