看你设置的epoch和服务器的性能,你这个应该是每一步大概2s,自己可以计算下大概耗时

| |

m13021933043

邮箱:m13021933043@163.com

|

Signature is customized by Netease Mail Master

在2020年07月09日 09:50,zhouyang-bigdata 写道:

一番折腾,后腾讯云换了个系统镜像,这应该是在gpu上运行了。请问这个训练一般耗时多久?

日志如下:

INFO:tensorflow: name = bert/encoder/layer_11/attention/output/dense/kernel:0, shape = (768, 768), INIT_FROM_CKPT

INFO:tensorflow: name = bert/encoder/layer_11/attention/output/dense/bias:0, shape = (768,), INIT_FROM_CKPT

INFO:tensorflow: name = bert/encoder/layer_11/attention/output/LayerNorm/beta:0, shape = (768,), INIT_FROM_CKPT

INFO:tensorflow: name = bert/encoder/layer_11/attention/output/LayerNorm/gamma:0, shape = (768,), INIT_FROM_CKPT

INFO:tensorflow: name = bert/encoder/layer_11/intermediate/dense/kernel:0, shape = (768, 3072), INIT_FROM_CKPT

INFO:tensorflow: name = bert/encoder/layer_11/intermediate/dense/bias:0, shape = (3072,), INIT_FROM_CKPT

INFO:tensorflow: name = bert/encoder/layer_11/output/dense/kernel:0, shape = (3072, 768), INIT_FROM_CKPT

INFO:tensorflow: name = bert/encoder/layer_11/output/dense/bias:0, shape = (768,), INIT_FROM_CKPT

INFO:tensorflow: name = bert/encoder/layer_11/output/LayerNorm/beta:0, shape = (768,), INIT_FROM_CKPT

INFO:tensorflow: name = bert/encoder/layer_11/output/LayerNorm/gamma:0, shape = (768,), INIT_FROM_CKPT

INFO:tensorflow: name = bert/pooler/dense/kernel:0, shape = (768, 768), INIT_FROM_CKPT

INFO:tensorflow: name = bert/pooler/dense/bias:0, shape = (768,), INIT_FROM_CKPT

INFO:tensorflow: name = bidirectional_rnn/fw/basic_lstm_cell/kernel:0, shape = (968, 800)

INFO:tensorflow: name = bidirectional_rnn/fw/basic_lstm_cell/bias:0, shape = (800,)

INFO:tensorflow: name = bidirectional_rnn/bw/basic_lstm_cell/kernel:0, shape = (968, 800)

INFO:tensorflow: name = bidirectional_rnn/bw/basic_lstm_cell/bias:0, shape = (800,)

INFO:tensorflow: name = u_omega:0, shape = (1168,)

INFO:tensorflow: name = output_weights:0, shape = (20, 1168)

INFO:tensorflow: name = output_bias:0, shape = (20,)

WARNING:tensorflow:From /usr/local/lib/python3.6/site-packages/tensorflow/python/training/learning_rate_decay_v2.py:321: div (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.

Instructions for updating:

Deprecated in favor of operator or tf.math.divide.

INFO:tensorflow:Done calling model_fn.

INFO:tensorflow:Create CheckpointSaverHook.

INFO:tensorflow:Graph was finalized.

2020-07-09 09:42:55.471208: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA

2020-07-09 09:42:55.649475: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:998] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero

2020-07-09 09:42:55.650252: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x8a58eb0 executing computations on platform CUDA. Devices:

2020-07-09 09:42:55.650293: I tensorflow/compiler/xla/service/service.cc:158] StreamExecutor device (0): Tesla V100-SXM2-32GB, Compute Capability 7.0

2020-07-09 09:42:55.663763: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2500000000 Hz

2020-07-09 09:42:55.664574: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x9a2a320 executing computations on platform Host. Devices:

2020-07-09 09:42:55.664608: I tensorflow/compiler/xla/service/service.cc:158] StreamExecutor device (0): ,

2020-07-09 09:42:55.665581: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1433] Found device 0 with properties:

name: Tesla V100-SXM2-32GB major: 7 minor: 0 memoryClockRate(GHz): 1.53

pciBusID: 0000:00:08.0

totalMemory: 31.72GiB freeMemory: 31.31GiB

2020-07-09 09:42:55.665603: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1512] Adding visible gpu devices: 0

2020-07-09 09:42:55.666469: I tensorflow/core/common_runtime/gpu/gpu_device.cc:984] Device interconnect StreamExecutor with strength 1 edge matrix:

2020-07-09 09:42:55.666486: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990] 0

2020-07-09 09:42:55.666493: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1003] 0: N

2020-07-09 09:42:55.666986: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 30459 MB memory) -> physical GPU (device: 0, name: Tesla V100-SXM2-32GB, pci bus id: 0000:00:08.0, compute capability: 7.0)

INFO:tensorflow:Running local_init_op.

INFO:tensorflow:Done running local_init_op.

INFO:tensorflow:Saving checkpoints for 0 into ckpt/divorce/model.ckpt.

2020-07-09 09:43:22.977919: I tensorflow/stream_executor/dso_loader.cc:152] successfully opened CUDA library libcublas.so.10.0 locally

INFO:tensorflow:global_step/sec: 2.03341

INFO:tensorflow:examples/sec: 65.0693

INFO:tensorflow:global_step/sec: 2.27393

INFO:tensorflow:examples/sec: 72.7656

INFO:tensorflow:global_step/sec: 2.27549

INFO:tensorflow:examples/sec: 72.8157

INFO:tensorflow:global_step/sec: 2.2709

INFO:tensorflow:examples/sec: 72.6686

INFO:tensorflow:global_step/sec: 2.27153

INFO:tensorflow:examples/sec: 72.6891

You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or unsubscribe.

云服务器运行gpu程序很卡,请问怎样才使程序在GPU上运行?相关推荐

  1. 电脑运行python后很卡_Python初学者请注意!别这样直接运行python命令,否则电脑等于“裸奔”...

    晓查 编译整理  量子位 报道 公众号 QbitAI Python已经成为全球最受欢迎的编程语言之一.原因当然是Python简明易用的脚本语法,只需把一段程序放入.py文件中,就能快速运行. 而且Py ...

  2. 运行Android电脑卡,电脑运行安卓模拟器很卡如何提升其运行速度

    如果你还没有安卓手机,那么可以先在电脑上安装一个安卓模拟器,因为它可以在电脑上模拟出安卓手机系统,让你的购机前充分体验安卓手机系统的魅力.但很多朋友反应电脑运行安卓模拟器很卡. 下面,我们就来看看具体 ...

  3. 电脑运行java程序很卡_我的世界卡运行不流畅解决办法

    在玩我的世界时候很卡怎么办?今天游戏园小编为大家带来了我的世界卡机不流畅的解决办法,一直被这个问题困扰的同学快来看看吧! 运行Mc很卡,但配置是达标的,可为java程序增加内存量提升流畅程度 方法一. ...

  4. 服务器装win10系统很卡,刚装的WIN10系统卡顿慢?这样优化一下让你的系统飞起来!...

    2月14日,微软官方正式停更Win7系统,而很多用户也早已过渡到了WIN10系统,相对于WIN7来说,WIN10系统有着更好看的界面与交互,对游戏性能方面也要比WIN7高上一些.但由于好看的外观与更多 ...

  5. 服务器装win10系统很卡,笔记本电脑安装win10系统后变很卡很慢的解决方法

    全新的win10操作系统将在7月29日正式推出,很多笔记本电脑爱好者提前安装测试预览版进行体验.在使用该版本的过程中,部分用户发现笔记本电脑安装win10系统后变很卡很慢,我们知道win10系统对配置 ...

  6. 为什么运行review manager很卡顿_手机明明没坏,为什么声音开到最大依然很小?原来问题在这里...

    手机是大家日常生活中重要工具,但是在使用过程中不知道大家有没有发现这种情况,手机明明没有坏,为什么声音开到最大依然很小?因此笔者为大家总结了几个主要原因,希望可以帮助到大家. 1.安卓手机 安卓手机如 ...

  7. c语言运行后电脑很卡,上网看网页电脑弹出安全警报后电脑就很卡很闪该怎办?...

    很多朋友认为电脑弹出安全警报就应该关闭掉通知,上网一卡一卡的应该是网速问题或者内存问题.但是,小编刚刚经历了一次电脑桌面图标异常而且弹出安全警报上网一卡一卡的不说聊天对话框拖拉都卡伤眼睛啊.怎么办?看 ...

  8. 系统无法在此计算机硬件上运行,Windows安装程序无法将配置未在此计算机的硬件上运行的解决方案-太平洋电脑网...

    "Windows安装程序无法将Windows配置未在此计算机的硬件上运行",在PE下重装Win7 64位系统的时候出现这个提示是不是让遇到此问题的你十分崩溃? 经过在多台机N次的重 ...

  9. 运行linux中degui_Windows与Linux合二为一?终于能在windows上运行Linux了!

    目前在PC端操作系统市场份额中,微软旗下的windows系统占据超过50%的比例. 作为微软旗下发布的产品之一,windows系统深受用户喜爱.从经典的XP和win7,因其操作简单,运行流畅吸粉无数, ...

最新文章

  1. 前端技术学习之选择器(一)
  2. matlab7.1(ERROR STARTING DESKTOP)解决
  3. libsvm java api文档_libsvm-javaAPI
  4. python怎么读文件夹下的文件夹-python2.7读取文件夹下所有文件名称及内容的方法...
  5. 设置GVIM的默认初试界面大小、启动位置
  6. 服务器会自动创建cookie,网站的cookie机制是什么
  7. 【随感】i'm new here
  8. 两波形相位差的计算值_波形相位频率可调DDS信号发生器(设计分享)
  9. html实现简易影院购票,打造属于自己的私人影院,竟然这么简单!
  10. 教师录微课及剪辑软件推荐
  11. MATLAB递推最小二乘法(三输入一输出ARX模型、所有样本数据权重为1)
  12. dis的前缀单词有哪些_按前后缀分类单词——dis前缀的名词
  13. 音视频开发技术,让智能家居更智能!
  14. 管理大师德鲁克管理学精髓
  15. 关于文本编辑器的一点思考
  16. 字符集、ASCII、Unicode
  17. 热点综述 | 单细胞+空间转录组的整合分析方法总结
  18. 收录查询 搜狗收录批量查询工具
  19. 花了一个周末折腾蜗牛星际的黑群晖,多图预警!
  20. java 取当天0点_java 获取当天(今日)零点零分零秒

热门文章

  1. 开工第一天,这个超时问题把我干趴下了
  2. 再见 Jenkins !几行脚本搞定自动化部署,这款神器有点厉害!
  3. @微信官方,给我微信旁边加个福字
  4. 什么是 “马太效应” ?
  5. 教你消灭 Java 代码的“坏味道”
  6. 使用spring jdbc的batchUpdate功能提高性能
  7. 架构设计基础:单服务.集群.分布式,基本区别和联系
  8. PYMODM使用记录
  9. SQL Server 2012 Always ON笔记
  10. Android--使用剪切板在Activity中传值