tensorflow running error with cublas

后端 未结 6 936
無奈伤痛
無奈伤痛 2020-12-16 04:24

when I successfully install tensorflow on cluster, I immediately running mnist demo to check if it\'s going well, but here I came up with a problem. I don\'t know what is th

6条回答
  •  离开以前
    2020-12-16 04:35

    This problem re-surfaced for me using the latest stack (tensorflow 2.5, Cuda 11.1, Nvidia 3080). The fix above (as amended for Tensorflow 2) worked like a charm:

    config = tf.compat.v1.ConfigProto()
    config.gpu_options.allow_growth = True
    session = tf.compat.v1.Session(config=config)
    

提交回复
热议问题