• 解决Tensorflow error(CUBLAS_STATUS_EXECUTION_FAILED)报错问题


    问题描述

    系统:Ubuntu20.04

    显卡:RTX A5000

    物理机CUDA Verion:11.4

    所安装的Tensorflow版本:tensorflow-gpu==1.13.1

    采用Conda创建了虚拟环境以及拉取Tensorflow官方docker镜像两种方式,

    其中Conda虚拟环境配置(Python3.7.2),使用conda命令安装,如下所示:

    1. cudatoolkit 10.0.130 h8c5a6a4_10 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
    2. cudnn 7.6.5.32 ha8d7eb6_1 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge

    事实证明tensorflow-gpu==1.13.1是可以在该虚拟环境下运行成功:

    1. >>> tf.test.is_gpu_available()
    2. 2022-10-27 10:52:22.010425: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 AVX512F FMA
    3. 2022-10-27 10:52:22.059681: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 3400000000 Hz
    4. 2022-10-27 10:52:22.063477: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55c559aae5b0 executing computations on platform Host. Devices:
    5. 2022-10-27 10:52:22.063507: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): ,
    6. 2022-10-27 10:52:22.066212: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcuda.so.1
    7. 2022-10-27 10:52:22.399495: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55c55ba1eed0 executing computations on platform CUDA. Device
  • 相关阅读:
    MongoDB教程(二):mongoDB引用shell
    金仓数据库KingbaseES安全指南--5.1. 数据库的传输安全
    Java-----面向对象
    个人数学建模算法库之非线性规划模型
    原博客迁移
    #django基本常识01#
    如何在小程序内实现界面快速置顶功能?
    【排序 + 优先队列 】数对组数问题
    2022年海外电商运营三大关键讲解
    uni-app 页面跳转动画
  • 原文地址:https://blog.csdn.net/SpadgerZ/article/details/127547662