You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found that when using 4 Gpus', the results are inferior to 2 Gpus'.
After checking the codes, I found that the code reduce losses and then divide by the world_size. That is kinda weird to me. I think the loss.backward will do it implicitly. So I remove this.
#def all_reduce_average(tensor):# val = all_reduce_sum(tensor)# return val / get_world_size()defall_reduce_average(tensor):
returntensor
I'm still running the experiments, and after getting the result, I'll record it here.
The text was updated successfully, but these errors were encountered:
I have found that when using 4 Gpus', the results are inferior to 2 Gpus'.
After checking the codes, I found that the code reduce losses and then divide by the world_size. That is kinda weird to me. I think the loss.backward will do it implicitly. So I remove this.
I'm still running the experiments, and after getting the result, I'll record it here.
The text was updated successfully, but these errors were encountered: