zoukankan      html  css  js  c++  java
  • 开源框架---tensorflow c++ API中./configure步骤细节

    u@u160406:~/tf1.13/tensorflow$ git checkout r1.13


    分支 r1.13 设置为跟踪来自 origin 的远程分支 r1.13。
    切换到一个新分支 'r1.13'

    u@u160406:~/tf1.13/tensorflow$ ./configure


    WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
    You have bazel 0.24.1 installed.
    Please downgrade your bazel installation to version 0.21.0 or lower to build TensorFlow!

    u@u160406:~/tf1.13/tensorflow$ git checkout r1.15


    分支 r1.15 设置为跟踪来自 origin 的远程分支 r1.15。
    切换到一个新分支 'r1.15'

    u@u160406:~/tf1.13/tensorflow$ ./configure

    WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
    You have bazel 0.24.1 installed.
    Please specify the location of python. [Default is /usr/bin/python]: /usr/bin/python3.5
    
    
    Found possible Python library paths:
      /usr/lib/python3/dist-packages
      /usr/local/lib/python3.5/dist-packages
    Please input the desired Python library path to use.  Default is [/usr/lib/python3/dist-packages]
    
    Do you wish to build TensorFlow with XLA JIT support? [Y/n]: n
    No XLA JIT support will be enabled for TensorFlow.
    
    Do you wish to build TensorFlow with OpenCL SYCL support? [y/N]: n
    No OpenCL SYCL support will be enabled for TensorFlow.
    
    Do you wish to build TensorFlow with ROCm support? [y/N]: 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.
    
    Do you wish to build TensorFlow with TensorRT support? [y/N]: N
    No TensorRT support will be enabled for TensorFlow.
    
    Found CUDA 10.0 in:
        /usr/local/cuda/lib64
        /usr/local/cuda/include
    Found cuDNN 7 in:
        /usr/local/cuda/lib64
        /usr/local/cuda/include
    
    
    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, and that TensorFlow only supports compute capabilities >= 3.5 [Default is: 7.5]:
    
    
    Do you want to use clang as CUDA compiler? [y/N]: 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]: 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]: 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=numa            # Build with NUMA support.
        --config=dynamic_kernels    # (Experimental) Build kernels into separate shared objects.
        --config=v2              # Build TensorFlow 2.x instead of 1.x.
    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 Apache Ignite support.
        --config=nokafka         # Disable Apache Kafka support.
        --config=nonccl          # Disable NVIDIA NCCL support.
    Configuration finished

    u@u160406:~/tf1.13/tensorflow$

  • 相关阅读:
    [bzoj4868][Shoi2017]期末考试
    [4.30四校联考]
    [Noi2013]快餐店
    [Noi2013]树的计数
    [Noi2013]向量内积
    [Noi2013]矩阵游戏
    java端拦截器判断客户的的请求是否是ajax请求
    spring 事务回滚
    Page directive: illegal to have multiple occurrences of contentType with different values
    jsp service bean
  • 原文地址:https://www.cnblogs.com/carle-09/p/11671094.html
Copyright © 2011-2022 走看看