Closed
[Feature]: npu_format_cast新增入参input_dtype, 支持紧凑排布的fp4数据进行ND2NZ格式转换 #1551
yuanshuai000Add on Feb 25Closed at Mar 4
yuanshuai000
Feb 25 Comments:
Feb 25 Comments:
/assign @yuanshuai000


Feb 25 Assign yuanshuai000 as responsible person
Feb 25 Added label: feature
Feb 26 Associated pull request
Feb 26 Associated pull request
Feb 26 Associated pull request
Feb 26 Associated pull request
Mar 4 Close issue
Mar 4 Added label: resolved
提交提案之前,请先检索仓库内是否已有相同的提案,如已有请在同一提案中进行讨论。
💻 需求背景、当前现状、期望实现的功能内容、具体的设计方案、以及测试方案
当前npu_format_cast在对fp4数据进行ND2NZ格式转换时,需要输入用fp32伪装的fp4,而这会导致显存浪费。希望能够支持直接对uint8打包的紧凑排布fp4数据进行转换。
替代方案
补充说明
欢迎加入社区,感谢您对社区的贡献 🎉!