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

multi-GPU #105

Open
wanghechong opened this issue Apr 20, 2018 · 0 comments
Open

multi-GPU #105

wanghechong opened this issue Apr 20, 2018 · 0 comments

Comments

@wanghechong
Copy link

i read you code carefully, but i do not vary understand like 'decoder_clones = clone_many_times(decoder, opt.max_sent_l_targ) ' , why we need to copy opt.max_sent_l_targ times, and we share the parameters and
do not share gradinput and gradoutput and others, what‘ s the logitic relation about them i do not understand clearly, so what kind of things we shoule clone? my model = {encoder(mlp), decoder} too, if i want to train my model , what i shoule notice? because i increase the compution in my model ,so i have to train it on two gpus to compare with others with the same hyper parameters.

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

1 participant