Skip to content

Upgrade to Quantizeml 0.13.0, Akida/CNN2SNN 2.11.0 and Akida models 1.6.2

Choose a tag to compare

@ktsiknos-brainchip ktsiknos-brainchip released this 09 Apr 11:24
· 172 commits to main since this release

Update QuantizeML to version 0.13.0

New features

  • Added an input_dtype in quantization parameters
  • Improved sanitizer to fold non-even convolution kernels into an even kernel when possible
  • Improved sanitizer to handle 'pad > transpose' configurations
  • Added support Upsample operation in ONNX
  • Added support for multi-outputs models in ONNX quantization
  • Unified data generators in the package (calibration, recording, analysis)

Bug fixes

  • Fixed an incorrect padding value in QuantizedConv2DTranspose
  • Fixed calibration issue for ONNX when using random samples
  • Limited the possibility to define FixedPoint with more than 1D frac_bits and QFloat with more than 1D scales

Update Akida and CNN2SNN to version 2.11.0

Aligned with FPGA 1562(2-node)/1563(6-node)/1532(ViT)

New features

  • [akida] Added hwpr_loopitself parameter to MapConstraints that enables reusing an NP between passes
  • [akida] Added missing docstrings for MapConstraints
  • [akida] Added early support for skip connection (Add) mapping and inference
  • [cnn2snn] Updated requirement to QuantizeML 0.13.0
  • [cnn2snn] Updated conversion to leverage input_dtype quantization parameter introduced in QuantizeML
  • [cnn2snn] Added Akida conversion for ONNX QuantizedConcat, QuantizedConv2DTranspose and QuantizedDepthwise2DTranspose

Bug fixes:

  • [akida] Added a graph validation step at mapping to reject unsupported models

Update Akida models to 1.6.2

  • Updated QuantizeML dependency to 0.13.0 and CNN2SNN to 2.11.0
  • 2.0 pretrained models are now 8-bit (updated from 4-bit)
  • Added a utility function accessible though CLI to compute a model sparsity
  • Fixed Portrait128 evaluation pipeline

Documentation update

  • Added a section for the sparsity tool in Akida models zoo user guide
  • Updated coil100 download path
  • Updated numpy random usage in examples