Skip to content

How to avoid this error in Windows? ImportError: cannot import name 'RRef' from 'torch.distributed.rpc' #1465

Answered by tangy5
yiluzhou1 asked this question in Q&A
Discussion options

You must be logged in to vote

Emmm, it looks like the PyTorch Distributed package does not support Windows well on your machine. You could refer to Pytorch installation guide.

Or you could try use the monailabel docker, maybe a better choice to make it compatible with your machine without bothering too many packages installation issues.

docker run -it --rm --gpus all --ipc=host --net=host -v ~:/workspace/ projectmonai/monailabel:latest bash

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yiluzhou1
Comment options

Answer selected by yiluzhou1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants