Repository navigation
MetaTF 2.19 - Upgrade to Quantizeml 1.2.3, Akida/CNN2SNN 2.19.1 and Akida models 1.13.1
·
42 commits
to main
since this release
Update QuantizeML to version 1.2.3
New features
- Updated StatefulRecurrent and StatefulProjection layers to 8-bit for Pico
- Introduced PicoPostProcessing layer for Anomaly detection use cases
- Handle Reshape nodes in input pattern "Cast > Mul > Add > Transpose" when equivalent to transpose
- Improved rescale quantization in ONNX pipeline
- Handle transpose/flatten when aligning rescaling parameters in sanitizer
- Dropped support for up and down shaping for Pico
Bug fixes
- Sanitizer is performed twice to better handle folding layers like Pads in Convs
- Models with mutliple outputs were not correctly handled (only keeping the main branch)
- Some indentity convolutions were missing for skip connections and hardware compatiblity
- Prevented a Tensorflow and Pytorch incompatbility when importing QuantizeML
- Fixed bad quantization in models with multiple outputs
- Fixed bad rescaling folding in models with Add + Conv
- Fixed a core dump while sanitizing models with high resolution
- Fixed tensorflow_text dependency since latest keras_hub would pull an incompatible version for optional [test] dependencies
Update Akida and CNN2SNN to version 2.19.1
Aligned with FPGA-1764(2-nodes)/1765(6-nodes)/1766(6-nodes bittware)/905(pico)
New features and updates:
- [cnn2snn] Aligned with QuantizeML 1.2.2 for Pico layers updates
- [akida] Added support for Pico FPGA. This include StatefulRecurrent and PicoPostProcessing layers, KWS and anomaly detection models, nn_ops bindings, PicoIP virtual device, 16-bit I/O support and hardware constraints checks during mapping. The conversion, mapping and inference process is kept unchanged from Akida 2.0.
- [akida/cnn2snn] Dropped support for up and down shaping for Pico
- [akida] Virtual devices helpers have been updated for Pico
Bug fixes
- [akida] Fixed HRC issue for greyscale and many channels
- [akida] Fixed an overflow in PicoPostProcessing shift
Update Akida models to 1.13.1
Changes in akida_models package
- Aligned with QuantizeML 1.2.2 and CNN2SNN 2.1.0
- Added Pico model pipeline for Keyword Spotting (model definition, training and evaluation recipes)
- Dropped support for up and down shaping for Pico
Documentation update
- Added a mention to compatibility to Pytorch >= 2.6
- Added doucmentation for Pico related APIs