---
title: 模型训练时报错提示dev cache overflow-昇腾社区
description: 使用Rec SDK行模型训练时报错并提示“dev cache overflow”。
keywords: dev cache overflow
url: https://www.hiascend.com/document/caselibrary/detail/topic_0000001658480504
section: (其他)
---

# 模型训练时报错提示dev cache overflow-昇腾社区

URL: https://www.hiascend.com/document/caselibrary/detail/topic_0000001658480504
描述: 使用Rec SDK行模型训练时报错并提示“dev cache overflow”。
关键词: dev cache overflow

昇腾文档 [了解详情](https://www.hiascend.com/document)

故障案例 [了解详情](https://www.hiascend.com/document/caselibrary)

模型训练时报错提示dev cache overflow

模型训练时报错提示dev cache overflow

2025/01/07

597

问题信息

| 问题来源 | 产品大类 | 产品子类 | 关键字 |
| --- | --- | --- | ---|
| 官方 | 模型训练 | Rec SDK | dev cache overflow |

#### 问题现象描述

使用Rec SDK行模型训练时报错并提示“dev cache overflow”。

#### 原因分析

模型中“dev_vocab_size”参数值过小。

#### 解决方案

请修改模型中“dev_vocab_size”参数（device vocabulary size），将该值适当调大。

过大的值可能造成设备侧报out of memory错误，请根据实际训练情况和设备HBM存储大小适度调整。

本页内容

- 问题信息
- 问题现象描述
- 原因分析
- 解决方案
