Skip to content

Commit e9c1d33

Browse files
fredrectensorflower-gardener
authored andcommitted
Clarify that currently 8-bit quantization is the only supported deployment path.
PiperOrigin-RevId: 378332718
1 parent 3c8ff9f commit e9c1d33

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

tensorflow_model_optimization/g3doc/guide/quantization/training.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ cases. The code currently supports a
3737
### Experiment with quantization and associated hardware
3838

3939
Users can configure the quantization parameters (e.g. number of bits) and to
40-
some degree, the underlying algorithms. With these changes from the API
41-
defaults, there is no supported path to deployment.
40+
some degree, the underlying algorithms. Note that with these changes from the
41+
API defaults, there is currently no supported path for deployment to a backend.
42+
For instance, TFLite conversion and kernel implementations only support 8-bit
43+
quantization.
4244

4345
APIs specific to this configuration are experimental and not subject to backward
4446
compatibility.

tensorflow_model_optimization/g3doc/guide/quantization/training_comprehensive_guide.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,9 @@
496496
},
497497
"source": [
498498
"**Your use case**: using the following APIs means that there is no\n",
499-
"supported path to deployment. The features are also experimental and not\n",
500-
"subject to backward compatibility.\n",
499+
"supported path to deployment. For instance, TFLite conversion\n",
500+
"and kernel implementations only support 8-bit quantization.\n",
501+
"The features are also experimental and not subject to backward compatibility.\n",
501502
" * `tfmot.quantization.keras.QuantizeConfig`\n",
502503
" * `tfmot.quantization.keras.quantizers.Quantizer`\n",
503504
" * `tfmot.quantization.keras.quantizers.LastValueQuantizer`\n",

0 commit comments

Comments
 (0)