我想要pytorch>1.12的,但是我的CUDA是10.2的
创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考
Python内容推荐
轻量 GraphRAG 实战:实体关系图谱 + 多跳检索,零 Key 离线可跑(Python 源码)
轻量 GraphRAG 实战包。从样例知识库抽取实体关系,支持 k-hop 多跳检索与社区摘要;无 Key 可 Mock 离线问答。含样例与 smoke。
语义路由实战:关键字+假向量意图分类,零 Key 离线可跑(Python 源码)
意图/语义路由实战包。关键字+轻量向量混合分类,阈值回退;无 Key 离线可跑。含工具路由样例与 smoke。
tensorflow1.12支持cuda10
自编译tensorflow: 1.python3.5,tensorflow1.12; 2.支持cuda10.0,cudnn7.3.1,TensorRT-5.0.2.6-cuda10.0-cudnn7.3; 3.无mkl支持; 软硬件硬件环境:Ubuntu16.04,GeForce GTX 1080 TI 配置信息: hp@dla:~/work/ts_compile/tensorflow$ ./configure WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown". You have bazel 0.19.1 installed. Please specify the location of python. [Default is /usr/bin/python]: /usr/bin/python3 Found possible Python library paths: /usr/local/lib/python3.5/dist-packages /usr/lib/python3/dist-packages Please input the desired Python library path to use. Default is [/usr/local/lib/python3.5/dist-packages] Do you wish to build TensorFlow with XLA JIT support? [Y/n]: XLA JIT support will be enabled for TensorFlow. Do you wish to build TensorFlow with OpenCL SYCL support? [y/N]: No OpenCL SYCL support will be enabled for TensorFlow. Do you wish to build TensorFlow with ROCm support? [y/N]: No ROCm support will be enabled for TensorFlow. Do you wish to build TensorFlow with CUDA support? [y/N]: y CUDA support will be enabled for TensorFlow. Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10.0]: Please specify the location where CUDA 10.0 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]: /usr/local/cuda-10.0 Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7]: 7.3.1 Please specify the location where cuDNN 7 library is installed. Refer to README.md for more details. [Default is /usr/local/cuda-10.0]: Do you wish to build TensorFlow with TensorRT support? [y/N]: y TensorRT support will be enabled for TensorFlow. Please specify the location where TensorRT is installed. [Default is /usr/lib/x86_64-linux-gnu]://home/hp/bin/TensorRT-5.0.2.6-cuda10.0-cudnn7.3/targets/x86_64-linux-gnu Please specify the locally installed NCCL version you want to use. [Default is to use https://github.com/nvidia/nccl]: Please specify a list of comma-separated Cuda compute capabilities you want to build with. You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus. Please note that each additional compute capability significantly increases your build time and binary size. [Default is: 6.1,6.1,6.1]: Do you want to use clang as CUDA compiler? [y/N]: nvcc will be used as CUDA compiler. Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc]: Do you wish to build TensorFlow with MPI support? [y/N]: No MPI support will be enabled for TensorFlow. Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native -Wno-sign-compare]: Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: Not configuring the WORKSPACE for Android builds. Preconfigured Bazel build configs. You can use any of the below by adding "--config=" to your build command. See .bazelrc for more details. --config=mkl # Build with MKL support. --config=monolithic # Config for mostly static monolithic build. --config=gdr # Build with GDR support. --config=verbs # Build with libverbs support. --config=ngraph # Build with Intel nGraph support. --config=dynamic_kernels # (Experimental) Build kernels into separate shared objects. Preconfigured Bazel build configs to DISABLE default on features: --config=noaws # Disable AWS S3 filesystem support. --config=nogcp # Disable GCP support. --config=nohdfs # Disable HDFS support. --config=noignite # Disable Apacha Ignite support. --config=nokafka # Disable Apache Kafka support. --config=nonccl # Disable NVIDIA NCCL support. Configuration finished 编译: bazel build --config=opt --verbose_failures //tensorflow/tools/pip_package:build_pip_package 卸载已有tensorflow: hp@dla:~/temp$ sudo pip3 uninstall tensorflow 安装自己编译的成果: hp@dla:~/temp$ sudo pip3 install tensorflow-1.12.0-cp35-cp35m-linux_x86_64.whl
tensorflow-1.12支持cuda10.0
自编译tensorflow: 1.python3.5,tensorflow1.12; 2.支持cuda10.0,cudnn7.3.1,TensorRT-5.0.2.6-cuda10.0-cudnn7.3; 3.支持mkl,无MPI; 软硬件硬件环境:Ubuntu16.04,GeForce GTX 1080 配置信息: hp@dla:~/work/ts_compile/tensorflow$ ./configure WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown". You have bazel 0.19.1 installed. Please specify the location of python. [Default is /usr/bin/python]: /usr/bin/python3 Found possible Python library paths: /usr/local/lib/python3.5/dist-packages /usr/lib/python3/dist-packages Please input the desired Python library path to use. Default is [/usr/local/lib/python3.5/dist-packages] Do you wish to build TensorFlow with XLA JIT support? [Y/n]: XLA JIT support will be enabled for TensorFlow. Do you wish to build TensorFlow with OpenCL SYCL support? [y/N]: No OpenCL SYCL support will be enabled for TensorFlow. Do you wish to build TensorFlow with ROCm support? [y/N]: No ROCm support will be enabled for TensorFlow. Do you wish to build TensorFlow with CUDA support? [y/N]: y CUDA support will be enabled for TensorFlow. Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10.0]: Please specify the location where CUDA 10.0 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]: /usr/local/cuda-10.0 Please specify the cuDNN version you want to use. [Leave empty to default to cuDNN 7]: 7.3.1 Please specify the location where cuDNN 7 library is installed. Refer to README.md for more details. [Default is /usr/local/cuda-10.0]: Do you wish to build TensorFlow with TensorRT support? [y/N]: y TensorRT support will be enabled for TensorFlow. Please specify the location where TensorRT is installed. [Default is /usr/lib/x86_64-linux-gnu]:/home/hp/bin/TensorRT-5.0.2.6-cuda10.0-cudnn7.3/targets/x86_64-linux-gnu Please specify the locally installed NCCL version you want to use. [Default is to use https://github.com/nvidia/nccl]: Please specify a list of comma-separated Cuda compute capabilities you want to build with. You can find the compute capability of your device at: https://developer.nvidia.com/cuda-gpus. Please note that each additional compute capability significantly increases your build time and binary size. [Default is: 6.1,6.1,6.1]: Do you want to use clang as CUDA compiler? [y/N]: nvcc will be used as CUDA compiler. Please specify which gcc should be used by nvcc as the host compiler. [Default is /usr/bin/gcc]: Do you wish to build TensorFlow with MPI support? [y/N]: No MPI support will be enabled for TensorFlow. Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native -Wno-sign-compare]: Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: Not configuring the WORKSPACE for Android builds. Preconfigured Bazel build configs. You can use any of the below by adding "--config=" to your build command. See .bazelrc for more details. --config=mkl # Build with MKL support. --config=monolithic # Config for mostly static monolithic build. --config=gdr # Build with GDR support. --config=verbs # Build with libverbs support. --config=ngraph # Build with Intel nGraph support. --config=dynamic_kernels # (Experimental) Build kernels into separate shared objects. Preconfigured Bazel build configs to DISABLE default on features: --config=noaws # Disable AWS S3 filesystem support. --config=nogcp # Disable GCP support. --config=nohdfs # Disable HDFS support. --config=noignite # Disable Apacha Ignite support. --config=nokafka # Disable Apache Kafka support. --config=nonccl # Disable NVIDIA NCCL support. Configuration finished 编译: hp@dla:~/work/ts_compile/tensorflow$ bazel build --config=opt --config=mkl --verbose_failures //tensorflow/tools/pip_package:build_pip_package 卸载已有tensorflow: hp@dla:~/temp$ sudo pip3 uninstall tensorflow 安装自己编译的成果: hp@dla:~/temp$ sudo pip3 install tensorflow-1.12.0-cp35-cp35m-linux_x86_64.whl
12-2 cuda和cudnn安装1
因此,需要10.1+的cuda.以及对应windows10的cudnn.参数笔记2.1 不同版本的cuda支持驱动2.2 支持的计算架构(Micro-archi
cuda10.1-cuda11.0-cuda11.1各版本windows系统下载
百度网盘提供,包含以下三种版本的cuda toolkit和对应的cudnn版本,适合windows10系统。 cudnn-10.1-windows10-x64-v7.6.4.38.zip cuda_10.1.243_426.00_win10.exe cudnn-11.0-windows-x64-v8.0.4.30.zip cuda_11.0.2_451.48_win10.exe cudnn-11.1-windows-x64-v8.0.4.30.zip cuda_11.1.0_456.43_win10.exe
Ubuntu20.04安装cuda10.1的步骤(图文教程)
主要介绍了Ubuntu20.04安装cuda10.1的步骤(图文教程),文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
win10 + RTX 2080 Ti + CUDA10.0 + cuDNN v7.6.5 + tensorflow-gpu-1.12.0 + keras2.2.4
参考文献: https://blog.csdn.net/herr_kun/article/details/88597618 win10 + RTX 2080 Ti + CUDA10.0 + cuDNN v7.6.5 的配置参考博客: https://blog.csdn.net/tpz789/article/details/103848529 (1)下载TensorFlow-gpu 这里下载的是网友推荐的GitHub上的地址:https://github.com/fo40225/tensorflow-windows-wheel 选择 1.12.0 \ py36 \ GPU \ cuda100cu
Windows下载安装CUDA 10.2
Windows安装CUDA 10.2 你要有一张NVIDIA显卡。 进入官网下载,选择自己对应的环境后,选择local版本,然后Download,大小有2.6GB。 下载完直接双击运行安装。如果电脑上没有下载Visual Studio,中间会有一个提示,点一下那个框框然后Next就行。然后需要等待一段时间~ 安装完后,在安装目录下找到nvcc.exe,这就是CUDA编译器。 接着在cmd(win+R)里输入nvcc -V会显示它的版本,如下图。这样就算是安装成功! 如果运行结果是找不到nvcc,那就把nvcc所在的bin目录加入到系统Path里,方法: 右键我的电脑 ——> 属性 ——>
Ubuntu 安装cuda10.1驱动的实现步骤
主要介绍了Ubuntu 安装cuda10.1驱动的实现步骤,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
win10+cuda10.2+VS2019+YOLOV4.zip
yolov4在cuda10.2的编译文件,opencv版本为3.4.0。如果需要详细的安装说明,请参照博文。交流学习。
pytorch安装GPU版本 (Cuda12.1)教程
pytorch安装教程gpu pytorch安装GPU版本 (Cuda12.1)教程 Windows、Mac和Linux系统下GPU版PyTorch(CUDA 12.1)快速安装
tensorflow1.12.0+gpu(cuda 9.0 )
win10编译源码后的tensorflow1.12.0,具有头文件include,lib,dll。并且包含所用的cuda库。完全可以用,并且实验成功。如果下载后,不会用的可以联系我,全程教你!
win10+VS2017+Cuda10.0环境配置详解
主要介绍了win10+VS2017+Cuda10.0环境配置详解,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
Win10+VS2013+CUDA10.0+OpenCV3.4.2编译的CUDA加速版本
Win10+VS2013+CUDA10.0+OpenCV3.4.2+OpenCV_Contrib3.4.2
CUDA10.1 for Win10
本资源CUDA10.1适用于Win10因为上传文件大小有限,所以文件是百度云盘的链接和密码,如链接失效,请联系我。
Visual Studio 2019下配置 CUDA 10.1 + TensorFlow-GPU 1.14.0
主要介绍了Visual Studio 2019下配置 CUDA 10.1 + TensorFlow-GPU 1.14.0,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
cuda10.1-cuda11.0-cuda11.1 toolkits local installer
鉴于CUDA下载速度慢且可能存在网络问题,so提供百度网盘帮助下载(含cuda toolkit和对应的cudnn,百度网盘CUDA下载)
适合cuda10.2,torch1.8.0的环境使用
适合cuda10.2,torch1.8.0的环境使用
CUDA10.1向下兼容10.0,完美运行官方TensorFlow、Pytorch_pytorchcuda10.0,cuda10.0
现在官网提供Tensorflow_gpu、Pytorch都只支持CUDA 10.0,但NVIDIA官网不再更新10.0,很多新的显卡或系统无法安装CUDA10.0。 怎么办?其实可以很方便的使得10.1向下兼容10.0,下载附件的批处理文件并运行,就可以了。 亲测最新CUDA10.1可完美运行TensorFlow13.1、TensorFlow14.0、Pytorch1.2。 本脚本仅支持Windows平台,Linux可以把copy改为link,通样完美运行TensorFlow13.1、Pytorch1.2。
最新推荐





