Open
feat: support float8 e8m0 scale nn transdata #1
jayshuAdd on Aug 11
feat: support float8 e8m0 scale nn transdata #1
Open
jayshuAdd on Aug 11
jayshu
jayshuCollaborators
Aug 11

Description

Support FLOAT8_E8M0 scale ND to Nn storage conversion through aclnnNpuFormatCast when dstFormat is FRACTAL_NZ. The Nn storage shape is (..., ceil(N / 16), KScale, 16, 2), while the original logical shape remains (..., KScale, N, 2).

Changes

  • Add shape calculation and validation for FLOAT8_E8M0 scale ND to Nn.
  • Add Reshape + Transpose based transdata implementation.
  • Update aclnnNpuFormatCast API docs.
  • Add Ascend950 L2 unit cases for valid 3D/4D shapes and invalid N alignment.

Test

  • git diff --check for modified files

Type

likedislike
Merge blocked
jayshujayshuCollaborators
Aug 15 Pushed commit
jayshujayshuCollaborators
Aug 17 Pushed commit
jayshujayshuCollaborators
Aug 17 Pushed commit
jayshujayshuCollaborators
Aug 17 Pushed commit
jayshujayshuCollaborators
Aug 25 Pushed commit
jayshujayshuCollaborators
Aug 25 Pushed commit
jayshujayshuCollaborators
Aug 25 Pushed commit
jayshujayshuCollaborators
Aug 26 Pushed commit