-
Notifications
You must be signed in to change notification settings - Fork 706
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
deepFM 多gpu报错 #261
Labels
bug
Something isn't working
Comments
报错的具体堆栈看下 |
报错堆栈原因分析这个bug是我们之前为了解决#192 发布的2d56269 这次改动中引入的,当时考虑到 解决方案多gpu训练时,有两种方法可以获取当前所在的gpu:
但是当输入的 我们准备采用方案1,会在后续的发布中合并此处改动,感谢您的提问。 |
@zanshuxun 您好,请问这个改动什么时候可以发布哈? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:1!
下面是代码
model = DeepFM(linear_feature_columns=linear_feature_columns, dnn_feature_columns=dnn_feature_columns,
task='binary', device=device, gpus=[0, 1], dnn_dropout=0.5)
The text was updated successfully, but these errors were encountered: