Skip to content

Conversation

@co63oc
Copy link
Contributor

@co63oc co63oc commented Sep 9, 2025

增加单测 test_dynamic_per_token_scaled_fp8_quant
测试FP32,大数值,边界,FP16输入

@paddle-bot
Copy link

paddle-bot bot commented Sep 9, 2025

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contributor External developers label Sep 9, 2025
@co63oc
Copy link
Contributor Author

co63oc commented Sep 10, 2025

@lizhenyun01 CI已完成需要review


def _run_dynamic_per_token_scaled_fp8_quant(self, input_data, scale_ub=0.0):
"""
运行动态逐token缩放FP8量化算子
Copy link
Collaborator

Choose a reason for hiding this comment

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

注释麻烦切换到英文呢

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已修改切换英文

@lizhenyun01
Copy link
Collaborator

建议添加一下bfloat16输入的测试

@co63oc
Copy link
Contributor Author

co63oc commented Sep 12, 2025

建议添加一下bfloat16输入的测试

已修改增加bfloat16测试

@luotao1 luotao1 merged commit b70ca35 into PaddlePaddle:develop Sep 16, 2025
15 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants