<p dir="auto"><em>Please make sure that this is a build/installation issue. As per our <a href="https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md">GitHub Policy</a>, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template</em></p>
<p dir="auto"><strong>System information</strong></p>
<ul dir="auto">
<li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 64 bit</li>
<li>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A</li>
<li>TensorFlow installed from (source or binary): source</li>
<li>TensorFlow version: checkout from <code class="notranslate">master</code> branch</li>
<li>Python version: Python 3.6.8 :: Anaconda, Inc.</li>
<li>Installed using virtualenv? pip? conda?: conda 4.6.14</li>
<li>Bazel version (if compiling from source): 0.24.1</li>
<li>GCC/Compiler version (if compiling from source): cl.exe C/C++ Optimizing Compiler Version 19.16.27030.1 for x64, Visual Studio Build Tools 2017</li>
<li>CUDA/cuDNN version: CUDA Toolkit V10.0.130, cuDNN 7.5.0</li>
<li>GPU model and memory: GTX 1060 6GB</li>
</ul>
<p dir="auto"><strong>Describe the problem</strong><br>
Fatal error C1001: An internal error has occurred in the compiler in tensorflow\compiler\xla\literal.cc(1291).</p>
<p dir="auto"><strong>Provide the exact sequence of commands / steps that you executed before running into the problem</strong></p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(base) Stepii@STEPII D:\Neural\tensorflow
$ python configure.py
WARNING: Running Bazel server needs to be killed, because the startup options are different.
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command &quot;bazel shutdown&quot;.
You have bazel 0.24.1 installed.
Please specify the location of python. [Default is D:\Programs\Anaconda3\python.exe]:


Found possible Python library paths:
  D:\Programs\Anaconda3\lib\site-packages
Please input the desired Python library path to use.  Default is [D:\Programs\Anaconda3\lib\site-packages]

Do you wish to build TensorFlow with XLA JIT support? [y/N]: y
XLA JIT 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.

Found CUDA 10.0 in:
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/include
Found cuDNN 7 in:
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/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 &gt;= 3.5 [Default is: 3.5,7.0]: 6.1


Please specify optimization flags to use during compilation when bazel option &quot;--config=opt&quot; is specified [Default is /arch:AVX]: /arch:AVX2


Would you like to override eigen strong inline for some C++ compilation to reduce the compilation time? [Y/n]: y
Eigen strong inline overridden.

Preconfigured Bazel build configs. You can use any of the below by adding &quot;--config=&lt;&gt;&quot; 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.
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.

(base) Stepii@STEPII D:\Neural\tensorflow
$ bazel build --config=opt --define=no_tensorflow_py_deps=true //tensorflow/tools/pip_package:build_pip_package -j 12

[...]

ERROR: D:/neural/tensorflow/tensorflow/compiler/xla/BUILD:366:1: C++ compilation of rule '//tensorflow/compiler/xla:literal' failed (Exit 3): python.exe failed: error executing command
  cd C:/users/stepii/_bazel_stepii/5mniti2w/execroot/org_tensorflow
  SET CUDA_TOOLKIT_PATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0
    SET INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt
    SET LIB=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64;
    SET PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\Roslyn;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\\x64;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\;C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\\MSBuild\15.0\bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\;;C:\Windows\system32;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja
    SET PWD=/proc/self/cwd
    SET PYTHON_BIN_PATH=D:/Programs/Anaconda3/python.exe
    SET PYTHON_LIB_PATH=D:/Programs/Anaconda3/lib/site-packages
    SET TEMP=C:\Users\Stepii\AppData\Local\Temp
    SET TF_CONFIGURE_IOS=0
    SET TF_CUDA_CLANG=0
    SET TF_CUDA_COMPUTE_CAPABILITIES=6.1
    SET TF_NEED_CUDA=1
    SET TF_NEED_OPENCL_SYCL=0
    SET TF_NEED_ROCM=0
    SET TF_NEED_TENSORRT=0
    SET TMP=C:\Users\Stepii\AppData\Local\Temp
  D:/Programs/Anaconda3/python.exe -B external/local_config_cuda/crosstool/windows/msvc_wrapper_for_nvcc.py /nologo /DCOMPILER_MSVC /DNOMINMAX /D_WIN32_WINNT=0x0600 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS /D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS /bigobj /Zm500 /J /Gy /GF /EHsc /wd4351 /wd4291 /wd4250 /wd4996 /I. /Ibazel-out/x64_windows-opt/genfiles /Ibazel-out/x64_windows-opt/bin /Iexternal/com_google_absl /Ibazel-out/x64_windows-opt/genfiles/external/com_google_absl /Ibazel-out/x64_windows-opt/bin/external/com_google_absl /Iexternal/nsync /Ibazel-out/x64_windows-opt/genfiles/external/nsync /Ibazel-out/x64_windows-opt/bin/external/nsync /Iexternal/eigen_archive /Ibazel-out/x64_windows-opt/genfiles/external/eigen_archive /Ibazel-out/x64_windows-opt/bin/external/eigen_archive /Iexternal/local_config_sycl /Ibazel-out/x64_windows-opt/genfiles/external/local_config_sycl /Ibazel-out/x64_windows-opt/bin/external/local_config_sycl /Iexternal/gif_archive /Ibazel-out/x64_windows-opt/genfiles/external/gif_archive /Ibazel-out/x64_windows-opt/bin/external/gif_archive /Iexternal/jpeg /Ibazel-out/x64_windows-opt/genfiles/external/jpeg /Ibazel-out/x64_windows-opt/bin/external/jpeg /Iexternal/protobuf_archive /Ibazel-out/x64_windows-opt/genfiles/external/protobuf_archive /Ibazel-out/x64_windows-opt/bin/external/protobuf_archive /Iexternal/com_googlesource_code_re2 /Ibazel-out/x64_windows-opt/genfiles/external/com_googlesource_code_re2 /Ibazel-out/x64_windows-opt/bin/external/com_googlesource_code_re2 /Iexternal/farmhash_archive /Ibazel-out/x64_windows-opt/genfiles/external/farmhash_archive /Ibazel-out/x64_windows-opt/bin/external/farmhash_archive /Iexternal/fft2d /Ibazel-out/x64_windows-opt/genfiles/external/fft2d /Ibazel-out/x64_windows-opt/bin/external/fft2d /Iexternal/highwayhash /Ibazel-out/x64_windows-opt/genfiles/external/highwayhash /Ibazel-out/x64_windows-opt/bin/external/highwayhash /Iexternal/zlib_archive /Ibazel-out/x64_windows-opt/genfiles/external/zlib_archive /Ibazel-out/x64_windows-opt/bin/external/zlib_archive /Iexternal/double_conversion /Ibazel-out/x64_windows-opt/genfiles/external/double_conversion /Ibazel-out/x64_windows-opt/bin/external/double_conversion /Iexternal/snappy /Ibazel-out/x64_windows-opt/genfiles/external/snappy /Ibazel-out/x64_windows-opt/bin/external/snappy /Iexternal/nsync/public /Ibazel-out/x64_windows-opt/genfiles/external/nsync/public /Ibazel-out/x64_windows-opt/bin/external/nsync/public /Iexternal/eigen_archive /Ibazel-out/x64_windows-opt/genfiles/external/eigen_archive /Ibazel-out/x64_windows-opt/bin/external/eigen_archive /Iexternal/gif_archive/lib /Ibazel-out/x64_windows-opt/genfiles/external/gif_archive/lib /Ibazel-out/x64_windows-opt/bin/external/gif_archive/lib /Iexternal/gif_archive/windows /Ibazel-out/x64_windows-opt/genfiles/external/gif_archive/windows /Ibazel-out/x64_windows-opt/bin/external/gif_archive/windows /Iexternal/protobuf_archive/src /Ibazel-out/x64_windows-opt/genfiles/external/protobuf_archive/src /Ibazel-out/x64_windows-opt/bin/external/protobuf_archive/src /Iexternal/farmhash_archive/src /Ibazel-out/x64_windows-opt/genfiles/external/farmhash_archive/src /Ibazel-out/x64_windows-opt/bin/external/farmhash_archive/src /Iexternal/zlib_archive /Ibazel-out/x64_windows-opt/genfiles/external/zlib_archive /Ibazel-out/x64_windows-opt/bin/external/zlib_archive /Iexternal/double_conversion /Ibazel-out/x64_windows-opt/genfiles/external/double_conversion /Ibazel-out/x64_windows-opt/bin/external/double_conversion /D__CLANG_SUPPORT_DYN_ANNOTATION__ /DEIGEN_MPL2_ONLY /DEIGEN_MAX_ALIGN_BYTES=64 /DEIGEN_HAS_TYPE_TRAITS=0 /DTF_USE_SNAPPY /showIncludes /MD /O2 /DNDEBUG -w -DWIN32_LEAN_AND_MEAN /arch:AVX2 /Fobazel-out/x64_windows-opt/bin/tensorflow/compiler/xla/_objs/literal/literal.o /c tensorflow/compiler/xla/literal.cc
Execution platform: @bazel_tools//platforms:host_platform
c:\users\stepii\_bazel_stepii\5mniti2w\execroot\org_tensorflow\tensorflow\compiler\xla\literal.cc(1291) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'd:\agent\_work\1\s\src\vctools\compiler\utc\src\p2\main.c', line 187)
 To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++
 Help menu, or open the Technical Support help file for more information
  cl!InvokeCompilerPassW()+0x3e708

c:\users\stepii\_bazel_stepii\5mniti2w\execroot\org_tensorflow\tensorflow\compiler\xla\literal.cc(1291) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'd:\agent\_work\1\s\src\vctools\compiler\utc\src\common\error.c', line 835)
 To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++
 Help menu, or open the Technical Support help file for more information
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 1698.097s, Critical Path: 416.10s
INFO: 3624 processes: 3624 local.
FAILED: Build did NOT complete successfully"><pre class="notranslate">(base) Stepii@STEPII D:<span class="pl-cce">\N</span>eural<span class="pl-cce">\t</span>ensorflow
$ python configure.py
WARNING: Running Bazel server needs to be killed, because the startup options are different.
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the <span class="pl-c1">command</span> <span class="pl-s"><span class="pl-pds">"</span>bazel shutdown<span class="pl-pds">"</span></span>.
You have bazel 0.24.1 installed.
Please specify the location of python. [Default is D:<span class="pl-cce">\P</span>rograms<span class="pl-cce">\A</span>naconda3<span class="pl-cce">\p</span>ython.exe]:


Found possible Python library paths:
  D:<span class="pl-cce">\P</span>rograms<span class="pl-cce">\A</span>naconda3<span class="pl-cce">\l</span>ib<span class="pl-cce">\s</span>ite-packages
Please input the desired Python library path to use.  Default is [D:<span class="pl-cce">\P</span>rograms<span class="pl-cce">\A</span>naconda3<span class="pl-cce">\l</span>ib<span class="pl-cce">\s</span>ite-packages]

Do you wish to build TensorFlow with XLA JIT support<span class="pl-k">?</span> [y/N]: y
XLA JIT support will be enabled <span class="pl-k">for</span> TensorFlow.

Do you wish to build TensorFlow with ROCm support<span class="pl-k">?</span> [y/N]: n
No ROCm support will be enabled <span class="pl-k">for</span> TensorFlow.

Do you wish to build TensorFlow with CUDA support<span class="pl-k">?</span> [y/N]: y
CUDA support will be enabled <span class="pl-k">for</span> TensorFlow.

Found CUDA 10.0 in:
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/include
Found cuDNN 7 in:
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/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 <span class="pl-k">time</span> and binary size, and that TensorFlow only supports compute capabilities <span class="pl-k">&gt;</span>= 3.5 [Default is: 3.5,7.0]: 6.1


Please specify optimization flags to use during compilation when bazel option <span class="pl-s"><span class="pl-pds">"</span>--config=opt<span class="pl-pds">"</span></span> is specified [Default is /arch:AVX]: /arch:AVX2


Would you like to override eigen strong inline <span class="pl-k">for</span> some C++ compilation to reduce the compilation time<span class="pl-k">?</span> [Y/n]: y
Eigen strong inline overridden.

Preconfigured Bazel build configs. You can use any of the below by adding <span class="pl-s"><span class="pl-pds">"</span>--config=&lt;&gt;<span class="pl-pds">"</span></span> to your build command. See .bazelrc <span class="pl-k">for</span> more details.
        --config=mkl            <span class="pl-c"><span class="pl-c">#</span> Build with MKL support.</span>
        --config=monolithic     <span class="pl-c"><span class="pl-c">#</span> Config for mostly static monolithic build.</span>
        --config=gdr            <span class="pl-c"><span class="pl-c">#</span> Build with GDR support.</span>
        --config=verbs          <span class="pl-c"><span class="pl-c">#</span> Build with libverbs support.</span>
        --config=ngraph         <span class="pl-c"><span class="pl-c">#</span> Build with Intel nGraph support.</span>
        --config=numa           <span class="pl-c"><span class="pl-c">#</span> Build with NUMA support.</span>
        --config=dynamic_kernels        <span class="pl-c"><span class="pl-c">#</span> (Experimental) Build kernels into separate shared objects.</span>
Preconfigured Bazel build configs to DISABLE default on features:
        --config=noaws          <span class="pl-c"><span class="pl-c">#</span> Disable AWS S3 filesystem support.</span>
        --config=nogcp          <span class="pl-c"><span class="pl-c">#</span> Disable GCP support.</span>
        --config=nohdfs         <span class="pl-c"><span class="pl-c">#</span> Disable HDFS support.</span>
        --config=noignite       <span class="pl-c"><span class="pl-c">#</span> Disable Apache Ignite support.</span>
        --config=nokafka        <span class="pl-c"><span class="pl-c">#</span> Disable Apache Kafka support.</span>
        --config=nonccl         <span class="pl-c"><span class="pl-c">#</span> Disable NVIDIA NCCL support.</span>

(base) Stepii@STEPII D:<span class="pl-cce">\N</span>eural<span class="pl-cce">\t</span>ensorflow
$ bazel build --config=opt --define=no_tensorflow_py_deps=true //tensorflow/tools/pip_package:build_pip_package -j 12

[...]

ERROR: D:/neural/tensorflow/tensorflow/compiler/xla/BUILD:366:1: C++ compilation of rule <span class="pl-s"><span class="pl-pds">'</span>//tensorflow/compiler/xla:literal<span class="pl-pds">'</span></span> failed (Exit 3): python.exe failed: error executing <span class="pl-c1">command</span>
  <span class="pl-c1">cd</span> C:/users/stepii/_bazel_stepii/5mniti2w/execroot/org_tensorflow
  SET CUDA_TOOLKIT_PATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0
    SET INCLUDE=C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\M</span>icrosoft Visual Studio<span class="pl-cce">\2</span>017<span class="pl-cce">\C</span>ommunity<span class="pl-cce">\V</span>C<span class="pl-cce">\T</span>ools<span class="pl-cce">\M</span>SVC<span class="pl-cce">\1</span>4.16.27023<span class="pl-cce">\A</span>TLMFC<span class="pl-cce">\i</span>nclude<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\M</span>icrosoft Visual Studio<span class="pl-cce">\2</span>017<span class="pl-cce">\C</span>ommunity<span class="pl-cce">\V</span>C<span class="pl-cce">\T</span>ools<span class="pl-cce">\M</span>SVC<span class="pl-cce">\1</span>4.16.27023<span class="pl-cce">\i</span>nclude<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\i</span>nclude<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\u</span>crt<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\i</span>nclude<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\s</span>hared<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\i</span>nclude<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\u</span>m<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\i</span>nclude<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\w</span>inrt<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\i</span>nclude<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\c</span>ppwinrt
    SET LIB=C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\M</span>icrosoft Visual Studio<span class="pl-cce">\2</span>017<span class="pl-cce">\C</span>ommunity<span class="pl-cce">\V</span>C<span class="pl-cce">\T</span>ools<span class="pl-cce">\M</span>SVC<span class="pl-cce">\1</span>4.16.27023<span class="pl-cce">\A</span>TLMFC<span class="pl-cce">\l</span>ib<span class="pl-cce">\x</span>64<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\M</span>icrosoft Visual Studio<span class="pl-cce">\2</span>017<span class="pl-cce">\C</span>ommunity<span class="pl-cce">\V</span>C<span class="pl-cce">\T</span>ools<span class="pl-cce">\M</span>SVC<span class="pl-cce">\1</span>4.16.27023<span class="pl-cce">\l</span>ib<span class="pl-cce">\x</span>64<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\l</span>ib<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\u</span>crt<span class="pl-cce">\x</span>64<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\l</span>ib<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\u</span>m<span class="pl-cce">\x</span>64<span class="pl-k">;</span>
    SET PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\Roslyn;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\\x64;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\;C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\\MSBuild\15.0\bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\;;C:\Windows\system32;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja
    SET PWD=/proc/self/cwd
    SET PYTHON_BIN_PATH=D:/Programs/Anaconda3/python.exe
    SET PYTHON_LIB_PATH=D:/Programs/Anaconda3/lib/site-packages
    SET TEMP=C:<span class="pl-cce">\U</span>sers<span class="pl-cce">\S</span>tepii<span class="pl-cce">\A</span>ppData<span class="pl-cce">\L</span>ocal<span class="pl-cce">\T</span>emp
    SET TF_CONFIGURE_IOS=0
    SET TF_CUDA_CLANG=0
    SET TF_CUDA_COMPUTE_CAPABILITIES=6.1
    SET TF_NEED_CUDA=1
    SET TF_NEED_OPENCL_SYCL=0
    SET TF_NEED_ROCM=0
    SET TF_NEED_TENSORRT=0
    SET TMP=C:<span class="pl-cce">\U</span>sers<span class="pl-cce">\S</span>tepii<span class="pl-cce">\A</span>ppData<span class="pl-cce">\L</span>ocal<span class="pl-cce">\T</span>emp
  D:/Programs/Anaconda3/python.exe -B external/local_config_cuda/crosstool/windows/msvc_wrapper_for_nvcc.py /nologo /DCOMPILER_MSVC /DNOMINMAX /D_WIN32_WINNT=0x0600 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS /D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS /bigobj /Zm500 /J /Gy /GF /EHsc /wd4351 /wd4291 /wd4250 /wd4996 /I. /Ibazel-out/x64_windows-opt/genfiles /Ibazel-out/x64_windows-opt/bin /Iexternal/com_google_absl /Ibazel-out/x64_windows-opt/genfiles/external/com_google_absl /Ibazel-out/x64_windows-opt/bin/external/com_google_absl /Iexternal/nsync /Ibazel-out/x64_windows-opt/genfiles/external/nsync /Ibazel-out/x64_windows-opt/bin/external/nsync /Iexternal/eigen_archive /Ibazel-out/x64_windows-opt/genfiles/external/eigen_archive /Ibazel-out/x64_windows-opt/bin/external/eigen_archive /Iexternal/local_config_sycl /Ibazel-out/x64_windows-opt/genfiles/external/local_config_sycl /Ibazel-out/x64_windows-opt/bin/external/local_config_sycl /Iexternal/gif_archive /Ibazel-out/x64_windows-opt/genfiles/external/gif_archive /Ibazel-out/x64_windows-opt/bin/external/gif_archive /Iexternal/jpeg /Ibazel-out/x64_windows-opt/genfiles/external/jpeg /Ibazel-out/x64_windows-opt/bin/external/jpeg /Iexternal/protobuf_archive /Ibazel-out/x64_windows-opt/genfiles/external/protobuf_archive /Ibazel-out/x64_windows-opt/bin/external/protobuf_archive /Iexternal/com_googlesource_code_re2 /Ibazel-out/x64_windows-opt/genfiles/external/com_googlesource_code_re2 /Ibazel-out/x64_windows-opt/bin/external/com_googlesource_code_re2 /Iexternal/farmhash_archive /Ibazel-out/x64_windows-opt/genfiles/external/farmhash_archive /Ibazel-out/x64_windows-opt/bin/external/farmhash_archive /Iexternal/fft2d /Ibazel-out/x64_windows-opt/genfiles/external/fft2d /Ibazel-out/x64_windows-opt/bin/external/fft2d /Iexternal/highwayhash /Ibazel-out/x64_windows-opt/genfiles/external/highwayhash /Ibazel-out/x64_windows-opt/bin/external/highwayhash /Iexternal/zlib_archive /Ibazel-out/x64_windows-opt/genfiles/external/zlib_archive /Ibazel-out/x64_windows-opt/bin/external/zlib_archive /Iexternal/double_conversion /Ibazel-out/x64_windows-opt/genfiles/external/double_conversion /Ibazel-out/x64_windows-opt/bin/external/double_conversion /Iexternal/snappy /Ibazel-out/x64_windows-opt/genfiles/external/snappy /Ibazel-out/x64_windows-opt/bin/external/snappy /Iexternal/nsync/public /Ibazel-out/x64_windows-opt/genfiles/external/nsync/public /Ibazel-out/x64_windows-opt/bin/external/nsync/public /Iexternal/eigen_archive /Ibazel-out/x64_windows-opt/genfiles/external/eigen_archive /Ibazel-out/x64_windows-opt/bin/external/eigen_archive /Iexternal/gif_archive/lib /Ibazel-out/x64_windows-opt/genfiles/external/gif_archive/lib /Ibazel-out/x64_windows-opt/bin/external/gif_archive/lib /Iexternal/gif_archive/windows /Ibazel-out/x64_windows-opt/genfiles/external/gif_archive/windows /Ibazel-out/x64_windows-opt/bin/external/gif_archive/windows /Iexternal/protobuf_archive/src /Ibazel-out/x64_windows-opt/genfiles/external/protobuf_archive/src /Ibazel-out/x64_windows-opt/bin/external/protobuf_archive/src /Iexternal/farmhash_archive/src /Ibazel-out/x64_windows-opt/genfiles/external/farmhash_archive/src /Ibazel-out/x64_windows-opt/bin/external/farmhash_archive/src /Iexternal/zlib_archive /Ibazel-out/x64_windows-opt/genfiles/external/zlib_archive /Ibazel-out/x64_windows-opt/bin/external/zlib_archive /Iexternal/double_conversion /Ibazel-out/x64_windows-opt/genfiles/external/double_conversion /Ibazel-out/x64_windows-opt/bin/external/double_conversion /D__CLANG_SUPPORT_DYN_ANNOTATION__ /DEIGEN_MPL2_ONLY /DEIGEN_MAX_ALIGN_BYTES=64 /DEIGEN_HAS_TYPE_TRAITS=0 /DTF_USE_SNAPPY /showIncludes /MD /O2 /DNDEBUG -w -DWIN32_LEAN_AND_MEAN /arch:AVX2 /Fobazel-out/x64_windows-opt/bin/tensorflow/compiler/xla/_objs/literal/literal.o /c tensorflow/compiler/xla/literal.cc
Execution platform: @bazel_tools//platforms:host_platform
c:<span class="pl-cce">\u</span>sers<span class="pl-cce">\s</span>tepii<span class="pl-cce">\_</span>bazel_stepii<span class="pl-cce">\5</span>mniti2w<span class="pl-cce">\e</span>xecroot<span class="pl-cce">\o</span>rg_tensorflow<span class="pl-cce">\t</span>ensorflow<span class="pl-cce">\c</span>ompiler<span class="pl-cce">\x</span>la<span class="pl-cce">\l</span>iteral.cc(1291) <span class="pl-c1">:</span> fatal error C1001: An internal error has occurred <span class="pl-k">in</span> the compiler.
(compiler file <span class="pl-s"><span class="pl-pds">'</span>d:\agent\_work\1\s\src\vctools\compiler\utc\src\p2\main.c<span class="pl-pds">'</span></span>, line 187)
 To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support <span class="pl-c1">command</span> on the Visual C++
 Help menu, or open the Technical Support <span class="pl-c1">help</span> file <span class="pl-k">for</span> more information
  <span class="pl-en">cl!InvokeCompilerPassW</span>()+0x3e708

c:<span class="pl-cce">\u</span>sers<span class="pl-cce">\s</span>tepii<span class="pl-cce">\_</span>bazel_stepii<span class="pl-cce">\5</span>mniti2w<span class="pl-cce">\e</span>xecroot<span class="pl-cce">\o</span>rg_tensorflow<span class="pl-cce">\t</span>ensorflow<span class="pl-cce">\c</span>ompiler<span class="pl-cce">\x</span>la<span class="pl-cce">\l</span>iteral.cc(1291) <span class="pl-c1">:</span> fatal error C1001: An internal error has occurred <span class="pl-k">in</span> the compiler.
(compiler file <span class="pl-s"><span class="pl-pds">'</span>d:\agent\_work\1\s\src\vctools\compiler\utc\src\common\error.c<span class="pl-pds">'</span></span>, line 835)
 To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support <span class="pl-c1">command</span> on the Visual C++
 Help menu, or open the Technical Support <span class="pl-c1">help</span> file <span class="pl-k">for</span> more information
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 1698.097s, Critical Path: 416.10s
INFO: 3624 processes: 3624 local.
FAILED: Build did NOT <span class="pl-c1">complete</span> successfully</pre></div>
<p dir="auto"><strong>Any other info / logs</strong><br>
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.</p>
<p dir="auto">See <a href="https://github.com/tensorflow/tensorflow/files/3123796/FullLog.txt">FullLog.txt</a>.</p>
<p dir="auto"><em>Please make sure that this is a build/installation issue. As per our <a href="https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md">GitHub Policy</a>, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template</em></p>
<p dir="auto"><strong>System information</strong></p>
<ul dir="auto">
<li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 64 bit</li>
<li>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A</li>
<li>TensorFlow installed from (source or binary): source</li>
<li>TensorFlow version: checkout from <code class="notranslate">master</code> branch</li>
<li>Python version: Python 3.6.8 :: Anaconda, Inc.</li>
<li>Installed using virtualenv? pip? conda?: conda 4.6.14</li>
<li>Bazel version (if compiling from source): 0.24.1</li>
<li>GCC/Compiler version (if compiling from source): cl.exe C/C++ Optimizing Compiler Version 19.16.27030.1 for x64, Visual Studio Build Tools 2017</li>
<li>CUDA/cuDNN version: CUDA Toolkit V10.0.130, cuDNN 7.5.0</li>
<li>GPU model and memory: GTX 1060 6GB</li>
</ul>
<p dir="auto"><strong>Describe the problem</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tensorflow/stream_executor/gpu/gpu_timer.cc(29): error C2039: 'CreateEventA': is not a member of 'stream_executor::gpu::GpuDriver'
tensorflow/stream_executor/gpu/gpu_timer.cc(29): error C2660: 'CreateEventA': function does not take 3 arguments
tensorflow/stream_executor/gpu/gpu_timer.cc(36): error C2039: 'CreateEventA': is not a member of 'stream_executor::gpu::GpuDriver'
tensorflow/stream_executor/gpu/gpu_timer.cc(36): error C2660: 'CreateEventA': function does not take 3 arguments"><pre class="notranslate"><code class="notranslate">tensorflow/stream_executor/gpu/gpu_timer.cc(29): error C2039: 'CreateEventA': is not a member of 'stream_executor::gpu::GpuDriver'
tensorflow/stream_executor/gpu/gpu_timer.cc(29): error C2660: 'CreateEventA': function does not take 3 arguments
tensorflow/stream_executor/gpu/gpu_timer.cc(36): error C2039: 'CreateEventA': is not a member of 'stream_executor::gpu::GpuDriver'
tensorflow/stream_executor/gpu/gpu_timer.cc(36): error C2660: 'CreateEventA': function does not take 3 arguments
</code></pre></div>
<p dir="auto">In tensorflow/stream_executor/gpu/gpu_timer.cc(29) the function is <code class="notranslate">CreateEvent</code>:</p>
<div class="highlight highlight-source-c++ notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="29  port::Status status = GpuDriver::CreateEvent(context, &amp;start_event_,
30                                               GpuDriver::EventFlags::kDefault);"><pre class="notranslate"><span class="pl-c1">29</span>  port::Status status = GpuDriver::CreateEvent(context, &amp;start_event_,
<span class="pl-c1">30</span>                                               GpuDriver::EventFlags::<span class="pl-c1">kDefault</span>);</pre></div>
<p dir="auto">But compiler looks for <code class="notranslate">CreateEventA</code>. Maybe there is a Windows macro conflicting with that symbol.</p>
<p dir="auto"><strong>Provide the exact sequence of commands / steps that you executed before running into the problem</strong></p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(neural) Stepii@STEPII D:\Neural\tensorflow
$ python configure.py
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command &quot;bazel shutdown&quot;.
You have bazel 0.24.1 installed.
Please specify the location of python. [Default is D:\Programs\Anaconda3\envs\neural\python.exe]:


Found possible Python library paths:
  D:\Programs\Anaconda3\envs\neural\lib\site-packages
Please input the desired Python library path to use.  Default is [D:\Programs\Anaconda3\envs\neural\lib\site-packages]

Do you wish to build TensorFlow with XLA JIT support? [y/N]: y
XLA JIT 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.

Found CUDA 10.0 in:
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/include
Found cuDNN 7 in:
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/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 &gt;= 3.5 [Default is: 3.5,7.0]: 6.1


Please specify optimization flags to use during compilation when bazel option &quot;--config=opt&quot; is specified [Default is /arch:AVX]: /arch:AVX2


Would you like to override eigen strong inline for some C++ compilation to reduce the compilation time? [Y/n]:
Eigen strong inline overridden.

Preconfigured Bazel build configs. You can use any of the below by adding &quot;--config=&lt;&gt;&quot; 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.
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.

(neural) Stepii@STEPII D:\Neural\tensorflow
$ bazel build --config=opt --define=no_tensorflow_py_deps=true //tensorflow/tools/pip_package:build_pip_package -j 12

[...]

ERROR: D:/neural/tensorflow/tensorflow/stream_executor/gpu/BUILD:168:1: C++ compilation of rule '//tensorflow/stream_executor/gpu:gpu_timer' failed (Exit 2): python.exe failed: error executing command
  cd C:/users/stepii/_bazel_stepii/5mniti2w/execroot/org_tensorflow
  SET CUDA_TOOLKIT_PATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0
    SET INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt
    SET LIB=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64;
    SET PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019A26nPRjStR25RPVWFZL5iMn5PgXYVtDTages;C:\Program Files (x86)\Microsoft Visual Studio\2019A26nPRe3js3W69CrGF8kKXvvmYtT4zNGqicXRjvuAnmmbvPZXu5yRJVindow;C:\Program Files (x86)\Microsoft Visual Studio\2019A26nPRe3js3W69CrGF8kKXvvmYtT4zNGqicXRjvuAnmmbvPZXu5yRJVx9R2xvWau\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\Roslyn;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft Visual SXgi164MCGG3u5RKXaBGVBabmxQTVRAAVE5tDTools\\x64;C:\Program Files (x86)\Microsoft Visual SXgi164MCGG3u5RKXaBGVBabmxQTVRAAVE5tDTools\;C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\\MSBuild\15.0\bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\;;C:\Windows\system32;C:\Program Files (x86)\Microsoft Visual Studio\2019A26nPRe3js3W69CrGF8kKXvvmYtT4zNGqicXRjvuAnmmbvPZXu5yRJVx9R2xvWaun;C:\Program Files (x86)\Microsoft Visual Studio\2019A26nPRe3js3W69CrGF8kKXvvmYtT4zNGqicXRjvuAnmmbvPZXu5yRJV\Ninja
    SET PWD=/proc/self/cwd
    SET PYTHON_BIN_PATH=D:/Programs/Anaconda3/envs/neural/python.exe
    SET PYTHON_LIB_PATH=D:/Programs/Anaconda3/envs/neural/lib/site-packages
    SET TEMP=C:\Users\Stepii\AppData\Local\Temp
    SET TF_CONFIGURE_IOS=0
    SET TF_CUDA_CLANG=0
    SET TF_CUDA_COMPUTE_CAPABILITIES=6.1
    SET TF_NEED_CUDA=1
    SET TF_NEED_OPENCL_SYCL=0
    SET TF_NEED_ROCM=0
    SET TF_NEED_TENSORRT=0
    SET TMP=C:\Users\Stepii\AppData\Local\Temp
  D:/Programs/Anaconda3/envs/neural/python.exe -B external/local_config_cuda/crosstool/windows/msvc_wrapper_for_nvcc.py /nologo /DCOMPILER_MSVC /DNOMINMAX /D_WIN32_WINNT=0x0600 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS /D_SXgi164MCGG3u5RKXaBGVBabmxQTVRAAVE5tDTGS /bigobj /Zm500 /J /Gy /GF /EHsc /wd4351 /wd4291 /wd4250 /wd4996 /I. /Ibazel-out/x64_windows-opt/genfiles /Ibazel-out/x64_windows-opt/bin /Iexternal/com_google_absl /Ibazel-out/x64_windows-opt/genfiles/external/com_google_absl /Ibazel-out/x64_windows-opt/bin/external/com_google_absl /Iexternal/nsync /Ibazel-out/x64_windows-opt/genfiles/external/nsync /Ibazel-out/x64_windows-opt/bin/external/nsync /Iexternal/eigen_archive /Ibazel-out/x64_windows-opt/genfiles/external/eigen_archive /Ibazel-out/x64_windows-opt/bin/external/eigen_archive /Iexternal/local_config_sycl /Ibazel-out/x64_windows-opt/genfiles/external/local_config_sycl /Ibazel-out/x64_windows-opt/bin/external/local_config_sycl /Iexternal/gif_archive /Ibazel-out/x64_windows-opt/genfiles/external/gif_archive /Ibazel-out/x64_windows-opt/bin/external/gif_archive /Iexternal/jpeg /Ibazel-out/x64_windows-opt/genfiles/external/jpeg /Ibazel-out/x64_windows-opt/bin/external/jpeg /Iexternal/protobuf_archive /Ibazel-out/x64_windows-opt/genfiles/external/protobuf_archive /Ibazel-out/x64_windows-opt/bin/external/protobuf_archive /Iexternal/com_googlesource_code_re2 /Ibazel-out/x64_windows-opt/genfiles/external/com_googlesource_code_re2 /Ibazel-out/x64_windows-opt/bin/external/com_googlesource_code_re2 /Iexternal/farmhash_archive /Ibazel-out/x64_windows-opt/genfiles/external/farmhash_archive /Ibazel-out/x64_windows-opt/bin/external/farmhash_archive /Iexternal/fft2d /Ibazel-out/x64_windows-opt/genfiles/external/fft2d /Ibazel-out/x64_windows-opt/bin/external/fft2d /Iexternal/highwayhash /Ibazel-out/x64_windows-opt/genfiles/external/highwayhash /Ibazel-out/x64_windows-opt/bin/external/highwayhash /Iexternal/zlib_archive /Ibazel-out/x64_windows-opt/genfiles/external/zlib_archive /Ibazel-out/x64_windows-opt/bin/external/zlib_archive /Iexternal/double_conversion /Ibazel-out/x64_windows-opt/genfiles/external/double_conversion /Ibazel-out/x64_windows-opt/bin/external/double_conversion /Iexternal/snappy /Ibazel-out/x64_windows-opt/genfiles/external/snappy /Ibazel-out/x64_windows-opt/bin/external/snappy /Iexternal/local_config_cuda /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda /Ibazel-out/x64_windows-opt/bin/external/local_config_cuda /Iexternal/nsync/public /Ibazel-out/x64_windows-opt/genfiles/external/nsync/public /Ibazel-out/x64_windows-opt/bin/external/nsync/public /Iexternal/eigen_archive /Ibazel-out/x64_windows-opt/genfiles/external/eigen_archive /Ibazel-out/x64_windows-opt/bin/external/eigen_archive /Iexternal/gif_archive/lib /Ibazel-out/x64_windows-opt/genfiles/external/gif_archive/lib /Ibazel-out/x64_windows-opt/bin/external/gif_archive/lib /Iexternal/gif_archive/windows /Ibazel-out/x64_windows-opt/genfiles/external/gif_archive/windows /Ibazel-out/x64_windows-opt/bin/external/gif_archive/windows /Iexternal/protobuf_archive/src /Ibazel-out/x64_windows-opt/genfiles/external/protobuf_archive/src /Ibazel-out/x64_windows-opt/bin/external/protobuf_archive/src /Iexternal/farmhash_archive/src /Ibazel-out/x64_windows-opt/genfiles/external/farmhash_archive/src /Ibazel-out/x64_windows-opt/bin/external/farmhash_archive/src /Iexternal/zlib_archive /Ibazel-out/x64_windows-opt/genfiles/external/zlib_archive /Ibazel-out/x64_windows-opt/bin/external/zlib_archive /Iexternal/double_conversion /Ibazel-out/x64_windows-opt/genfiles/external/double_conversion /Ibazel-out/x64_windows-opt/bin/external/double_conversion /Iexternal/local_config_cuda/cuda /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda/cuda /Ibazel-out/x64_windows-opt/bin/external/local_config_cuda/cuda /Iexternal/local_config_cuda/cuda/cuda/include /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda/cuda/cuda/include /Ibazel-out/x64_windows-opt/bin/external/local_config_cuda/cuda/cuda/include /Iexternal/local_config_cuda/cuda/cuda/include/crt /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda/cuda/cuda/include/crt /Ibazel-out/x64_windows-opt/bin/external/local_config_cuda/cuda/cuda/include/crt /D__CLANG_SUPPORT_DYN_ANNOTATION__ /DEIGEN_MPL2_ONLY /DEIGEN_MAX_ALIGN_BYTES=64 /DEIGEN_HAS_TYPE_TRAITS=0 /DTF_USE_SNAPPY /showIncludes /MD /O2 /DNDEBUG -w -DWIN32_LEAN_AND_MEAN -DNOGDI /arch:AVX2 /Fobazel-out/x64_windows-opt/bin/tensorflow/stream_executor/gpu/_objs/gpu_timer/gpu_timer.o /c tensorflow/stream_executor/gpu/gpu_timer.cc
Execution platform: @bazel_tools//platforms:host_platform
tensorflow/stream_executor/gpu/gpu_timer.cc(29): error C2039: 'CreateEventA': is not a member of 'stream_executor::gpu::GpuDriver'
.\tensorflow/stream_executor/gpu/gpu_driver.h(60): note: see declaration of 'stream_executor::gpu::GpuDriver'
tensorflow/stream_executor/gpu/gpu_timer.cc(29): error C2660: 'CreateEventA': function does not take 3 arguments
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um\synchapi.h(469): note: see declaration of 'CreateEventA'
tensorflow/stream_executor/gpu/gpu_timer.cc(36): error C2039: 'CreateEventA': is not a member of 'stream_executor::gpu::GpuDriver'
.\tensorflow/stream_executor/gpu/gpu_driver.h(60): note: see declaration of 'stream_executor::gpu::GpuDriver'
tensorflow/stream_executor/gpu/gpu_timer.cc(36): error C2660: 'CreateEventA': function does not take 3 arguments
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um\synchapi.h(469): note: see declaration of 'CreateEventA'
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 679.504s, Critical Path: 262.52s
INFO: 1869 processes: 1869 local.
FAILED: Build did NOT complete successfully"><pre class="notranslate">(neural) Stepii@STEPII D:<span class="pl-cce">\N</span>eural<span class="pl-cce">\t</span>ensorflow
$ python configure.py
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the <span class="pl-c1">command</span> <span class="pl-s"><span class="pl-pds">"</span>bazel shutdown<span class="pl-pds">"</span></span>.
You have bazel 0.24.1 installed.
Please specify the location of python. [Default is D:<span class="pl-cce">\P</span>rograms<span class="pl-cce">\A</span>naconda3<span class="pl-cce">\e</span>nvs<span class="pl-cce">\n</span>eural<span class="pl-cce">\p</span>ython.exe]:


Found possible Python library paths:
  D:<span class="pl-cce">\P</span>rograms<span class="pl-cce">\A</span>naconda3<span class="pl-cce">\e</span>nvs<span class="pl-cce">\n</span>eural<span class="pl-cce">\l</span>ib<span class="pl-cce">\s</span>ite-packages
Please input the desired Python library path to use.  Default is [D:<span class="pl-cce">\P</span>rograms<span class="pl-cce">\A</span>naconda3<span class="pl-cce">\e</span>nvs<span class="pl-cce">\n</span>eural<span class="pl-cce">\l</span>ib<span class="pl-cce">\s</span>ite-packages]

Do you wish to build TensorFlow with XLA JIT support<span class="pl-k">?</span> [y/N]: y
XLA JIT support will be enabled <span class="pl-k">for</span> TensorFlow.

Do you wish to build TensorFlow with ROCm support<span class="pl-k">?</span> [y/N]:
No ROCm support will be enabled <span class="pl-k">for</span> TensorFlow.

Do you wish to build TensorFlow with CUDA support<span class="pl-k">?</span> [y/N]: y
CUDA support will be enabled <span class="pl-k">for</span> TensorFlow.

Found CUDA 10.0 in:
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/include
Found cuDNN 7 in:
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64
    C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/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 <span class="pl-k">time</span> and binary size, and that TensorFlow only supports compute capabilities <span class="pl-k">&gt;</span>= 3.5 [Default is: 3.5,7.0]: 6.1


Please specify optimization flags to use during compilation when bazel option <span class="pl-s"><span class="pl-pds">"</span>--config=opt<span class="pl-pds">"</span></span> is specified [Default is /arch:AVX]: /arch:AVX2


Would you like to override eigen strong inline <span class="pl-k">for</span> some C++ compilation to reduce the compilation time<span class="pl-k">?</span> [Y/n]:
Eigen strong inline overridden.

Preconfigured Bazel build configs. You can use any of the below by adding <span class="pl-s"><span class="pl-pds">"</span>--config=&lt;&gt;<span class="pl-pds">"</span></span> to your build command. See .bazelrc <span class="pl-k">for</span> more details.
        --config=mkl            <span class="pl-c"><span class="pl-c">#</span> Build with MKL support.</span>
        --config=monolithic     <span class="pl-c"><span class="pl-c">#</span> Config for mostly static monolithic build.</span>
        --config=gdr            <span class="pl-c"><span class="pl-c">#</span> Build with GDR support.</span>
        --config=verbs          <span class="pl-c"><span class="pl-c">#</span> Build with libverbs support.</span>
        --config=ngraph         <span class="pl-c"><span class="pl-c">#</span> Build with Intel nGraph support.</span>
        --config=numa           <span class="pl-c"><span class="pl-c">#</span> Build with NUMA support.</span>
        --config=dynamic_kernels        <span class="pl-c"><span class="pl-c">#</span> (Experimental) Build kernels into separate shared objects.</span>
Preconfigured Bazel build configs to DISABLE default on features:
        --config=noaws          <span class="pl-c"><span class="pl-c">#</span> Disable AWS S3 filesystem support.</span>
        --config=nogcp          <span class="pl-c"><span class="pl-c">#</span> Disable GCP support.</span>
        --config=nohdfs         <span class="pl-c"><span class="pl-c">#</span> Disable HDFS support.</span>
        --config=noignite       <span class="pl-c"><span class="pl-c">#</span> Disable Apache Ignite support.</span>
        --config=nokafka        <span class="pl-c"><span class="pl-c">#</span> Disable Apache Kafka support.</span>
        --config=nonccl         <span class="pl-c"><span class="pl-c">#</span> Disable NVIDIA NCCL support.</span>

(neural) Stepii@STEPII D:<span class="pl-cce">\N</span>eural<span class="pl-cce">\t</span>ensorflow
$ bazel build --config=opt --define=no_tensorflow_py_deps=true //tensorflow/tools/pip_package:build_pip_package -j 12

[...]

ERROR: D:/neural/tensorflow/tensorflow/stream_executor/gpu/BUILD:168:1: C++ compilation of rule <span class="pl-s"><span class="pl-pds">'</span>//tensorflow/stream_executor/gpu:gpu_timer<span class="pl-pds">'</span></span> failed (Exit 2): python.exe failed: error executing <span class="pl-c1">command</span>
  <span class="pl-c1">cd</span> C:/users/stepii/_bazel_stepii/5mniti2w/execroot/org_tensorflow
  SET CUDA_TOOLKIT_PATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0
    SET INCLUDE=C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\M</span>icrosoft Visual Studio<span class="pl-cce">\2</span>017<span class="pl-cce">\C</span>ommunity<span class="pl-cce">\V</span>C<span class="pl-cce">\T</span>ools<span class="pl-cce">\M</span>SVC<span class="pl-cce">\1</span>4.16.27023<span class="pl-cce">\A</span>TLMFC<span class="pl-cce">\i</span>nclude<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\M</span>icrosoft Visual Studio<span class="pl-cce">\2</span>017<span class="pl-cce">\C</span>ommunity<span class="pl-cce">\V</span>C<span class="pl-cce">\T</span>ools<span class="pl-cce">\M</span>SVC<span class="pl-cce">\1</span>4.16.27023<span class="pl-cce">\i</span>nclude<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\i</span>nclude<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\u</span>crt<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\i</span>nclude<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\s</span>hared<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\i</span>nclude<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\u</span>m<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\i</span>nclude<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\w</span>inrt<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\i</span>nclude<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\c</span>ppwinrt
    SET LIB=C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\M</span>icrosoft Visual Studio<span class="pl-cce">\2</span>017<span class="pl-cce">\C</span>ommunity<span class="pl-cce">\V</span>C<span class="pl-cce">\T</span>ools<span class="pl-cce">\M</span>SVC<span class="pl-cce">\1</span>4.16.27023<span class="pl-cce">\A</span>TLMFC<span class="pl-cce">\l</span>ib<span class="pl-cce">\x</span>64<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\M</span>icrosoft Visual Studio<span class="pl-cce">\2</span>017<span class="pl-cce">\C</span>ommunity<span class="pl-cce">\V</span>C<span class="pl-cce">\T</span>ools<span class="pl-cce">\M</span>SVC<span class="pl-cce">\1</span>4.16.27023<span class="pl-cce">\l</span>ib<span class="pl-cce">\x</span>64<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\l</span>ib<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\u</span>crt<span class="pl-cce">\x</span>64<span class="pl-k">;</span>C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\l</span>ib<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\u</span>m<span class="pl-cce">\x</span>64<span class="pl-k">;</span>
    SET PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019A26nPRjStR25RPVWFZL5iMn5PgXYVtDTages;C:\Program Files (x86)\Microsoft Visual Studio\2019A26nPRe3js3W69CrGF8kKXvvmYtT4zNGqicXRjvuAnmmbvPZXu5yRJVindow;C:\Program Files (x86)\Microsoft Visual Studio\2019A26nPRe3js3W69CrGF8kKXvvmYtT4zNGqicXRjvuAnmmbvPZXu5yRJVx9R2xvWau\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\Roslyn;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft Visual SXgi164MCGG3u5RKXaBGVBabmxQTVRAAVE5tDTools\\x64;C:\Program Files (x86)\Microsoft Visual SXgi164MCGG3u5RKXaBGVBabmxQTVRAAVE5tDTools\;C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\\MSBuild\15.0\bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\;;C:\Windows\system32;C:\Program Files (x86)\Microsoft Visual Studio\2019A26nPRe3js3W69CrGF8kKXvvmYtT4zNGqicXRjvuAnmmbvPZXu5yRJVx9R2xvWaun;C:\Program Files (x86)\Microsoft Visual Studio\2019A26nPRe3js3W69CrGF8kKXvvmYtT4zNGqicXRjvuAnmmbvPZXu5yRJV\Ninja
    SET PWD=/proc/self/cwd
    SET PYTHON_BIN_PATH=D:/Programs/Anaconda3/envs/neural/python.exe
    SET PYTHON_LIB_PATH=D:/Programs/Anaconda3/envs/neural/lib/site-packages
    SET TEMP=C:<span class="pl-cce">\U</span>sers<span class="pl-cce">\S</span>tepii<span class="pl-cce">\A</span>ppData<span class="pl-cce">\L</span>ocal<span class="pl-cce">\T</span>emp
    SET TF_CONFIGURE_IOS=0
    SET TF_CUDA_CLANG=0
    SET TF_CUDA_COMPUTE_CAPABILITIES=6.1
    SET TF_NEED_CUDA=1
    SET TF_NEED_OPENCL_SYCL=0
    SET TF_NEED_ROCM=0
    SET TF_NEED_TENSORRT=0
    SET TMP=C:<span class="pl-cce">\U</span>sers<span class="pl-cce">\S</span>tepii<span class="pl-cce">\A</span>ppData<span class="pl-cce">\L</span>ocal<span class="pl-cce">\T</span>emp
  D:/Programs/Anaconda3/envs/neural/python.exe -B external/local_config_cuda/crosstool/windows/msvc_wrapper_for_nvcc.py /nologo /DCOMPILER_MSVC /DNOMINMAX /D_WIN32_WINNT=0x0600 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS /D_SXgi164MCGG3u5RKXaBGVBabmxQTVRAAVE5tDTGS /bigobj /Zm500 /J /Gy /GF /EHsc /wd4351 /wd4291 /wd4250 /wd4996 /I. /Ibazel-out/x64_windows-opt/genfiles /Ibazel-out/x64_windows-opt/bin /Iexternal/com_google_absl /Ibazel-out/x64_windows-opt/genfiles/external/com_google_absl /Ibazel-out/x64_windows-opt/bin/external/com_google_absl /Iexternal/nsync /Ibazel-out/x64_windows-opt/genfiles/external/nsync /Ibazel-out/x64_windows-opt/bin/external/nsync /Iexternal/eigen_archive /Ibazel-out/x64_windows-opt/genfiles/external/eigen_archive /Ibazel-out/x64_windows-opt/bin/external/eigen_archive /Iexternal/local_config_sycl /Ibazel-out/x64_windows-opt/genfiles/external/local_config_sycl /Ibazel-out/x64_windows-opt/bin/external/local_config_sycl /Iexternal/gif_archive /Ibazel-out/x64_windows-opt/genfiles/external/gif_archive /Ibazel-out/x64_windows-opt/bin/external/gif_archive /Iexternal/jpeg /Ibazel-out/x64_windows-opt/genfiles/external/jpeg /Ibazel-out/x64_windows-opt/bin/external/jpeg /Iexternal/protobuf_archive /Ibazel-out/x64_windows-opt/genfiles/external/protobuf_archive /Ibazel-out/x64_windows-opt/bin/external/protobuf_archive /Iexternal/com_googlesource_code_re2 /Ibazel-out/x64_windows-opt/genfiles/external/com_googlesource_code_re2 /Ibazel-out/x64_windows-opt/bin/external/com_googlesource_code_re2 /Iexternal/farmhash_archive /Ibazel-out/x64_windows-opt/genfiles/external/farmhash_archive /Ibazel-out/x64_windows-opt/bin/external/farmhash_archive /Iexternal/fft2d /Ibazel-out/x64_windows-opt/genfiles/external/fft2d /Ibazel-out/x64_windows-opt/bin/external/fft2d /Iexternal/highwayhash /Ibazel-out/x64_windows-opt/genfiles/external/highwayhash /Ibazel-out/x64_windows-opt/bin/external/highwayhash /Iexternal/zlib_archive /Ibazel-out/x64_windows-opt/genfiles/external/zlib_archive /Ibazel-out/x64_windows-opt/bin/external/zlib_archive /Iexternal/double_conversion /Ibazel-out/x64_windows-opt/genfiles/external/double_conversion /Ibazel-out/x64_windows-opt/bin/external/double_conversion /Iexternal/snappy /Ibazel-out/x64_windows-opt/genfiles/external/snappy /Ibazel-out/x64_windows-opt/bin/external/snappy /Iexternal/local_config_cuda /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda /Ibazel-out/x64_windows-opt/bin/external/local_config_cuda /Iexternal/nsync/public /Ibazel-out/x64_windows-opt/genfiles/external/nsync/public /Ibazel-out/x64_windows-opt/bin/external/nsync/public /Iexternal/eigen_archive /Ibazel-out/x64_windows-opt/genfiles/external/eigen_archive /Ibazel-out/x64_windows-opt/bin/external/eigen_archive /Iexternal/gif_archive/lib /Ibazel-out/x64_windows-opt/genfiles/external/gif_archive/lib /Ibazel-out/x64_windows-opt/bin/external/gif_archive/lib /Iexternal/gif_archive/windows /Ibazel-out/x64_windows-opt/genfiles/external/gif_archive/windows /Ibazel-out/x64_windows-opt/bin/external/gif_archive/windows /Iexternal/protobuf_archive/src /Ibazel-out/x64_windows-opt/genfiles/external/protobuf_archive/src /Ibazel-out/x64_windows-opt/bin/external/protobuf_archive/src /Iexternal/farmhash_archive/src /Ibazel-out/x64_windows-opt/genfiles/external/farmhash_archive/src /Ibazel-out/x64_windows-opt/bin/external/farmhash_archive/src /Iexternal/zlib_archive /Ibazel-out/x64_windows-opt/genfiles/external/zlib_archive /Ibazel-out/x64_windows-opt/bin/external/zlib_archive /Iexternal/double_conversion /Ibazel-out/x64_windows-opt/genfiles/external/double_conversion /Ibazel-out/x64_windows-opt/bin/external/double_conversion /Iexternal/local_config_cuda/cuda /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda/cuda /Ibazel-out/x64_windows-opt/bin/external/local_config_cuda/cuda /Iexternal/local_config_cuda/cuda/cuda/include /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda/cuda/cuda/include /Ibazel-out/x64_windows-opt/bin/external/local_config_cuda/cuda/cuda/include /Iexternal/local_config_cuda/cuda/cuda/include/crt /Ibazel-out/x64_windows-opt/genfiles/external/local_config_cuda/cuda/cuda/include/crt /Ibazel-out/x64_windows-opt/bin/external/local_config_cuda/cuda/cuda/include/crt /D__CLANG_SUPPORT_DYN_ANNOTATION__ /DEIGEN_MPL2_ONLY /DEIGEN_MAX_ALIGN_BYTES=64 /DEIGEN_HAS_TYPE_TRAITS=0 /DTF_USE_SNAPPY /showIncludes /MD /O2 /DNDEBUG -w -DWIN32_LEAN_AND_MEAN -DNOGDI /arch:AVX2 /Fobazel-out/x64_windows-opt/bin/tensorflow/stream_executor/gpu/_objs/gpu_timer/gpu_timer.o /c tensorflow/stream_executor/gpu/gpu_timer.cc
Execution platform: @bazel_tools//platforms:host_platform
tensorflow/stream_executor/gpu/gpu_timer.cc(29): error C2039: <span class="pl-s"><span class="pl-pds">'</span>CreateEventA<span class="pl-pds">'</span></span>: is not a member of <span class="pl-s"><span class="pl-pds">'</span>stream_executor::gpu::GpuDriver<span class="pl-pds">'</span></span>
.<span class="pl-cce">\t</span>ensorflow/stream_executor/gpu/gpu_driver.h(60): note: see declaration of <span class="pl-s"><span class="pl-pds">'</span>stream_executor::gpu::GpuDriver<span class="pl-pds">'</span></span>
tensorflow/stream_executor/gpu/gpu_timer.cc(29): error C2660: <span class="pl-s"><span class="pl-pds">'</span>CreateEventA<span class="pl-pds">'</span></span>: <span class="pl-k">function</span> <span class="pl-en">does</span> not take 3 arguments
C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\i</span>nclude<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\u</span>m<span class="pl-cce">\s</span>ynchapi.h(469): note: see declaration of <span class="pl-s"><span class="pl-pds">'</span>CreateEventA<span class="pl-pds">'</span></span>
tensorflow/stream_executor/gpu/gpu_timer.cc(36): error C2039: <span class="pl-s"><span class="pl-pds">'</span>CreateEventA<span class="pl-pds">'</span></span>: is not a member of <span class="pl-s"><span class="pl-pds">'</span>stream_executor::gpu::GpuDriver<span class="pl-pds">'</span></span>
.<span class="pl-cce">\t</span>ensorflow/stream_executor/gpu/gpu_driver.h(60): note: see declaration of <span class="pl-s"><span class="pl-pds">'</span>stream_executor::gpu::GpuDriver<span class="pl-pds">'</span></span>
tensorflow/stream_executor/gpu/gpu_timer.cc(36): error C2660: <span class="pl-s"><span class="pl-pds">'</span>CreateEventA<span class="pl-pds">'</span></span>: <span class="pl-k">function</span> <span class="pl-en">does</span> not take 3 arguments
C:<span class="pl-cce">\P</span>rogram Files (x86)<span class="pl-cce">\W</span>indows Kits<span class="pl-cce">\1</span>0<span class="pl-cce">\i</span>nclude<span class="pl-cce">\1</span>0.0.17763.0<span class="pl-cce">\u</span>m<span class="pl-cce">\s</span>ynchapi.h(469): note: see declaration of <span class="pl-s"><span class="pl-pds">'</span>CreateEventA<span class="pl-pds">'</span></span>
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 679.504s, Critical Path: 262.52s
INFO: 1869 processes: 1869 local.
FAILED: Build did NOT <span class="pl-c1">complete</span> successfully</pre></div>
<p dir="auto"><strong>Any other info / logs</strong><br>
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.</p>
<p dir="auto"><a href="https://github.com/tensorflow/tensorflow/files/3134823/FullLog.txt">FullLog.txt</a></p>