Skip to content
This project is mirrored from https://review.mlplatform.org/tosa/serialization_lib. Pull mirroring updated .
  1. Sep 20, 2024
    • Tai Ly's avatar
      Update README.md · d1029d0c
      Tai Ly authored
      
      
       - added TosaSerializationRegion
       - aligned API's in each class with current source code
       - removed reference to include/operator.def (do not exist)
       - removed reference to quantization information (no long applies)
      
      Signed-off-by: default avatarTai Ly <tai.ly@arm.com>
      Change-Id: I33e83284e42a15a508f39ed0ebeef6e4db479568
      d1029d0c
  2. Sep 10, 2024
  3. Sep 09, 2024
  4. Aug 29, 2024
  5. Aug 12, 2024
    • Ian Tayler Lessa's avatar
      Fix bug in fp8e5m2 serialisation · 1f8b7d56
      Ian Tayler Lessa authored and Eric Kunze's avatar Eric Kunze committed
      
      
      Previously we were incorrectly serialising fp8e5m2 tensors into the
      flatbuffers. Now we handle serialisation properly.
      
      The code still assumes the input array to be of dtype uint8. A future
      patch should allow fp8e5m2 tensors to be passed in native form, with the
      library itself handling conversions to uint8 if necessary.
      
      Signed-off-by: Ian Tayler Lessa's avatarIan Tayler Lessa <ian.taylerlessa@arm.com>
      Change-Id: Ib4772a7ae01d5ce5e85f426dec531a5f4778e2f0
      1f8b7d56
  6. Aug 06, 2024
  7. Aug 02, 2024
  8. Aug 01, 2024
  9. Jul 31, 2024
  10. Jul 30, 2024
  11. Jul 25, 2024
  12. Jul 05, 2024
  13. Jun 25, 2024
  14. Jun 18, 2024
  15. Jun 11, 2024
  16. Jun 10, 2024
  17. Jun 05, 2024
  18. Jun 03, 2024
  19. May 28, 2024
  20. May 17, 2024
  21. May 10, 2024
  22. May 09, 2024
  23. May 04, 2024
  24. May 03, 2024
  25. Apr 26, 2024
  26. Apr 25, 2024
  27. Apr 19, 2024
  28. Apr 18, 2024
  29. Apr 09, 2024
  30. Apr 08, 2024
    • Tai Ly's avatar
      Add conversions of U8 to/from BF16 and FP8 · ce911a2f
      Tai Ly authored
      
      
      Adds type to PadAttribute and ClampAttribute so their pad_const
      and max_val/min_val can be deserialized according to type
      
      Adds conversion functions of U8 arrays to/from BF16/FP8 values
      Also, refactor and expose TosaSerializer.convertDataToUint8Vec
      for converting dtype/data to uint8 list for serialization
      And modify convertDataToUint8Vec to serialize bf16 values into
      2 bytes each, and serialize fp8 values into single bytes each.
      
      Signed-off-by: default avatarTai Ly <tai.ly@arm.com>
      Change-Id: I05659e8187c76d359f1cc9f71c8c23cafd0e877f
      ce911a2f
  31. Apr 04, 2024
  32. Mar 13, 2024
  33. Mar 11, 2024
    • Tai Ly's avatar
      [serialization_lib] Fix Clamp and Pad Attributes · 0b6d7c27
      Tai Ly authored and Eric Kunze's avatar Eric Kunze committed
      
      
      This patch implements following changes to attribute fields:
      - PadAttribute: delete padding field, replace pad_const_int
      	and pad_const_fp fields by pad_const, a field of
      	ubyte array
      - ClampAttribute: replace min_int, max_int, min_fp and max_fp
      	fields by min_val and max_val, fields of ubyte arrays
      - RescaleAttribute: delete multiplier and shift fields
      
      Signed-off-by: default avatarTai Ly <tai.ly@arm.com>
      Change-Id: I5b075d29677cffca9ff2292708141d48410e7e72
      0b6d7c27
  34. Feb 27, 2024
  35. Feb 22, 2024
    • Tai Ly's avatar
      [serialization_lib] Align to Tosa Spec · 81db8ee8
      Tai Ly authored
      
      
      removed attributes for Reshape, Slice and Tile Ops
      renamed field accum_dtype to acc_type,
      renamed then_branch/else_branch to then_graph/else_graph
      renamed cond_branch/body_branch to cond_graph/body_graph
      
      Signed-off-by: default avatarTai Ly <tai.ly@arm.com>
      Change-Id: I2001f19519987d9e64c18b1f11762f9d3b9be4ec
      81db8ee8
Loading