当前位置:网站首页>MindSpore:【模型训练】【mindinsight】timeline的时间和实际用时相差很远
MindSpore:【模型训练】【mindinsight】timeline的时间和实际用时相差很远
2022-07-30 19:04:00 【小乐快乐】
问题描述:
【功能模块】
【模型训练】【mindinsight】【timeline】
【操作步骤&问题现象】
1、训练模型,跑了两个epoch,耗时大概十分钟
2、下载timeline

3、导入到chrome的tracing功能中
【截图信息】
timeline:

看到timeline中颜色条集中在两个地方,一个是0days附近,一个是在2.315days前那里。从timeline上看一个用时超过1天。而且在下载timeline的那个地方,显示Total operator execution time:597285262.1108ms,相当于6.9天
但从loss-step的折线图看,2个epoch总共才用了624秒:

为什么程序实际上只跑了十分钟,但timeline那里却显示那么久?
解决方案:
是AIcpu和AIcore算子的时间戳没有对齐。我们正在修复,会尽快合入master分支。您可以基于现有的timeline文件,主要关注AIcore算子的信息(Process 0下的算子)进行性能分析。
边栏推荐
- Google's AlphaFold claims to have predicted almost every protein structure on Earth
- VBA batch import Excel data into Access database
- 【Prometheus】Prometheus联邦的一次优化记录[续]
- node封装一个控制台进度条插件
- 【hbuilder】运行不了部分项目 , 打开终端 无法输入指令
- kotlin的by lazy
- VS Code connects to SQL Server
- MYSQL (Basic) - An article takes you into the wonderful world of MYSQL
- C# wpf 无边框窗口添加阴影效果
- AI基础:图解Transformer
猜你喜欢

Immersive experience iFLYTEK 2022 Consumer Expo "Official Designated Product"

阿里云武林头条活动分享

kotlin by lazy

Google's AlphaFold claims to have predicted almost every protein structure on Earth

VBA connects Access database and Excel

生物医学论文有何价值 论文中译英怎样翻译效果好

VS Code 连接SQL Server

LeetCode Exercise - Two Questions About Finding Sum of Array Elements

redis

微信小程序云开发 | 城市信息管理
随机推荐
【网站放大镜效果】两种方式实现
Spark学习:编译Spark项目时遇到的报错
nlohmann json 使用指南【visual studio 2022】
scrapy基本使用
6块钱1斤,日本公司为何来中国收烟头?
运营 23 年,昔日“国内第一大电商网站”黄了...
Immersive experience iFLYTEK 2022 Consumer Expo "Official Designated Product"
SwiftUI iOS 精品开源项目之 完整烘焙食品菜谱App基于SQLite(教程含源码)
微信小程序云开发 | 城市信息管理
Another company interview
JS提升:Promise中reject与then之间的关系
Vulkan开启特征(feature)的正确姿势
natural language processing nltk
The large-scale application of artificial intelligence AI products in industrial-grade mature shipping ports of CIMC World Lianda will create a new generation of high-efficiency smart ports and innova
高精度加法
WEBSOCKETPP使用简介+demo
AWS 控制台
Object和Map的区别
Tensorflow2.0 confusion matrix does not match printing accuracy
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.解决方法