Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix asserts in tests #72864

Open
wants to merge 2 commits into
base: gh/H-Huang/46/base
Choose a base branch
from
Open

Fix asserts in tests #72864

wants to merge 2 commits into from

Conversation

@H-Huang
Copy link
Member

@H-Huang H-Huang commented Feb 15, 2022

Stack from ghstack:

Fixes #72860

Differential Revision: D34246987

[ghstack-poisoned]
@pytorch-bot
Copy link

@pytorch-bot pytorch-bot bot commented Feb 15, 2022

CI Flow Status

⚛️ CI Flow

Ruleset - Version: v1
Ruleset - File: https://github.com/pytorch/pytorch/blob/5541967970458649764da4a4c56d385d1b441e56/.github/generated-ciflow-ruleset.json
PR ciflow labels: ciflow/default
Add ciflow labels to this PR to trigger more builds:

Workflows Labels (bold enabled) Status
Triggered Workflows
linux-binary-conda ciflow/binaries, ciflow/binaries_conda, ciflow/default triggered
linux-binary-libtorch-cxx11-abi ciflow/binaries, ciflow/binaries_libtorch, ciflow/default triggered
linux-binary-libtorch-pre-cxx11 ciflow/binaries, ciflow/binaries_libtorch, ciflow/default triggered
linux-binary-manywheel ciflow/binaries, ciflow/binaries_wheel, ciflow/default triggered
linux-bionic-py3.7-clang9 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/noarch, ciflow/trunk, ciflow/xla triggered
linux-bionic-rocm4.5-py3.7 ciflow/all, ciflow/default, ciflow/linux, ciflow/rocm, ciflow/trunk triggered
linux-docs ciflow/all, ciflow/cpu, ciflow/default, ciflow/docs, ciflow/linux, ciflow/trunk triggered
linux-vulkan-bionic-py3.7-clang9 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/trunk, ciflow/vulkan triggered
linux-xenial-cuda11.3-py3.7-gcc7 ciflow/all, ciflow/cuda, ciflow/default, ciflow/linux, ciflow/trunk triggered
linux-xenial-cuda11.3-py3.7-gcc7-bazel-test ciflow/all, ciflow/bazel, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/trunk triggered
linux-xenial-py3-clang5-mobile-build ciflow/all, ciflow/default, ciflow/linux, ciflow/mobile, ciflow/trunk triggered
linux-xenial-py3-clang5-mobile-custom-build-static ciflow/all, ciflow/default, ciflow/linux, ciflow/mobile, ciflow/trunk triggered
linux-xenial-py3.7-clang7-asan ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/sanitizers, ciflow/trunk triggered
linux-xenial-py3.7-clang7-onnx ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/onnx, ciflow/trunk triggered
linux-xenial-py3.7-gcc5.4 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/trunk triggered
linux-xenial-py3.7-gcc7 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/trunk triggered
linux-xenial-py3.7-gcc7-no-ops ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/trunk triggered
pytorch-linux-xenial-py3-clang5-android-ndk-r19c-gradle-custom-build-single ciflow/all, ciflow/android, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/trunk triggered
pytorch-linux-xenial-py3-clang5-android-ndk-r19c-gradle-custom-build-single-full-jit ciflow/all, ciflow/android, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/trunk triggered
win-vs2019-cpu-py3 ciflow/all, ciflow/cpu, ciflow/default, ciflow/trunk, ciflow/win triggered
win-vs2019-cuda11.3-py3 ciflow/all, ciflow/cuda, ciflow/default, ciflow/trunk, ciflow/win triggered
windows-binary-libtorch-cxx11-abi ciflow/binaries, ciflow/binaries_libtorch, ciflow/default triggered
windows-binary-libtorch-pre-cxx11 ciflow/binaries, ciflow/binaries_libtorch, ciflow/default triggered
windows-binary-wheel ciflow/binaries, ciflow/binaries_wheel, ciflow/default triggered
Skipped Workflows
caffe2-linux-xenial-py3.7-gcc5.4 ciflow/all, ciflow/cpu, ciflow/linux, ciflow/trunk 🚫 skipped
docker-builds ciflow/all, ciflow/trunk 🚫 skipped
ios-12-5-1-arm64 ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk 🚫 skipped
ios-12-5-1-arm64-coreml ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk 🚫 skipped
ios-12-5-1-arm64-custom-ops ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk 🚫 skipped
ios-12-5-1-arm64-full-jit ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk 🚫 skipped
ios-12-5-1-arm64-metal ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk 🚫 skipped
ios-12-5-1-x86-64 ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk 🚫 skipped
ios-12-5-1-x86-64-coreml ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk 🚫 skipped
ios-12-5-1-x86-64-full-jit ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk 🚫 skipped
libtorch-linux-xenial-cuda10.2-py3.7-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux, ciflow/trunk 🚫 skipped
libtorch-linux-xenial-cuda11.3-py3.7-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux, ciflow/trunk 🚫 skipped
linux-bionic-cuda10.2-py3.9-gcc7 ciflow/all, ciflow/cuda, ciflow/linux, ciflow/slow, ciflow/trunk 🚫 skipped
linux-docs-push ciflow/all, ciflow/cpu, ciflow/linux, ciflow/scheduled 🚫 skipped
linux-xenial-cuda11.3-py3.7-gcc7-no-ops ciflow/all, ciflow/cuda, ciflow/linux, ciflow/trunk 🚫 skipped
macos-10-15-py3-arm64 ciflow/all, ciflow/macos, ciflow/trunk 🚫 skipped
macos-10-15-py3-lite-interpreter-x86-64 ciflow/all, ciflow/macos, ciflow/trunk 🚫 skipped
macos-11-py3-x86-64 ciflow/all, ciflow/macos, ciflow/trunk 🚫 skipped
parallelnative-linux-xenial-py3.7-gcc5.4 ciflow/all, ciflow/cpu, ciflow/linux, ciflow/trunk 🚫 skipped
periodic-libtorch-linux-bionic-cuda11.5-py3.7-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux, ciflow/scheduled 🚫 skipped
periodic-libtorch-linux-xenial-cuda11.1-py3.7-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux, ciflow/scheduled 🚫 skipped
periodic-linux-bionic-cuda11.5-py3.7-gcc7 ciflow/all, ciflow/cuda, ciflow/linux, ciflow/scheduled 🚫 skipped
periodic-linux-xenial-cuda10.2-py3-gcc7-slow-gradcheck ciflow/all, ciflow/cuda, ciflow/linux, ciflow/scheduled, ciflow/slow, ciflow/slow-gradcheck 🚫 skipped
periodic-linux-xenial-cuda11.1-py3.7-gcc7-debug ciflow/all, ciflow/cuda, ciflow/linux, ciflow/scheduled 🚫 skipped
periodic-win-vs2019-cuda11.1-py3 ciflow/all, ciflow/cuda, ciflow/scheduled, ciflow/win 🚫 skipped
periodic-win-vs2019-cuda11.5-py3 ciflow/all, ciflow/cuda, ciflow/scheduled, ciflow/win 🚫 skipped
pytorch-linux-xenial-py3-clang5-android-ndk-r19c-build ciflow/all, ciflow/android, ciflow/cpu, ciflow/linux, ciflow/trunk 🚫 skipped

@facebook-github-bot
Copy link
Contributor

@facebook-github-bot facebook-github-bot commented Feb 15, 2022

🔗 Helpful links

💊 CI failures summary and remediations

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


  • 6/11 failures introduced in this PR
  • 5/11 broken upstream at merge base 25f9fe2 on Feb 07 from 11:53am to 7:44pm

🕵️ 6 new failures recognized by patterns

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

See GitHub Actions build linux-xenial-py3.7-gcc5.4 / test (backwards_compat, 1, 1, linux.2xlarge) (1/6)

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

2022-02-15T18:37:17.6333413Z The PR is introduc...m to confirm whether this change is wanted or not.
2022-02-15T18:37:17.6317887Z processing existing schema:  text(__torch__.torch.classes.profiling.SourceRef _0) -> (str _0)
2022-02-15T18:37:17.6319436Z processing existing schema:  count(__torch__.torch.classes.profiling.InstructionStats _0) -> (int _0)
2022-02-15T18:37:17.6321011Z processing existing schema:  duration_ns(__torch__.torch.classes.profiling.InstructionStats _0) -> (int _0)
2022-02-15T18:37:17.6322833Z processing existing schema:  source(__torch__.torch.classes.profiling.SourceStats _0) -> (__torch__.torch.classes.profiling.SourceRef _0)
2022-02-15T18:37:17.6325122Z processing existing schema:  line_map(__torch__.torch.classes.profiling.SourceStats _0) -> (Dict(int, __torch__.torch.classes.profiling.InstructionStats) _0)
2022-02-15T18:37:17.6326088Z processing existing schema:  __init__(__torch__.torch.classes.profiling._ScriptProfile _0) -> (NoneType _0)
2022-02-15T18:37:17.6327928Z processing existing schema:  enable(__torch__.torch.classes.profiling._ScriptProfile _0) -> (NoneType _0)
2022-02-15T18:37:17.6329495Z processing existing schema:  disable(__torch__.torch.classes.profiling._ScriptProfile _0) -> (NoneType _0)
2022-02-15T18:37:17.6331989Z processing existing schema:  _dump_stats(__torch__.torch.classes.profiling._ScriptProfile _0) -> (__torch__.torch.classes.profiling.SourceStats[] _0)
2022-02-15T18:37:17.6333069Z processing existing schema:  __init__(__torch__.torch.classes.dist_rpc.WorkerInfo _0, str _1, int _2) -> (NoneType _0)
2022-02-15T18:37:17.6333413Z The PR is introducing backward incompatible changes to the operator library. Please contact PyTorch team to confirm whether this change is wanted or not. 
2022-02-15T18:37:17.6333435Z 
2022-02-15T18:37:17.6333538Z Broken ops: [
2022-02-15T18:37:17.6333930Z 	aten::index_copy.out(Tensor self, int dim, Tensor index, Tensor source, *, Tensor(a!) out) -> (Tensor(a!))
2022-02-15T18:37:17.6334011Z ]
2022-02-15T18:37:17.7175382Z + cleanup
2022-02-15T18:37:17.7175502Z + retcode=1
2022-02-15T18:37:17.7175612Z + set +x
2022-02-15T18:37:17.7212320Z ##[error]Process completed with exit code 1.
2022-02-15T18:37:17.7239869Z ##[group]Run # Ensure the working directory gets chowned back to the current user
2022-02-15T18:37:17.7240027Z �[36;1m# Ensure the working directory gets chowned back to the current user�[0m

See GitHub Actions build linux-xenial-py3.7-clang7-asan / test (default, 1, 3, linux.2xlarge) (2/6)

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

2022-02-15T21:35:22.2990868Z FAIL [0.051s]: tes...eg_view_cat_cpu_float64 (__main__.TestMathBitsCPU)
2022-02-15T21:35:22.2989043Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_comparison.py", line 1081, in assert_equal
2022-02-15T21:35:22.2989299Z     raise error_metas[0].to_error()
2022-02-15T21:35:22.2989560Z AssertionError: Tensor-likes are not close!
2022-02-15T21:35:22.2989697Z 
2022-02-15T21:35:22.2989768Z Mismatched elements: 1 / 1 (100.0%)
2022-02-15T21:35:22.2990067Z Greatest absolute difference: 1.0 at index 0 (up to 1e-05 allowed)
2022-02-15T21:35:22.2990395Z Greatest relative difference: 1.0 at index 0 (up to 1.3e-06 allowed)
2022-02-15T21:35:22.2990538Z 
2022-02-15T21:35:22.2990543Z 
2022-02-15T21:35:22.2990630Z ======================================================================
2022-02-15T21:35:22.2990868Z FAIL [0.051s]: test_neg_view_cat_cpu_float64 (__main__.TestMathBitsCPU)
2022-02-15T21:35:22.2991198Z ----------------------------------------------------------------------
2022-02-15T21:35:22.2991443Z Traceback (most recent call last):
2022-02-15T21:35:22.2991837Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_internal/common_device_type.py", line 376, in instantiated_test
2022-02-15T21:35:22.2992116Z     result = test(self, **param_kwargs)
2022-02-15T21:35:22.2992496Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_internal/common_device_type.py", line 761, in test_wrapper
2022-02-15T21:35:22.2992763Z     return test(*args, **kwargs)
2022-02-15T21:35:22.2992972Z   File "test_ops.py", line 1292, in test_neg_view
2022-02-15T21:35:22.2993164Z     lambda x: True)
2022-02-15T21:35:22.2993352Z   File "test_ops.py", line 1260, in _test_math_view
2022-02-15T21:35:22.2993594Z     self.assertEqual(tensor.grad, cloned1_tensor.grad)

See GitHub Actions build linux-bionic-py3.7-clang9 / test (xla, 1, 1, linux.2xlarge) (3/6)

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

2022-02-15T18:43:04.0956560Z /var/lib/jenkins/w...elu_backward(const at::Tensor&, const at::Tensor&)
2022-02-15T18:43:04.0950507Z  at::Tensor XLANativeFunctions::gelu(const at::Tensor& self,
2022-02-15T18:43:04.0950842Z             ^~~~~~~~~~~~~~~~~~
2022-02-15T18:43:04.0951281Z In file included from /var/lib/jenkins/workspace/xla/torch_xla/csrc/aten_xla_type.cpp:13:0:
2022-02-15T18:43:04.0951948Z /var/lib/jenkins/workspace/xla/torch_xla/csrc/XLANativeFunctions.h:182:19: error: candidate is: static at::Tensor torch_xla::XLANativeFunctions::gelu(const at::Tensor&)
2022-02-15T18:43:04.0952528Z  static at::Tensor gelu(const at::Tensor & self);
2022-02-15T18:43:04.0952848Z                    ^~~~
2022-02-15T18:43:04.0953913Z /var/lib/jenkins/workspace/xla/torch_xla/csrc/aten_xla_type.cpp:1516:12: error: prototype for ‘at::Tensor torch_xla::XLANativeFunctions::gelu_backward(const at::Tensor&, const at::Tensor&, c10::string_view)’ does not match any in class ‘torch_xla::XLANativeFunctions’
2022-02-15T18:43:04.0954688Z  at::Tensor XLANativeFunctions::gelu_backward(const at::Tensor& grad,
2022-02-15T18:43:04.0955037Z             ^~~~~~~~~~~~~~~~~~
2022-02-15T18:43:04.0955445Z In file included from /var/lib/jenkins/workspace/xla/torch_xla/csrc/aten_xla_type.cpp:13:0:
2022-02-15T18:43:04.0956560Z /var/lib/jenkins/workspace/xla/torch_xla/csrc/XLANativeFunctions.h:183:19: error: candidate is: static at::Tensor torch_xla::XLANativeFunctions::gelu_backward(const at::Tensor&, const at::Tensor&)
2022-02-15T18:43:04.0957232Z  static at::Tensor gelu_backward(const at::Tensor & grad, const at::Tensor & self);
2022-02-15T18:43:04.0957741Z                    ^~~~~~~~~~~~~
2022-02-15T18:43:09.6248341Z [33/179] c++ -MMD -MF /var/lib/jenkins/workspace/xla/build/temp.linux-x86_64-3.7/torch_xla/csrc/aten_autograd_ops.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/var/lib/jenkins/workspace/xla -I/var/lib/jenkins/workspace/xla/third_party/tensorflow/bazel-tensorflow -I/var/lib/jenkins/workspace/xla/third_party/tensorflow/bazel-bin -I/var/lib/jenkins/workspace/xla/third_party/tensorflow/bazel-tensorflow/external/protobuf_archive/src -I/var/lib/jenkins/workspace/xla/third_party/tensorflow/bazel-tensorflow/external/com_google_protobuf/src -I/var/lib/jenkins/workspace/xla/third_party/tensorflow/bazel-tensorflow/external/eigen_archive -I/var/lib/jenkins/workspace/xla/third_party/tensorflow/bazel-tensorflow/external/com_google_absl -I/var/lib/jenkins/workspace -I/var/lib/jenkins/workspace/torch/csrc -I/var/lib/jenkins/workspace/torch/lib/tmp_install/include -I/opt/conda/lib/python3.7/site-packages/torch/include -I/opt/conda/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.7/site-packages/torch/include/TH -I/opt/conda/lib/python3.7/site-packages/torch/include/THC -I/opt/conda/include/python3.7m -c -c /var/lib/jenkins/workspace/xla/torch_xla/csrc/aten_autograd_ops.cpp -o /var/lib/jenkins/workspace/xla/build/temp.linux-x86_64-3.7/torch_xla/csrc/aten_autograd_ops.o -std=c++14 -Wno-sign-compare -Wno-deprecated-declarations -Wno-return-type -DNDEBUG -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_clang"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1002"' -DTORCH_EXTENSION_NAME=_XLAC -D_GLIBCXX_USE_CXX11_ABI=1
2022-02-15T18:43:09.6252747Z cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
2022-02-15T18:43:09.6253636Z In file included from /var/lib/jenkins/workspace/xla/third_party/tensorflow/bazel-tensorflow/tensorflow/core/platform/logging.h:27:0,
2022-02-15T18:43:09.6254500Z                  from /var/lib/jenkins/workspace/xla/third_party/tensorflow/bazel-tensorflow/tensorflow/core/platform/status.h:27,
2022-02-15T18:43:09.6255367Z                  from /var/lib/jenkins/workspace/xla/third_party/tensorflow/bazel-tensorflow/tensorflow/core/lib/core/status.h:19,
2022-02-15T18:43:09.6256208Z                  from /var/lib/jenkins/workspace/xla/third_party/tensorflow/bazel-tensorflow/tensorflow/compiler/xla/status.h:19,
2022-02-15T18:43:09.6257117Z                  from /var/lib/jenkins/workspace/xla/third_party/tensorflow/bazel-tensorflow/tensorflow/compiler/xla/xla_client/util.h:18,
2022-02-15T18:43:09.6257733Z                  from /var/lib/jenkins/workspace/xla/torch_xla/csrc/device.h:6,

See GitHub Actions build win-vs2019-cuda11.3-py3 / test (force_on_cpu, 1, 1, windows.4xlarge) (4/6)

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

2022-02-15T21:18:41.1584589Z FAIL [0.000s]: tes...eg_view_cat_cpu_float64 (__main__.TestMathBitsCPU)
2022-02-15T21:18:41.1580403Z   File "C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\build\torch\testing\_comparison.py", line 1081, in assert_equal
2022-02-15T21:18:41.1581087Z     raise error_metas[0].to_error()
2022-02-15T21:18:41.1581552Z AssertionError: Tensor-likes are not close!
2022-02-15T21:18:41.1581849Z 
2022-02-15T21:18:41.1582162Z Mismatched elements: 1 / 1 (100.0%)
2022-02-15T21:18:41.1582655Z Greatest absolute difference: 1.0 at index 0 (up to 1e-05 allowed)
2022-02-15T21:18:41.1583354Z Greatest relative difference: 1.0 at index 0 (up to 1.3e-06 allowed)
2022-02-15T21:18:41.1583696Z 
2022-02-15T21:18:41.1583861Z 
2022-02-15T21:18:41.1584125Z ======================================================================
2022-02-15T21:18:41.1584589Z FAIL [0.000s]: test_neg_view_cat_cpu_float64 (__main__.TestMathBitsCPU)
2022-02-15T21:18:41.1585151Z ----------------------------------------------------------------------
2022-02-15T21:18:41.1585592Z Traceback (most recent call last):
2022-02-15T21:18:41.1586403Z   File "C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\build\torch\testing\_internal\common_device_type.py", line 376, in instantiated_test
2022-02-15T21:18:41.1587129Z     result = test(self, **param_kwargs)
2022-02-15T21:18:41.1587876Z   File "C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\build\torch\testing\_internal\common_device_type.py", line 761, in test_wrapper
2022-02-15T21:18:41.1588571Z     return test(*args, **kwargs)
2022-02-15T21:18:41.1589026Z   File "test_ops.py", line 1291, in test_neg_view
2022-02-15T21:18:41.1589595Z     self._test_math_view(device, dtype, op, samples, math_op_physical, math_op_view, is_bit_set,
2022-02-15T21:18:41.1590214Z   File "test_ops.py", line 1260, in _test_math_view
2022-02-15T21:18:41.1590740Z     self.assertEqual(tensor.grad, cloned1_tensor.grad)

See GitHub Actions build linux-bionic-py3.7-clang9 / test (noarch, 1, 1, linux.2xlarge) (5/6)

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

2022-02-15T19:11:47.7591805Z FAIL [0.006s]: tes...eg_view_cat_cpu_float64 (__main__.TestMathBitsCPU)
2022-02-15T19:11:47.7589866Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_comparison.py", line 1081, in assert_equal
2022-02-15T19:11:47.7590152Z     raise error_metas[0].to_error()
2022-02-15T19:11:47.7590430Z AssertionError: Tensor-likes are not close!
2022-02-15T19:11:47.7590560Z 
2022-02-15T19:11:47.7590650Z Mismatched elements: 1 / 1 (100.0%)
2022-02-15T19:11:47.7590958Z Greatest absolute difference: 1.0 at index 0 (up to 1e-05 allowed)
2022-02-15T19:11:47.7591291Z Greatest relative difference: 1.0 at index 0 (up to 1.3e-06 allowed)
2022-02-15T19:11:47.7591453Z 
2022-02-15T19:11:47.7591458Z 
2022-02-15T19:11:47.7591551Z ======================================================================
2022-02-15T19:11:47.7591805Z FAIL [0.006s]: test_neg_view_cat_cpu_float64 (__main__.TestMathBitsCPU)
2022-02-15T19:11:47.7592151Z ----------------------------------------------------------------------
2022-02-15T19:11:47.7592411Z Traceback (most recent call last):
2022-02-15T19:11:47.7592816Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_internal/common_device_type.py", line 376, in instantiated_test
2022-02-15T19:11:47.7593129Z     result = test(self, **param_kwargs)
2022-02-15T19:11:47.7593533Z   File "/opt/conda/lib/python3.7/site-packages/torch/testing/_internal/common_device_type.py", line 761, in test_wrapper
2022-02-15T19:11:47.7593819Z     return test(*args, **kwargs)
2022-02-15T19:11:47.7594043Z   File "test_ops.py", line 1292, in test_neg_view
2022-02-15T19:11:47.7594238Z     lambda x: True)
2022-02-15T19:11:47.7594453Z   File "test_ops.py", line 1260, in _test_math_view
2022-02-15T19:11:47.7594715Z     self.assertEqual(tensor.grad, cloned1_tensor.grad)

See GitHub Actions build win-vs2019-cpu-py3 / test (default, 2, 2, windows.4xlarge) (6/6)

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

2022-02-15T20:08:08.4477141Z FAIL [0.001s]: tes...eg_view_cat_cpu_float64 (__main__.TestMathBitsCPU)
2022-02-15T20:08:08.4472422Z   File "C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\build\torch\testing\_comparison.py", line 1081, in assert_equal
2022-02-15T20:08:08.4473162Z     raise error_metas[0].to_error()
2022-02-15T20:08:08.4473609Z AssertionError: Tensor-likes are not close!
2022-02-15T20:08:08.4473920Z 
2022-02-15T20:08:08.4474220Z Mismatched elements: 1 / 1 (100.0%)
2022-02-15T20:08:08.4475308Z Greatest absolute difference: 1.0 at index 0 (up to 1e-05 allowed)
2022-02-15T20:08:08.4475912Z Greatest relative difference: 1.0 at index 0 (up to 1.3e-06 allowed)
2022-02-15T20:08:08.4476235Z 
2022-02-15T20:08:08.4476402Z 
2022-02-15T20:08:08.4476685Z ======================================================================
2022-02-15T20:08:08.4477141Z FAIL [0.001s]: test_neg_view_cat_cpu_float64 (__main__.TestMathBitsCPU)
2022-02-15T20:08:08.4477696Z ----------------------------------------------------------------------
2022-02-15T20:08:08.4478214Z Traceback (most recent call last):
2022-02-15T20:08:08.4479012Z   File "C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\build\torch\testing\_internal\common_device_type.py", line 376, in instantiated_test
2022-02-15T20:08:08.4479739Z     result = test(self, **param_kwargs)
2022-02-15T20:08:08.4480503Z   File "C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\build\torch\testing\_internal\common_device_type.py", line 761, in test_wrapper
2022-02-15T20:08:08.4481168Z     return test(*args, **kwargs)
2022-02-15T20:08:08.4481618Z   File "test_ops.py", line 1291, in test_neg_view
2022-02-15T20:08:08.4482206Z     self._test_math_view(device, dtype, op, samples, math_op_physical, math_op_view, is_bit_set,
2022-02-15T20:08:08.4482935Z   File "test_ops.py", line 1260, in _test_math_view
2022-02-15T20:08:08.4483478Z     self.assertEqual(tensor.grad, cloned1_tensor.grad)

🚧 5 fixed upstream failures:

These were probably caused by upstream breakages that were already fixed.

Please rebase on the viable/strict branch (expand for instructions)

If your commit is older than viable/strict, run these commands:

git fetch https://github.com/pytorch/pytorch viable/strict
git rebase FETCH_HEAD

This comment was automatically generated by Dr. CI (expand for details).

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

Click here to manually regenerate this comment.

H-Huang added a commit that referenced this issue Feb 15, 2022
ghstack-source-id: ff7a534386902cb50b08307c7bc495c6e52c0992
Pull Request resolved: #72864
@H-Huang
Copy link
Member Author

@H-Huang H-Huang commented Feb 15, 2022

@H-Huang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Fixes #72860

Differential Revision: [D34246987](https://our.internmc.facebook.com/intern/diff/D34246987)

[ghstack-poisoned]
H-Huang added a commit that referenced this issue Feb 15, 2022
ghstack-source-id: a1c8614c6cc2f8aee0f3284b5e6b8236958be034
Pull Request resolved: #72864
@H-Huang
Copy link
Member Author

@H-Huang H-Huang commented Feb 15, 2022

@H-Huang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants