model-optimization icon indicating copy to clipboard operation
model-optimization copied to clipboard

A toolkit to optimize ML models for deployment for Keras and TensorFlow, including quantization and pruning.

Results 228 model-optimization issues
Sort by recently updated
recently updated
newest added

Prior to filing: check that this should be a bug instead of a feature request. Everything supported, including the compatible versions of TensorFlow, is listed in the overview page of...

bug

**System information** - TensorFlow version (you are using): 2.3.0 - Are you willing to contribute it (Yes/No): No **Motivation** Currently pruning in tensorflow_model_optimization  does not result in a reduction in...

feature request

- TensorFlow version (you are using): 2.13 - **Motivation** There are many models which use batch norm in places where it is not covered by the existing cases allowed in...

feature request

**Describe the bug** We are trying to implement some network like [ShuffleNetV2](https://arxiv.org/abs/1807.11164) but encounter some error when `quantize_apply` the model. ![image](https://user-images.githubusercontent.com/22385182/233325404-e2e502fe-1151-4f4c-9377-570a01681848.png) I believe ShuffleNet or related ideas are popular in...

bug

**Describe the bug** Trying to save a model that wraps a `MultiHeadAttention` layer in a `PruneLowMagnitude`, fails with duplicate dataset name. **System information** TensorFlow version (installed from source or binary):...

bug

Hi, I did see post_training_quant in model optimization, however, I didn't see quant aware training tutorial or examples. is there quant aware training in model optimization? is there quant aware...

help wanted

Hi TFMOT team! I have created a workaround for an edge-case in my project, and in my head it should be possible to have it be the default behavior in...

feature request

Rewire TensorFlow to rely on tf_keras target.

technique:pruning

No matter the size of the LSTM model, converting it with float16 optimization runs out of memory. **Code to reproduce the issue** [The code snippet to reproduce the issue on...

bug

Prior to filing: check that this should be a bug instead of a feature request. Everything supported, including the compatible versions of TensorFlow, is listed in the overview page of...

bug