Open Winfriedvdd opened 1 year ago
Hi @Winfriedvdd - Interesting question.. Yeah AIMET does not support today stochastic noise when the ranges (scale/offsets) are being learnt during training..
Could you throw some light into what you were trying to do? E.g. we have not seen a lot of benefit with stochastic rounding during training..
Hi, I want to measure the quantization noise during inference time when the rounding mode is put to 'stochastic'. However, I am having a hard time constructing such stochastic noise, as the outputs of my networks and layers all seem to be constant. Any idea what I can do?
Here is a minimal code example:
I did notice that with a different quantization scheme (e.g. post_training_tf) and omitting
quantsim.model.eval()
I could achieve what I wanted, but I am actually interested in getting this stochastic behavior for a model that has been trained using QAT.Kind regards,
Winfried