Skip to content

xccl add AVG#511

Merged
MC952-arch merged 1 commit into
flagos-ai:mainfrom
sunge666-ui:main
Jul 8, 2026
Merged

xccl add AVG#511
MC952-arch merged 1 commit into
flagos-ai:mainfrom
sunge666-ui:main

Conversation

@sunge666-ui

Copy link
Copy Markdown
Contributor

PR Category

PAL (Portable Abstraction Layer)

PR Types

New Features

PR Description

xccl adds avg reduction

@MC952-arch MC952-arch left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds AVG reduction support to the Kunlunxin XCCL CCL adaptor by wiring flagcxAvg into the backend reduction-op mapping, enabling AVG-based collectives to route to XCCL/BKCL.

Changes:

  • Map flagcxAvg to BKCLOp::BKCL_AVG in flagcxRedOpToBKCLOp.
  • Minor formatting/line-ending adjustment at the file’s closing #endif.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +48 to +49
case flagcxAvg:
return BKCLOp::BKCL_AVG;
@MC952-arch MC952-arch merged commit 42d5dd5 into flagos-ai:main Jul 8, 2026
16 checks passed
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