j6mes / acl2021-factual-error-correction

ACL 2021
https://jamesthorne.com
Apache License 2.0
26 stars 7 forks source link

Training on multiple GPUs in parallel #3

Closed vnik18 closed 3 years ago

vnik18 commented 3 years ago

Hello, I am able to run your code, however I do not have access to a TPU.

Do you know if it is possible to perform training of the masker-corrector model on multiple GPUs instead of a single one? Thank you!

j6mes commented 3 years ago

Hi, while i did all my experiments on a single GPU. The code is built on huggingface and should support distributed data parallel training automatically detecting multiple GPUs or by manually setting the --num_gpus X flag

vnik18 commented 3 years ago

Thank you, I will try that