# MindSpore大模型报错xxx is not a supported default model or a valid path to checkpoint.

**1. 系统环境**

硬件环境\(Ascend/GPU/CPU\): Ascend

软件环境: MindSpore 版本: 2.2.0

执行模式： 不限

**2. 报错信息**

xxx is not a supported default model or a valid path to checkpoint.

```
Traceback (most recent call last):
    File "/hone/ma user/work/aindformers-rc88/aindformers/nindformers/tools/register/register.py", 1ine 192, inget_instance_fron_cfg	        return obj_cls(*angs)
    File "/hone/ma-user/work/aindforwers-rc08/alndforwers/alndformers/versloncontrol.py", 1ine 49, in decorator
        func(*args, *loeangs)
    File "/hone/ma-user/work/alndforwers-rc0a/aindformers/elndformers/models/1lana/llaa.py", line 311, in _init_
        self.load_checkpaint(config)
    File "/home/ma-user/work/aindforeers-rc08/aindformers/alndformers/models/bse_model.py", 1ine 84, in load_checkpoint
        ralse ValueErnorf"lcheckpoint name or oath) is nota suooorted default nodel"
ValueError: /data/qwen/folder1/1lama2_13b/1lama2_7b.ckpt 1s nota supported default model or a validpath to checkpoint, please select fron['1lama_7b','11ama_13b, '11ama 65b','11ama2_7b','1lama2 136',  11ama2_70b','llasa 7b lora'].
```

**3. 解决方案**

1.如果传入的是模型名称，确认传入的模型名称是否为问题提示中的模型名称。

2.如果传入的是模型路径，确认传入的模型路径所指向文件是否存在。

