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

Seems unable to utilize multiple GPUs #4

Open
slnxyr opened this issue Oct 13, 2022 · 1 comment
Open

Seems unable to utilize multiple GPUs #4

slnxyr opened this issue Oct 13, 2022 · 1 comment

Comments

@slnxyr
Copy link

slnxyr commented Oct 13, 2022

Hi there.

I have tried running this code on one of my machine with two RTX3090 GPUs (GPU memory 24GB for each)

python -m torch.distributed.launch --nproc_per_node=2 script/run.py -c config/fb15k237.yaml --gpus [0,1]

However, I encountered the error saying that incompatible function arguments.

image

image

Could you help me solve this problem? Is there something wrong with my setups?

@KiddoZhu
Copy link
Contributor

Hi! I guess this is because the graph data structure in TorchDrug is not compatible with the latest DDP implementation in PyTorch. What's your PyTorch version? Could you try PyTorch versions like 1.8.0 or 1.10.0?

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

No branches or pull requests

2 participants