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

add unitest for colo_tensor 1DTP cross_entropy #1230

Merged
merged 1 commit into from
Jul 7, 2022
Merged

Conversation

1SAA
Copy link
Contributor

@1SAA 1SAA commented Jul 7, 2022

No description provided.

@1SAA 1SAA requested review from feifeibear and ver217 July 7, 2022 10:17
Comment on lines +14 to +16
def forward(ctx, vocab_parallel_logits, targets, process_group):
if process_group is None:
process_group = gpc.get_group(ParallelMode.PARALLEL_1D)
Copy link
Contributor

Choose a reason for hiding this comment

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

现在不要怕用gpc的 process_group了!

@1SAA
Copy link
Contributor Author

1SAA commented Jul 7, 2022

image

@1SAA 1SAA merged commit 42ab36b into hpcaitech:main Jul 7, 2022
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.

None yet

2 participants