Skip to content

Conversation

@zhuyuhua-v
Copy link
Contributor

Motivation

Technical Details

Test Plan

Test Result

Submission Checklist

y = qr_common.quick_all_reduce(y)
assert y is not None, "quick_all_reduce should return a tensor!"
elif self.tp_dim == 1 and self.tp_size > 1 and self.reduce_results:
y = get_tp_group().all_reduce(y, ca_fp8_quant=False)
Copy link
Collaborator

Choose a reason for hiding this comment

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

this API "get_tp_group().all_reduce" can also call to qar, no need add more logic

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.

3 participants