Skip to content

Conversation

@DanielSun11
Copy link
Contributor

@DanielSun11 DanielSun11 commented Dec 31, 2025

PR Category

Operator Mechanism

PR Types

New features

Description

moe_permute 支持使用ue8m0数据类型作为scale的dtype

  • moe_permute 增加using_ue8m0_scale 参数用于表示scale是否使用ue8m0 数据类型。如果using_ue8m0_scale 为True,则输入的scale和输出unzipped_scales的数据类型都是int32(4个ue8m0 packed)

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@85cbec3). Learn more about missing BASE report.

Files with missing lines Patch % Lines
paddle/phi/infermeta/multiary.cc 0.00% 3 Missing ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #77165   +/-   ##
==========================================
  Coverage           ?    0.00%           
==========================================
  Files              ?        1           
  Lines              ?        3           
  Branches           ?        0           
==========================================
  Hits               ?        0           
  Misses             ?        3           
  Partials           ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

zrr1999
zrr1999 previously approved these changes Jan 4, 2026
Copy link
Member

@zrr1999 zrr1999 left a comment

Choose a reason for hiding this comment

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

LGTM

jeff41404
jeff41404 previously approved these changes Jan 4, 2026
Copy link
Contributor

@jeff41404 jeff41404 left a comment

Choose a reason for hiding this comment

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

LGTM for API change

@DanielSun11 DanielSun11 dismissed stale reviews from jeff41404 and zrr1999 via a5694f6 January 4, 2026 17:22
zrr1999
zrr1999 previously approved these changes Jan 6, 2026
jeff41404
jeff41404 previously approved these changes Jan 6, 2026
@DanielSun11 DanielSun11 dismissed stale reviews from jeff41404 and zrr1999 via 688db2d January 6, 2026 07:32
Copy link
Contributor

@changeyoung98 changeyoung98 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@sneaxiy sneaxiy left a comment

Choose a reason for hiding this comment

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

LGTM for coverage. Due to lack of FP8 support in CI GPU machines.

@DanielSun11 DanielSun11 merged commit 9e5305e into PaddlePaddle:develop Jan 9, 2026
293 of 310 checks passed
DanielSun11 added a commit to DanielSun11/Paddle that referenced this pull request Jan 15, 2026
* moe_permute support using_ue8m0_scale

* add docs

* add  compat yaml for save/load

* fix save/load config

* fix format
ShigureNyako pushed a commit to ShigureNyako/Paddle that referenced this pull request Jan 16, 2026
* moe_permute support using_ue8m0_scale

* add docs

* add  compat yaml for save/load

* fix save/load config

* fix format
@ShigureNyako
Copy link
Contributor

✅ Cherry-pick successful! Created PR: #77389

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.