Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
221cb0332
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
221cb0332
Commits
edecf1d7
Commit
edecf1d7
authored
3 years ago
by
zhangzhenghai
Committed by
Gitee
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
update README_CN.md.
parent
5638fccd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README_CN.md
+1
-1
1 addition, 1 deletion
README_CN.md
with
1 addition
and
1 deletion
README_CN.md
+
1
−
1
View file @
edecf1d7
...
...
@@ -135,7 +135,7 @@ MindSpore已获得Apache 2.0许可,请参见LICENSE文件。
## FAQ
-
**
Q:
由于运行模式
`PYNATIVE_MODE`
运行
模型出现错误内存不足,例如
*Failed to alloc memory pool memory*
, 该怎么处理?
**
-
**
Q:
直接使用models下的
模型出现错误内存不足,例如
*Failed to alloc memory pool memory*
, 该怎么处理?
**
**A**
: 直接使用models下的模型出现内存不足典型的原因是由于运行模式(
`PYNATIVE_MODE`
)、运行环境配置、License控制(AI-TOKEN)的不同造成的:
`PYNATIVE_MODE`
通常比
`GRAPH_MODE`
使用更多内存,尤其是在需要进行反向传播计算的训练图中,你可以尝试使用一些更小的batch size;运行环境由于NPU的核数、内存等配置不同也会产生类似问题;License控制(AI-TOKEN)的不同档位会造成执行过程中内存开销不同,也可以尝试使用一些更小的batch size。
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment