Skip to content

Conversation

@Freey0
Copy link
Contributor

@Freey0 Freey0 commented May 5, 2021

Stack from ghstack:

Differential Revision: D28224831

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented May 5, 2021

💊 CI failures summary and remediations

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


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

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.

Click here to manually regenerate this comment.

Freey0 added a commit that referenced this pull request May 5, 2021
ghstack-source-id: c279e97
Pull Request resolved: #57630
@ezyang
Copy link
Contributor

ezyang commented May 5, 2021

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

@ezyang
Copy link
Contributor

ezyang commented May 5, 2021


May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex128_bfloat16 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex128_bool (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex128_complex128 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex128_complex64 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex128_float16 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.003s]: test_maximum_minimum_complex_meta_complex128_float32 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex128_float64 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex128_int16 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex128_int32 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex128_int64 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex128_int8 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex128_uint8 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex64_bfloat16 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex64_bool (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex64_complex128 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex64_complex64 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex64_float16 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex64_float32 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex64_float64 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex64_int16 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex64_int32 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex64_int64 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex64_int8 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised
May 05 16:11:35 
May 05 16:11:35 ======================================================================
May 05 16:11:35 FAIL [0.002s]: test_maximum_minimum_complex_meta_complex64_uint8 (__main__.TestBinaryUfuncsMETA)
May 05 16:11:35 ----------------------------------------------------------------------
May 05 16:11:35 Traceback (most recent call last):
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1030, in wrapper
May 05 16:11:35     method(*args, **kwargs)
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_device_type.py", line 292, in instantiated_test
May 05 16:11:35     result = test_fn(self, *args)
May 05 16:11:35   File "test_binary_ufuncs.py", line 1311, in test_maximum_minimum_complex
May 05 16:11:35     torch.ones(1, device=device, dtype=dtypes[1]))
May 05 16:11:35   File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 938, in __exit__
May 05 16:11:35     return super().__exit__(exc_type, exc_value, tb)
May 05 16:11:35 AssertionError: RuntimeError not raised

Freey0 added a commit that referenced this pull request May 6, 2021
ghstack-source-id: df442ca
Pull Request resolved: #57630
@ezyang
Copy link
Contributor

ezyang commented May 6, 2021

I'm not convinced by the new change. How come it wasn't necessary to test if it was complex in the old version of the code?

@ezyang
Copy link
Contributor

ezyang commented May 6, 2021

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

@facebook-github-bot
Copy link
Contributor

@ezyang merged this pull request in 4d181ba.

@Freey0
Copy link
Contributor Author

Freey0 commented May 11, 2021

I'm not convinced by the new change. How come it wasn't necessary to test if it was complex in the old version of the code?

Sorry for the late reply.

Older versions of the code did not need this because it skipped the meta-test. The meta-test was performed after porting to the structured kernel

test_maximum_minimum_complex_meta_complex128_bfloat16 (__main__.TestBinaryUfuncsMETA) ... skipped "not_implemented: Could not run 'aten::maximum' with arguments from the 'Meta' backend.

@facebook-github-bot facebook-github-bot deleted the gh/Feey0/15/head branch May 14, 2021 14:15
krshrimali pushed a commit to krshrimali/pytorch that referenced this pull request May 19, 2021
Summary: Pull Request resolved: pytorch#57630

Test Plan: Imported from OSS

Reviewed By: VitalyFedyunin

Differential Revision: D28224831

Pulled By: ezyang

fbshipit-source-id: de4c40560613b68473aa53bb7424476dc558a6b2
@bdhirsh bdhirsh changed the title Port maximum and minimum to structured maximum and minimum: port to structured May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants