
# 场景介绍
本小节通过一个具体问题案例，介绍模型精度调优的过程。
如下图所示，使用MindSpore Lite生成的图像和onnx模型的输出结果有明显的差异，因此需要对MindSpore Lite pipeline进行精度诊断。
图1结果对比   
![](https://support.huaweicloud.com/bestpractice-modelarts/figure/zh-cn_image_0000001765473729.png "点击放大")
![](https://support.huaweicloud.com/bestpractice-modelarts/public_sys-resources/note_3.0-zh-cn.png)
在MindSpore Lite 2.0.0版本中，Stable Diffusion的五个模型的精度都能够保证一致性，但是在最新的2.1.0版本中，会出现text_encoder模型精度不一致的情况。该问题后续会发布补丁进行修复。
