(原)tensorflow中提示CUDA_ERROR_LAUNCH_FAILED
Failed Error 提示 Tensorflow CUDA launch
2023-09-11 14:22:24 时间
转载请注明出处:
http://www.cnblogs.com/darkknightzh/p/6606092.html
参考网址:
https://github.com/tensorflow/tensorflow/issues/6509#issuecomment-277882893
说明:不确定是否还有其他原因。我这边是这样解决的。
具体错误如下:
tensorflow/stream_executor/cuda/cuda_driver.cc:1185] failed to enqueue async memcpy from host to device: CUDA_ERROR_LAUNCH_FAILED tensorflow/stream_executor/cuda/cuda_driver.cc:49] Erroe polling for event status: failed to query enent: CUDA_ERROR_LAUNCH_FAILED tensorflow/core/common_runtime/gpu/gpu_event_mgr.cc203] Unexpected event status: 1 Aborted (core dumped)
这个不太确定具体都是什么原因,但是我这边tensorflow程序运行了几次,每次运行一段时间后,就提示上面的问题。后来看参考网址上DIPRECXY说,更新cudnn5.1(虽然问题不一样,但是我这边确实解决了)。更新了之后,运行了一段时间,确实没有出现上面的错误。
顺便,torch7中运行程序也崩溃(以前没有出现过),更新了之后,也没再崩溃。
因而猜测,可能是之前cuda使用的是7.5的,然后cudnn也是配套的5.0还是哪个版本。前几天改成了cuda8.0,但是cudnn没有更新。因而程序运行一段时间之后,就崩溃。改成了配套的cudnn之后,就可以了。
相关文章
- 使用webdriver出现的问题:[18796:1808:0730/131103.313:ERROR:install_util.cc(600)] Failed to read HKLMSOFTWAREPoliciesGoogleChromeMachineLevelUserCloudPolicyEnrollmentToken: 系统找不到指定的文件。 (0x2) DevTools lis
- Error Message – The index ” is dependent on column ”.ALTER TABLE ALTER COLUMN ” failed because one or more objects access this column.
- Failed to connect to github.com port 443: Timed out
- Error:java: Compilation failed: internal java compiler error 解决办法
- 【node-sass】 Module build failed: Error: ENOENT: no such file or directory, scandir 'C:UserslizhaohongDesktoptestwebpacknode_modules.4.7.2@node-sassvendor'
- 执行buildman --fetch-arch arm提示"urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>"如何处理?
- 解决K8s报错:Error: error installing: the server could not find the requested resource
- android常见错误-Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- Android studio的错误:radle sync failed: Cause: failed to find target android-21 :
- 【HMS Core】视频编辑服务报错method not allowed 20124、Parameter error. Error: appId is invalid
- iOS 苹果开发证书失效的解决方案(Failed to locate or generate matching signing assets)
- Solution of Publishing failed with multiple errors Error copying file static
- unreal 安卓打包出现 LogHttp: Warning: 000001D09B0C8F00: request failed, libcurl error 哇塞 真的是爆炸 不知道为啥巨慢
- 错误ERROR datanode.DataNode (DataXceiver.java:run(278)) - hadoop07:50010DataXceiver error processing unknown operation src:127.0.0.136479 dst:127.0.0.150010
- 记录实验室深度学习服务器显卡硬件故障的排查——RmInitAdapter failed! rm_init_adapter failed
- 抓取https网页报错sun.security.validator.ValidatorException: PKIX path building failed解决
- git:early EOF the remote end hung up unexpectedly index-pack failed RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
- Mac电脑npm:Failed to download repo vuejs-templates/webpack: tunneling socket could not be established,
- com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method
- 解决 ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)异常
- phpstorm failed to create jvm:error code -6 解决办法 解决方法
- 错误:ORA-28547:connection to server failed, probable Oracle Net admin error的解决方案
- 【AI学习笔记】Error: ffmpeg error (see stderr output for detail)
- Error creating bean with name ‘billRestService‘: Injection of resource dependencies failed
- idea使用"svn"到项目报错Error:Cannot run program "svn" (in directory "E:XXXXXX"):CreateProcess error=2,
- [转载]Linux libusb "LIBUSB_ERROR_ACCESS" libusb_open返回值为-3 error解决方法