Replies: 1 comment 2 replies
-
Hi @hw-ju , CUDA program can't support forked multi-processing, so you should not use Thanks. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm adapting this tutorial script to run in ddp https://github.com/Project-MONAI/tutorials/blob/master/3d_segmentation/unetr_btcv_segmentation_3d.ipynb.
It works when I use
CacheDataset
for CPU mem caching (together withDistributedSampler
as arguments toDataLoader
). However, after addingEnsureTyped
andToDeviced
to cache on GPU and perform transforms on GPU (I checked that those transforms support tensor as input bypython monai/transforms/utils.py
) asI get error:
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions