
# 日志提示Compile graph failed
#### 问题现象
日志提示：Compile graph failed。
图1报错提示   
![](https://support.huaweicloud.com/bestpractice-modelarts/figure/zh-cn_image_0000001749407281.png "点击放大")
#### 原因分析
模型转换时未指定Ascend后端。
#### 处理方法
需要在模型转换阶段指定"--device=Ascend"。
