Support int8 models. (#14636)