Tensorflow对应Python、CUDA、cuDNN版本(2020.8)

本文详细列举了不同版本的TensorFlow与Python、CUDA、cuDNN的兼容性配置,包括编译器、架构、计算能力等关键信息,为深度学习开发者提供了重要的参考依据。

Tensorflow对应Python、CUDA、cuDNN版本

PathCompilerCUDA/cuDNNSIMDNotes
2.3.0\py38\CPU+GPU\cuda110cudnn8sse2VS2019 16.611.0.2_451.48/8.0.2.39x86_64Python 3.8/compute_35
2.3.0\py38\CPU+GPU\cuda110cudnn8avx2VS2019 16.611.0.2_451.48/8.0.2.39AVX2Python 3.8/compute_35,sm_50,sm_52,sm_61,sm_70,compute_75
2.2.0\py37\CPU+GPU\cuda102cudnn76sse2VS2019 16.510.2.89_441.22/7.6.5.32x86_64Python 3.7/Compute 3.0
2.2.0\py37\CPU+GPU\cuda102cudnn76avx2VS2019 16.510.2.89_441.22/7.6.5.32AVX2Python 3.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0,7.5
2.1.0\py37\CPU+GPU\cuda102cudnn76sse2VS2019 16.410.2.89_441.22/7.6.5.32x86_64Python 3.7/Compute 3.0
2.1.0\py37\CPU+GPU\cuda102cudnn76avx2VS2019 16.410.2.89_441.22/7.6.5.32AVX2Python 3.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0,7.5
2.0.0\py37\CPU\sse2VS2019 16.3Nox86_64Python 3.7
2.0.0\py37\CPU\avx2VS2019 16.3NoAVX2Python 3.7
2.0.0\py37\GPU\cuda101cudnn76sse2VS2019 16.310.1.243_426.00/7.6.4.38x86_64Python 3.7/Compute 3.0
2.0.0\py37\GPU\cuda101cudnn76avx2VS2019 16.310.1.243_426.00/7.6.4.38AVX2Python 3.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0,7.5
1.15.0\py37\CPU+GPU\cuda101cudnn76sse2VS2019 16.310.1.243_426.00/7.6.4.38x86_64Python 3.7/Compute 3.0
1.15.0\py37\CPU+GPU\cuda101cudnn76avx2VS2019 16.310.1.243_426.00/7.6.4.38AVX2Python 3.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0,7.5
1.14.0\py37\CPU\sse2VS2019 16.1Nox86_64Python 3.7
1.14.0\py37\CPU\avx2VS2019 16.1NoAVX2Python 3.7
1.14.0\py37\GPU\cuda101cudnn76sse2VS2019 16.110.1.168_425.25/7.6.0.64x86_64Python 3.7/Compute 3.0
1.14.0\py37\GPU\cuda101cudnn76avx2VS2019 16.110.1.168_425.25/7.6.0.64AVX2Python 3.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0,7.5
1.13.1\py37\CPU\sse2VS2017 15.9Nox86_64Python 3.7
1.13.1\py37\CPU\avx2VS2017 15.9NoAVX2Python 3.7
1.13.1\py37\GPU\cuda101cudnn75sse2VS2017 15.910.1.105_418.96/7.5.0.56x86_64Python 3.7/Compute 3.0
1.13.1\py37\GPU\cuda101cudnn75avx2VS2017 15.910.1.105_418.96/7.5.0.56AVX2Python 3.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0,7.5
1.12.0\py36\CPU\sse2VS2017 15.8Nox86_64Python 3.6
1.12.0\py36\CPU\avx2VS2017 15.8NoAVX2Python 3.6
1.12.0\py36\GPU\cuda100cudnn73sse2VS2017 15.810.0.130_411.31/7.3.1.20x86_64Python 3.6/Compute 3.0
1.12.0\py36\GPU\cuda100cudnn73avx2VS2017 15.810.0.130_411.31/7.3.1.20AVX2Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0,7.5
1.12.0\py37\CPU\sse2VS2017 15.8Nox86_64Python 3.7
1.12.0\py37\CPU\avx2VS2017 15.8NoAVX2Python 3.7
1.12.0\py37\GPU\cuda100cudnn73sse2VS2017 15.810.0.130_411.31/7.3.1.20x86_64Python 3.7/Compute 3.0
1.12.0\py37\GPU\cuda100cudnn73avx2VS2017 15.810.0.130_411.31/7.3.1.20AVX2Python 3.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0,7.5
1.11.0\py36\CPU\sse2VS2017 15.8Nox86_64Python 3.6
1.11.0\py36\CPU\avx2VS2017 15.8NoAVX2Python 3.6
1.11.0\py36\GPU\cuda100cudnn73sse2VS2017 15.810.0.130_411.31/7.3.0.29x86_64Python 3.6/Compute 3.0
1.11.0\py36\GPU\cuda100cudnn73avx2VS2017 15.810.0.130_411.31/7.3.0.29AVX2Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0,7.5
1.11.0\py37\CPU\sse2VS2017 15.8Nox86_64Python 3.7
1.11.0\py37\CPU\avx2VS2017 15.8NoAVX2Python 3.7
1.11.0\py37\GPU\cuda100cudnn73sse2VS2017 15.810.0.130_411.31/7.3.0.29x86_64Python 3.7/Compute 3.0
1.11.0\py37\GPU\cuda100cudnn73avx2VS2017 15.810.0.130_411.31/7.3.0.29AVX2Python 3.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0,7.5
1.10.0\py36\CPU\sse2VS2017 15.8Nox86_64Python 3.6
1.10.0\py36\CPU\avx2VS2017 15.8NoAVX2Python 3.6
1.10.0\py36\GPU\cuda92cudnn72sse2VS2017 15.89.2.148.1/7.2.1.38x86_64Python 3.6/Compute 3.0
1.10.0\py36\GPU\cuda92cudnn72avx2VS2017 15.89.2.148.1/7.2.1.38AVX2Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0
1.10.0\py27\CPU\sse2VS2017 15.8Nox86_64Python 2.7
1.10.0\py27\CPU\avx2VS2017 15.8NoAVX2Python 2.7
1.10.0\py27\GPU\cuda92cudnn72sse2VS2017 15.89.2.148.1/7.2.1.38x86_64Python 2.7/Compute 3.0
1.10.0\py27\GPU\cuda92cudnn72avx2VS2017 15.89.2.148.1/7.2.1.38AVX2Python 2.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0
1.9.0\py36\CPU\sse2VS2017 15.7Nox86_64Python 3.6
1.9.0\py36\CPU\avx2VS2017 15.7NoAVX2Python 3.6
1.9.0\py36\GPU\cuda92cudnn71sse2VS2017 15.79.2.148/7.1.4x86_64Python 3.6/Compute 3.0
1.9.0\py36\GPU\cuda92cudnn71avx2VS2017 15.79.2.148/7.1.4AVX2Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0
1.9.0\py27\CPU\sse2VS2017 15.7Nox86_64Python 2.7
1.9.0\py27\CPU\avx2VS2017 15.7NoAVX2Python 2.7
1.9.0\py27\GPU\cuda92cudnn71sse2VS2017 15.79.2.148/7.1.4x86_64Python 2.7/Compute 3.0
1.9.0\py27\GPU\cuda92cudnn71avx2VS2017 15.79.2.148/7.1.4AVX2Python 2.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0
1.8.0\py36\CPU\sse2VS2017 15.4Nox86_64Python 3.6
1.8.0\py36\CPU\avx2VS2017 15.4NoAVX2Python 3.6
1.8.0\py36\GPU\cuda91cudnn71sse2VS2017 15.49.1.85.3/7.1.3x86_64Python 3.6/Compute 3.0
1.8.0\py36\GPU\cuda91cudnn71avx2VS2017 15.49.1.85.3/7.1.3AVX2Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0
1.8.0\py27\CPU\sse2VS2017 15.4Nox86_64Python 2.7
1.8.0\py27\CPU\avx2VS2017 15.4NoAVX2Python 2.7
1.8.0\py27\GPU\cuda91cudnn71sse2VS2017 15.49.1.85.3/7.1.3x86_64Python 2.7/Compute 3.0
1.8.0\py27\GPU\cuda91cudnn71avx2VS2017 15.49.1.85.3/7.1.3AVX2Python 2.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0
1.7.0\py36\CPU\sse2VS2017 15.4Nox86_64Python 3.6
1.7.0\py36\CPU\avx2VS2017 15.4NoAVX2Python 3.6
1.7.0\py36\GPU\cuda91cudnn71sse2VS2017 15.49.1.85.3/7.1.2x86_64Python 3.6/Compute 3.0
1.7.0\py36\GPU\cuda91cudnn71avx2VS2017 15.49.1.85.3/7.1.2AVX2Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0
1.7.0\py27\CPU\sse2VS2017 15.4Nox86_64Python 2.7
1.7.0\py27\CPU\avx2VS2017 15.4NoAVX2Python 2.7
1.7.0\py27\GPU\cuda91cudnn71sse2VS2017 15.49.1.85.3/7.1.2x86_64Python 2.7/Compute 3.0
1.7.0\py27\GPU\cuda91cudnn71avx2VS2017 15.49.1.85.3/7.1.2AVX2Python 2.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0
1.6.0\py36\CPU\sse2VS2017 15.4Nox86_64Python 3.6
1.6.0\py36\CPU\avx2VS2017 15.4NoAVX2Python 3.6
1.6.0\py36\GPU\cuda91cudnn71sse2VS2017 15.49.1.85.3/7.1.1x86_64Python 3.6/Compute 3.0
1.6.0\py36\GPU\cuda91cudnn71avx2VS2017 15.49.1.85.3/7.1.1AVX2Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0
1.6.0\py27\CPU\sse2VS2017 15.4Nox86_64Python 2.7
1.6.0\py27\CPU\avx2VS2017 15.4NoAVX2Python 2.7
1.6.0\py27\GPU\cuda91cudnn71sse2VS2017 15.49.1.85.2/7.1.1x86_64Python 2.7/Compute 3.0
1.6.0\py27\GPU\cuda91cudnn71avx2VS2017 15.49.1.85.2/7.1.1AVX2Python 2.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0
1.5.0\py36\CPU\avxVS2017 15.4NoAVXPython 3.6
1.5.0\py36\CPU\avx2VS2017 15.4NoAVX2Python 3.6
1.5.0\py36\GPU\cuda91cudnn7avx2VS2017 15.49.1.85/7.0.5AVX2Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0
1.5.0\py27\CPU\sse2VS2017 15.4Nox86_64Python 2.7
1.5.0\py27\CPU\avxVS2017 15.4NoAVXPython 2.7
1.5.0\py27\CPU\avx2VS2017 15.4NoAVX2Python 2.7
1.5.0\py27\GPU\cuda91cudnn7sse2VS2017 15.49.1.85/7.0.5x86_64Python 2.7/Compute 3.0
1.5.0\py27\GPU\cuda91cudnn7avx2VS2017 15.49.1.85/7.0.5AVX2Python 2.7/Compute 3.0,3.5,5.0,5.2,6.1,7.0
1.4.0\py36\CPU\avxVS2017 15.4NoAVXPython 3.6
1.4.0\py36\CPU\avx2VS2017 15.4NoAVX2Python 3.6
1.4.0\py36\GPU\cuda91cudnn7avx2VS2017 15.49.1.85/7.0.5AVX2Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1,7.0
1.3.0\py36\CPU\avxVS2015 Update 3NoAVXPython 3.6
1.3.0\py36\CPU\avx2VS2015 Update 3NoAVX2Python 3.6
1.3.0\py36\GPU\cuda8cudnn6avx2VS2015 Update 38.0.61.2/6.0.21AVX2Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1
1.2.1\py36\CPU\avxVS2015 Update 3NoAVXPython 3.6
1.2.1\py36\CPU\avx2VS2015 Update 3NoAVX2Python 3.6
1.2.1\py36\GPU\cuda8cudnn6avx2VS2015 Update 38.0.61.2/6.0.21AVX2Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1
1.1.0\py36\CPU\avxVS2015 Update 3NoAVXPython 3.6
1.1.0\py36\CPU\avx2VS2015 Update 3NoAVX2Python 3.6
1.1.0\py36\GPU\cuda8cudnn6avx2VS2015 Update 38.0.61.2/6.0.21AVX2Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1
1.0.0\py36\CPU\sse2VS2015 Update 3Nox86_64Python 3.6
1.0.0\py36\CPU\avxVS2015 Update 3NoAVXPython 3.6
1.0.0\py36\CPU\avx2VS2015 Update 3NoAVX2Python 3.6
1.0.0\py36\GPU\cuda8cudnn51sse2VS2015 Update 38.0.61.2/5.1.10x86_64Python 3.6/Compute 3.0
1.0.0\py36\GPU\cuda8cudnn51avx2VS2015 Update 38.0.61.2/5.1.10AVX2Python 3.6/Compute 3.0,3.5,5.0,5.2,6.1
0.12.0\py35\CPU\avxVS2015 Update 3NoAVXPython 3.5
0.12.0\py35\CPU\avx2VS2015 Update 3NoAVX2Python 3.5
0.12.0\py35\GPU\cuda8cudnn51avx2VS2015 Update 38.0.61.2/5.1.10AVX2Python 3.5/Compute 3.0,3.5,5.0,5.2,6.1



原文链接: https://github.com/fo40225/tensorflow-windows-wheel/blob/master/README.md.

TypeError Traceback (most recent call last) Cell In[6], line 3 1 import numpy as np 2 import pandas as pd ----> 3 import tensorflow as tf 4 import matplotlib.pyplot as plt 5 from sklearn.preprocessing import StandardScaler File ~\anaconda3\envs\py39\lib\site-packages\tensorflow\__init__.py:37 34 import sys as _sys 35 import typing as _typing ---> 37 from tensorflow.python.tools import module_util as _module_util 38 from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader 40 # Make sure code inside the TensorFlow codebase can use tf2.enabled() at import. File ~\anaconda3\envs\py39\lib\site-packages\tensorflow\python\__init__.py:42 37 from tensorflow.python.eager import context 39 # pylint: enable=wildcard-import 40 41 # Bring in subpackages. ---> 42 from tensorflow.python import data 43 from tensorflow.python import distribute 44 # from tensorflow.python import keras File ~\anaconda3\envs\py39\lib\site-packages\tensorflow\python\data\__init__.py:21 15 """`tf.data.Dataset` API for input pipelines. 16 17 See [Importing Data](https://tensorflow.org/guide/data) for an overview. 18 """ 20 # pylint: disable=unused-import ---> 21 from tensorflow.python.data import experimental 22 from tensorflow.python.data.ops.dataset_ops import AUTOTUNE 23 from tensorflow.python.data.ops.dataset_ops import Dataset File ~\anaconda3\envs\py39\lib\site-packages\tensorflow\python\data\experimental\__init__.py:96 15 """Experimental API for building input pipelines. 16 17 This module contains experimental `Dataset` sources and transformations that can (...) 92 @@UNKNOWN_CARDINALITY 93 """ 95 # pylint: disable=unused-import ---> 96 from tensorflow.python.data.experimental import service 97 from tensorflow.python.data.experimental.ops.batching import dense_to_ragged_batch 98 from tensorflow.python.data.experimental.ops.batching import dense_to_sparse_batch File ~\anaconda3\envs\py39\lib\site-packages\tensorflow\python\data\experimental\service\__init__.py:419 1 # Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); (...) 13 # limitations under the License. 14 # ============================================================================== 15 """API for using the tf.data service. 16 17 This module contains: (...) 416 job of ParameterServerStrategy). 417 """ --> 419 from tensorflow.python.data.experimental.ops.data_service_ops import distribute 420 from tensorflow.python.data.experimental.ops.data_service_ops import from_dataset_id 421 from tensorflow.python.data.experimental.ops.data_service_ops import register_dataset File ~\anaconda3\envs\py39\lib\site-packages\tensorflow\python\data\experimental\ops\data_service_ops.py:24 22 from tensorflow.python import tf2 23 from tensorflow.python.compat import compat ---> 24 from tensorflow.python.data.experimental.ops import compression_ops 25 from tensorflow.python.data.experimental.service import _pywrap_server_lib 26 from tensorflow.python.data.experimental.service import _pywrap_utils File ~\anaconda3\envs\py39\lib\site-packages\tensorflow\python\data\experimental\ops\compression_ops.py:16 1 # Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); (...) 13 # limitations under the License. 14 # ============================================================================== 15 """Ops for compressing and uncompressing dataset elements.""" ---> 16 from tensorflow.python.data.util import structure 17 from tensorflow.python.ops import gen_experimental_dataset_ops as ged_ops 20 def compress(element): File ~\anaconda3\envs\py39\lib\site-packages\tensorflow\python\data\util\structure.py:23 20 import six 21 import wrapt ---> 23 from tensorflow.python.data.util import nest 24 from tensorflow.python.framework import composite_tensor 25 from tensorflow.python.framework import ops File ~\anaconda3\envs\py39\lib\site-packages\tensorflow\python\data\util\nest.py:36 16 """## Functions for working with arbitrarily nested sequences of elements. 17 18 NOTE(mrry): This fork of the `tensorflow.python.util.nest` module (...) 31 arrays. 32 """ 34 import six as _six ---> 36 from tensorflow.python.framework import sparse_tensor as _sparse_tensor 37 from tensorflow.python.util import _pywrap_utils 38 from tensorflow.python.util import nest File ~\anaconda3\envs\py39\lib\site-packages\tensorflow\python\framework\sparse_tensor.py:24 22 from tensorflow.python import tf2 23 from tensorflow.python.framework import composite_tensor ---> 24 from tensorflow.python.framework import constant_op 25 from tensorflow.python.framework import dtypes 26 from tensorflow.python.framework import ops File ~\anaconda3\envs\py39\lib\site-packages\tensorflow\python\framework\constant_op.py:25 23 from tensorflow.core.framework import types_pb2 24 from tensorflow.python.eager import context ---> 25 from tensorflow.python.eager import execute 26 from tensorflow.python.framework import dtypes 27 from tensorflow.python.framework import op_callbacks File ~\anaconda3\envs\py39\lib\site-packages\tensorflow\python\eager\execute.py:23 21 from tensorflow.python import pywrap_tfe 22 from tensorflow.python.eager import core ---> 23 from tensorflow.python.framework import dtypes 24 from tensorflow.python.framework import ops 25 from tensorflow.python.framework import tensor_shape File ~\anaconda3\envs\py39\lib\site-packages\tensorflow\python\framework\dtypes.py:34 31 from tensorflow.python.types import trace 32 from tensorflow.core.function import trace_type ---> 34 _np_bfloat16 = _pywrap_bfloat16.TF_bfloat16_type() 37 class DTypeMeta(type(_dtypes.DType), abc.ABCMeta): 38 pass TypeError: Unable to convert function return value to a Python type! The signature was () -> handle
最新发布
10-16
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值