Skip to content

feat: support linear FP8 and MoE MXFP4/MXFP8 rtn - #386

Merged
RuBing-Yang merged 2 commits into
Tencent:mainfrom
cctvqxj:hy4-mxfp4-rtn
Sep 21, 2026
Merged

RuBing-Yang merged 2 commits into
Tencent:mainfrom
cctvqxj:hy4-mxfp4-rtn

Conversation

@RuBing-Yang

Copy link
Copy Markdown
Collaborator

Support linear FP8 and MoE MXFP4/MXFP8 RTN conversion for HY4 Preview.

Usage:

python3 tools/linear_fp8_moe_mxfp4_mxfp8_quant.py \
    --input-path /path/to/hy4-bf16 \
    --output-path /path/to/hy4-mxfp4-fp8 \
    --reference /path/to/hy4-fp8-reference \
    --use-gpu \
    --num-workers 8

@RuBing-Yang
RuBing-Yang merged commit 0358da9 into Tencent:main Sep 21, 2026
5 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