Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

any quantize tool like tflite? #60

Open
MaxwellHan opened this issue Jan 22, 2019 · 2 comments
Open

any quantize tool like tflite? #60

MaxwellHan opened this issue Jan 22, 2019 · 2 comments

Comments

@MaxwellHan
Copy link

in tflite,when excute
import tensorflow as tf converter = tf.lite.TocoConverter.from_saved_model(saved_model_dir) converter.post_training_quantize = True tflite_quantized_model = converter.convert() open("quantized_model.tflite", "wb").write(tflite_quantized_model)
i can get a 8bit model and then i can move is to mobile devices.

is there any docs about caffe2 like this?i can't find any example or tutorial about quant a model and excute on mobile devices.
what's more, how caffe2 and pytorch support 8bit ops ?

@SystemErrorWang
Copy link

same question here, would like to know if there's any quantization tools in caffe2 now that it supports 8bit operators.

@RicCu
Copy link

RicCu commented Feb 27, 2019

They're supposedly coming within the next couple of months. See this issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants