Skip to content

Build failure in PyTorch Windows CI doesn't terminate early enough #4990

@ezyang

Description

@ezyang

In this log: https://ci.pytorch.org/jenkins/job/pytorch-builds/job/pytorch-win-ws2016-cuda9-cudnn7-py3-build/1241/consoleFull

The true failure is:

C:\Jenkins\workspace\pytorch-builds\pytorch-win-ws2016-cuda9-cudnn7-py3-build\aten\src\ATen\native\cudnn\Conv.cpp(1207): error C2398: Element '2': conversion from 'int64_t' to '::size_t' requires a narrowing conversion

However, there are many many pages of scrollback after this, and eventually the thing that terminates the build is:

ninja: error: 'torch/lib/tmp_install/share/ATen/Declarations.yaml', needed by 'torch/csrc/autograd/generated/Functions.cpp', missing and no known rule to make it
Command '['C:\\Jenkins\\workspace\\pytorch-builds\\pytorch-win-ws2016-cuda9-cudnn7-py3-build\\Miniconda3\\lib\\site-packages\\ninja\\data\\bin\\ninja', '-f', 'build\\build.global.ninja']' returned non-zero exit status 1.
-- Building with NumPy bindings
-- Detected cuDNN at C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\lib\x64\cudnn.lib, C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0\include
-- Detected CUDA at C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0
-- Not using NCCL
-- Building without distributed package
Build step 'Execute shell' marked build as failure
Finished: FAILURE

This is not very user friendly.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions