Skip to content
Snippets Groups Projects
Commit 695e7029 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Revert "[data.datamodule] Experiment with fork/spawn setup"

This reverts commit 20dfcdb4.
parent 20dfcdb4
No related branches found
No related tags found
1 merge request!6Making use of LightningDataModule and simplification of data loading
Pipeline #81958 failed
......@@ -584,7 +584,7 @@ class ConcatDataModule(lightning.LightningDataModule):
num_workers = value or multiprocessing.cpu_count()
self._dataloader_multiproc["num_workers"] = num_workers
if num_workers > 0: # and sys.platform == "darwin":
if num_workers > 0 and sys.platform == "darwin":
self._dataloader_multiproc[
"multiprocessing_context"
] = multiprocessing.get_context("spawn")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment