Skip to content

Conversation

penguinwu
Copy link
Member

@penguinwu penguinwu commented Mar 16, 2021

Stack from ghstack:

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: D27233880

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@facebook-github-bot facebook-github-bot added oncall: jit Add this issue/PR to JIT oncall triage queue cla signed labels Mar 16, 2021
penguinwu pushed a commit that referenced this pull request Mar 16, 2021
Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 4bc9fd2
Pull Request resolved: #54045
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Mar 16, 2021

💊 CI failures summary and remediations

As of commit d991955 (more details on the Dr. CI page):


  • 3/3 failures possibly* introduced in this PR
    • 1/3 non-scanned failure(s)

🕵️ 2 new failures recognized by patterns

The following CI failures do not appear to be due to upstream breakages:

See CircleCI build pytorch_windows_vs2019_py36_cuda10.1_build (1/2)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Error generating file

C:/Users/circleci/project\c10/util/Half-inl.h(31): error: calling a __host__ function("__truncf") from a __device__ function("at::native::_NV_ANON_NAMESPACE::UnaryOpFunctor< ::c10::Half, (int)1, (int)1, (int)0> ::operator ()< ::at::native::Trunc<float> > ") is not allowed

C:/Users/circleci/project\c10/util/Half-inl.h(31): error: identifier "__truncf" is undefined in device code

64 errors detected in the compilation of "C:/Users/circleci/project/build/win_tmp/bin/.tmpN6l8Mv/tmpxft_00002448_00000000-7_ForeachUnaryOp.cpp1.ii".
ForeachUnaryOp.cu
-- Removing C:/Users/circleci/project/build/caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/ATen/native/cuda/./torch_cuda_generated_ForeachUnaryOp.cu.obj
C:/Jenkins/Miniconda3/Library/bin/cmake.exe -E remove C:/Users/circleci/project/build/caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/ATen/native/cuda/./torch_cuda_generated_ForeachUnaryOp.cu.obj
CMake Error at torch_cuda_generated_ForeachUnaryOp.cu.obj.Release.cmake:281 (message):
  Error generating file
  C:/Users/circleci/project/build/caffe2/CMakeFiles/torch_cuda.dir/__/aten/src/ATen/native/cuda/./torch_cuda_generated_ForeachUnaryOp.cu.obj


ninja: build stopped: subcommand failed.
-- Building version 1.9.0a0+gitd991955
 --- Trying to initialize submodules
 --- Submodule initialization took 206.64 sec
cmake -GNinja -DBUILD_ENVIRONMENT=pytorch-win-vs2019-cuda10-cudnn7-py3 -DBUILD_PYTHON=True -DBUILD_TEST=True -DBUILD_TYPE=release -DCMAKE_BUILD_TYPE=Release -DCMAKE_GENERATOR=Ninja -DCMAKE_INCLUDE_PATH=C:\Users\circleci\project\build\win_tmp\mkl\include -DCMAKE_INSTALL_PREFIX=C:\Users\circleci\project\torch -DCMAKE_PREFIX_PATH=C:\Jenkins\Miniconda3\Lib\site-packages -DCMAKE_VERBOSE_MAKEFILE=1 -DCUDA_NVCC_EXECUTABLE=C:\Users\circleci\project\build\win_tmp\bin\randomtemp.exe -DCUDNN_LIBRARY=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\lib\x64 -DJAVA_HOME=C:\Program Files\OpenJDK\jdk-12.0.2 -DNUMPY_INCLUDE_DIR=C:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -DPYTHON_EXECUTABLE=C:\Jenkins\Miniconda3\python.exe -DPYTHON_INCLUDE_DIR=C:\Jenkins\Miniconda3\include -DPYTHON_LIBRARY=C:\Jenkins\Miniconda3/libs/python36.lib -DTORCH_BUILD_VERSION=1.9.0a0+gitd991955 -DUSE_CUDA=1 -DUSE_NUMPY=True C:\Users\circleci\project
cmake --build . --target install --config Release -- -j 16
Traceback (most recent call last):

See CircleCI build pytorch_windows_vs2019_py36_cuda11.1_build (2/2)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Error generating file
Retry attempt: 3
C:/Users/circleci/project/caffe2/operators/floor_op.cu(10): error: calling a __host__ function("__floorf") from a __global__ function("caffe2::FloorKernel<float> ") is not allowed

C:/Users/circleci/project/caffe2/operators/floor_op.cu(10): error: identifier "__floorf" is undefined in device code

2 errors detected in the compilation of "C:/Users/circleci/project/caffe2/operators/floor_op.cu".
floor_op.cu
-- Removing C:/Users/circleci/project/build/caffe2/CMakeFiles/torch_cuda_cpp.dir/operators/./torch_cuda_cpp_generated_floor_op.cu.obj
C:/Jenkins/Miniconda3/Library/bin/cmake.exe -E remove C:/Users/circleci/project/build/caffe2/CMakeFiles/torch_cuda_cpp.dir/operators/./torch_cuda_cpp_generated_floor_op.cu.obj
CMake Error at torch_cuda_cpp_generated_floor_op.cu.obj.Release.cmake:281 (message):
  Error generating file
  C:/Users/circleci/project/build/caffe2/CMakeFiles/torch_cuda_cpp.dir/operators/./torch_cuda_cpp_generated_floor_op.cu.obj


ninja: build stopped: subcommand failed.
-- Building version 1.9.0a0+gitd991955
 --- Trying to initialize submodules
 --- Submodule initialization took 136.81 sec
cmake -GNinja -DBUILD_ENVIRONMENT=pytorch-win-vs2019-cuda11-cudnn8-py3 -DBUILD_PYTHON=True -DBUILD_SPLIT_CUDA=ON -DBUILD_TEST=True -DBUILD_TYPE=release -DCMAKE_BUILD_TYPE=Release -DCMAKE_GENERATOR=Ninja -DCMAKE_INCLUDE_PATH=C:\Users\circleci\project\build\win_tmp\mkl\include -DCMAKE_INSTALL_PREFIX=C:\Users\circleci\project\torch -DCMAKE_PREFIX_PATH=C:\Jenkins\Miniconda3\Lib\site-packages -DCMAKE_VERBOSE_MAKEFILE=1 -DCUDA_NVCC_EXECUTABLE=C:\Users\circleci\project\build\win_tmp\bin\randomtemp.exe -DCUDNN_LIBRARY=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\lib\x64 -DJAVA_HOME=C:\Program Files\OpenJDK\jdk-12.0.2 -DNUMPY_INCLUDE_DIR=C:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -DPYTHON_EXECUTABLE=C:\Jenkins\Miniconda3\python.exe -DPYTHON_INCLUDE_DIR=C:\Jenkins\Miniconda3\include -DPYTHON_LIBRARY=C:\Jenkins\Miniconda3/libs/python36.lib -DTORCH_BUILD_VERSION=1.9.0a0+gitd991955 -DUSE_CUDA=1 -DUSE_NUMPY=True C:\Users\circleci\project
cmake --build . --target install --config Release -- -j 16
Traceback (most recent call last):

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

@penguinwu penguinwu requested a review from bwasti March 16, 2021 02:23
Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
penguinwu pushed a commit that referenced this pull request Mar 16, 2021
Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: d00a8f4
Pull Request resolved: #54045
@penguinwu penguinwu changed the title Name refactoring to make MemoryPlanning more readable [Static Runtime] Name refactoring to make MemoryPlanning more readable Mar 16, 2021
@bertmaher bertmaher requested a review from hlu1 March 18, 2021 20:36
Copy link
Contributor

@bwasti bwasti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good! nice cleanup

…ore readable"

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c06d979.

@facebook-github-bot facebook-github-bot deleted the gh/penguinwu/4/head branch March 27, 2021 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed Merged oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants