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

DeepFM 1n1d example #360

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

DeepFM 1n1d example #360

wants to merge 3 commits into from

Conversation

MARD1NO
Copy link
Contributor

@MARD1NO MARD1NO commented Jul 19, 2022

No description provided.


def np_to_global(np):
t = flow.from_numpy(np)
return t.to_global(placement=flow.env.all_device_placement("cpu"), sbp=flow.sbp.split(0))
return t.to_global(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

单卡情况下,设置sbp为broadcast

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

Successfully merging this pull request may close these issues.

2 participants