OpenGVLab / InternImage

[CVPR 2023 Highlight] InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutions
https://arxiv.org/abs/2211.05778
MIT License
2.5k stars 232 forks source link

Unable to train the algorithms with 2 GPU instances (multi-node), each with 4 A100s #272

Open CheruscanArminius opened 9 months ago

CheruscanArminius commented 9 months ago

The paper says the algorithm has been trained with 8 A100 GPUs. I am having two instances, each equipped with 4 A100s instead of one GPU instance with 8 A100 GPUs. Is there any way to specify the instances in the configurations? In another word, where can I specify the number of nodes in the code? https://lightning.ai/docs/pytorch/stable/common/trainer.html#num-nodes

I would do appreciate if you could give a comment on these.

Update:

I added number of nodes to the training process and sent a pull request. In case of being accepted, this issue will be closed.