Can this code run on multiple GPUs?
lxc86739795 opened this issue · comments
Xinchen Liu commented
It seems that the code cannot directly run on multiple GPUs by simply adding "torch.nn.Dataparallel".
Artsiom commented
I'm not sure about that. Maybe you will have to make some extra modifications.
What kind of error do you get?
Chen94yue commented
LOL @lxc86739795
Faiz Ul Wahab commented
The simplest way to go about this is to make modifications until train_batch and disable faiss_gpu. You might have to make more modification in terms of gpu sharing between faiss and the training session.