Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
功能是新增了一个scale进位算法,当量化结果为FP4_E2M1时,支持SCALE_ALG=2,同时dst_max_value 的取值仅支持 0.0 或 6.0-12.0,并且在 支持SCALE_ALG=2 时有效。默认值 0.0 表示 maxType 对应目标数据类型的最大值。如果提供其他值,则 mxscale 根据提供的值计算。
Vector
新增实现
/assign
Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
Backgroud(背景信息)
功能是新增了一个scale进位算法,当量化结果为FP4_E2M1时,支持SCALE_ALG=2,同时dst_max_value 的取值仅支持 0.0 或 6.0-12.0,并且在 支持SCALE_ALG=2 时有效。默认值 0.0 表示 maxType 对应目标数据类型的最大值。如果提供其他值,则 mxscale 根据提供的值计算。
Origin(信息来源)
Vector
Benefit / Necessity (价值/作用)
新增实现
Design(设计方案)