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
{{ message }}
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.
i want to use multi-GPU to train my model, but it report error like"torch/install/share/lua/5.1/cunn/DataParallelTable.lua:348: attempt to call method 'type' (a nil value)"
i do not know why, but the cunn is our package dowloaded from net
The text was updated successfully, but these errors were encountered:
the problem is that i do language generation, and use a mlp encoder and a LSTM decoder, because i expecially want to test the big batch so i have to train model on two GPUs because of out of memory.
so i have tried it many times, i found DataParallelTable is not suitable for my situation, i see someone use cutorch.setDevice() but i do not know very clearly about his logic relation, so i hope you can give me some advice!!
@
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
i want to use multi-GPU to train my model, but it report error like"torch/install/share/lua/5.1/cunn/DataParallelTable.lua:348: attempt to call method 'type' (a nil value)"
i do not know why, but the cunn is our package dowloaded from net
The text was updated successfully, but these errors were encountered: