Skip to content

Conversation

@IvanYashchuk
Copy link
Collaborator

This PR moves the SciPy function import under the if TEST_SCIPY block.

@IvanYashchuk IvanYashchuk added module: tests Issues related to tests (not the torch.testing module) module: linear algebra Issues related to specialized linear algebra operations in PyTorch; includes matrix multiply matmul topic: not user facing topic category labels May 2, 2022
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented May 2, 2022

🔗 Helpful links

💊 CI failures summary and remediations

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

Expand to see more
  • 10/10 failures introduced in this PR

🕵️ 10 new failures recognized by patterns

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

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

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

2022-05-02T15:40:32.0136454Z RuntimeError: test_decomp failed!
2022-05-02T15:40:31.1351885Z Executing ['C:\\Jenkins\\Miniconda3\\python.exe', 'test_decomp.py', '-v', '--import-slow-tests', '--import-disabled-tests'] ... [2022-05-02 15:40:31.120557]
2022-05-02T15:40:31.9145772Z Traceback (most recent call last):
2022-05-02T15:40:31.9146158Z   File "test_decomp.py", line 6, in <module>
2022-05-02T15:40:31.9146462Z     from torch.utils._python_dispatch import enable_python_mode
2022-05-02T15:40:31.9146955Z ImportError: cannot import name 'enable_python_mode' from 'torch.utils._python_dispatch' (C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\build\torch\utils\_python_dispatch.py)
2022-05-02T15:40:32.0135195Z Traceback (most recent call last):
2022-05-02T15:40:32.0135542Z   File "run_test.py", line 1063, in <module>
2022-05-02T15:40:32.0135742Z     main()
2022-05-02T15:40:32.0135976Z   File "run_test.py", line 1041, in main
2022-05-02T15:40:32.0136227Z     raise RuntimeError(err_message)
2022-05-02T15:40:32.0136454Z RuntimeError: test_decomp failed!
2022-05-02T15:40:32.2509408Z 
2022-05-02T15:40:32.2510038Z (base) C:\actions-runner\_work\pytorch\pytorch\test>popd
2022-05-02T15:40:32.2514290Z 
2022-05-02T15:40:32.2514634Z (base) C:\actions-runner\_work\pytorch\pytorch>if ERRORLEVEL 1 exit /b 1 
2022-05-02T15:40:32.2540151Z + cleanup
2022-05-02T15:40:32.2540412Z + retcode=1
2022-05-02T15:40:32.2540735Z + set +x
2022-05-02T15:40:32.2572065Z ##[error]Process completed with exit code 1.
2022-05-02T15:40:32.3089650Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-05-02T15:40:32.3089971Z with:

See GitHub Actions build pull / linux-xenial-py3.7-gcc5.4 / test (default, 2, 2, linux.2xlarge) (2/10)

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

2022-05-02T14:49:08.2253216Z RuntimeError: test_decomp failed!
2022-05-02T14:49:07.6307317Z Executing ['/opt/conda/bin/python', 'test_decomp.py', '-v', '--import-slow-tests', '--import-disabled-tests'] ... [2022-05-02 14:49:07.630370]
2022-05-02T14:49:08.1359850Z Traceback (most recent call last):
2022-05-02T14:49:08.1360178Z   File "test_decomp.py", line 6, in <module>
2022-05-02T14:49:08.1360497Z     from torch.utils._python_dispatch import enable_python_mode
2022-05-02T14:49:08.1361179Z ImportError: cannot import name 'enable_python_mode' from 'torch.utils._python_dispatch' (/opt/conda/lib/python3.7/site-packages/torch/utils/_python_dispatch.py)
2022-05-02T14:49:08.2247027Z Traceback (most recent call last):
2022-05-02T14:49:08.2247458Z   File "test/run_test.py", line 1063, in <module>
2022-05-02T14:49:08.2250158Z     main()
2022-05-02T14:49:08.2250516Z   File "test/run_test.py", line 1041, in main
2022-05-02T14:49:08.2252857Z     raise RuntimeError(err_message)
2022-05-02T14:49:08.2253216Z RuntimeError: test_decomp failed!
2022-05-02T14:49:08.4795785Z + cleanup
2022-05-02T14:49:08.4796008Z + retcode=1
2022-05-02T14:49:08.4824302Z + set +x
2022-05-02T14:49:08.4829360Z ##[error]Process completed with exit code 1.
2022-05-02T14:49:08.4874859Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-05-02T14:49:08.4875098Z with:
2022-05-02T14:49:08.4875704Z   github-token: ***
2022-05-02T14:49:08.4875884Z env:
2022-05-02T14:49:08.4876027Z   IN_CI: 1
2022-05-02T14:49:08.4876191Z   IS_GHA: 1

See GitHub Actions build pull / linux-bionic-py3.7-clang9 / test (default, 2, 2, linux.2xlarge) (3/10)

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

2022-05-02T14:54:38.4881972Z RuntimeError: test_decomp failed!
2022-05-02T14:54:37.9225027Z Executing ['/opt/conda/bin/python', 'test_decomp.py', '-v', '--import-slow-tests', '--import-disabled-tests'] ... [2022-05-02 14:54:37.922150]
2022-05-02T14:54:38.4038914Z Traceback (most recent call last):
2022-05-02T14:54:38.4039391Z   File "test_decomp.py", line 6, in <module>
2022-05-02T14:54:38.4039854Z     from torch.utils._python_dispatch import enable_python_mode
2022-05-02T14:54:38.4040637Z ImportError: cannot import name 'enable_python_mode' from 'torch.utils._python_dispatch' (/opt/conda/lib/python3.7/site-packages/torch/utils/_python_dispatch.py)
2022-05-02T14:54:38.4877376Z Traceback (most recent call last):
2022-05-02T14:54:38.4877827Z   File "test/run_test.py", line 1063, in <module>
2022-05-02T14:54:38.4879146Z     main()
2022-05-02T14:54:38.4879494Z   File "test/run_test.py", line 1041, in main
2022-05-02T14:54:38.4881559Z     raise RuntimeError(err_message)
2022-05-02T14:54:38.4881972Z RuntimeError: test_decomp failed!
2022-05-02T14:54:38.7190042Z 
2022-05-02T14:54:38.7190394Z real	42m49.683s
2022-05-02T14:54:38.7190736Z user	96m27.095s
2022-05-02T14:54:38.7191053Z sys	4m12.620s
2022-05-02T14:54:38.7191552Z + cleanup
2022-05-02T14:54:38.7191723Z + retcode=1
2022-05-02T14:54:38.7191871Z + set +x
2022-05-02T14:54:38.7223939Z ##[error]Process completed with exit code 1.
2022-05-02T14:54:38.7269088Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-05-02T14:54:38.7269343Z with:

See GitHub Actions build pull / linux-xenial-py3.7-gcc7 / test (default, 1, 2, linux.2xlarge) (4/10)

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

2022-05-02T14:52:13.5830424Z RuntimeError: test_decomp failed!
2022-05-02T14:52:12.9484664Z Executing ['/opt/conda/bin/python', 'test_decomp.py', '-v', '--import-slow-tests', '--import-disabled-tests'] ... [2022-05-02 14:52:12.948079]
2022-05-02T14:52:13.4948296Z Traceback (most recent call last):
2022-05-02T14:52:13.4948733Z   File "test_decomp.py", line 6, in <module>
2022-05-02T14:52:13.4949008Z     from torch.utils._python_dispatch import enable_python_mode
2022-05-02T14:52:13.4949658Z ImportError: cannot import name 'enable_python_mode' from 'torch.utils._python_dispatch' (/opt/conda/lib/python3.7/site-packages/torch/utils/_python_dispatch.py)
2022-05-02T14:52:13.5825460Z Traceback (most recent call last):
2022-05-02T14:52:13.5825831Z   File "test/run_test.py", line 1063, in <module>
2022-05-02T14:52:13.5827608Z     main()
2022-05-02T14:52:13.5828007Z   File "test/run_test.py", line 1041, in main
2022-05-02T14:52:13.5829885Z     raise RuntimeError(err_message)
2022-05-02T14:52:13.5830424Z RuntimeError: test_decomp failed!
2022-05-02T14:52:13.8122833Z + cleanup
2022-05-02T14:52:13.8123054Z + retcode=1
2022-05-02T14:52:13.8123231Z + set +x
2022-05-02T14:52:13.8156352Z ##[error]Process completed with exit code 1.
2022-05-02T14:52:13.8214641Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-05-02T14:52:13.8214995Z with:
2022-05-02T14:52:13.8215449Z   github-token: ***
2022-05-02T14:52:13.8215632Z env:
2022-05-02T14:52:13.8215782Z   IN_CI: 1
2022-05-02T14:52:13.8215953Z   IS_GHA: 1

See GitHub Actions build pull / linux-xenial-cuda11.3-py3.7-gcc7 / test (default, 1, 2, linux.4xlarge.nvidia.gpu) (5/10)

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

2022-05-02T16:39:26.2052862Z RuntimeError: test_decomp failed!
2022-05-02T16:39:25.3300455Z Executing ['/opt/conda/bin/python', 'test_decomp.py', '-v', '--import-slow-tests', '--import-disabled-tests'] ... [2022-05-02 16:39:25.329551]
2022-05-02T16:39:26.1083949Z Traceback (most recent call last):
2022-05-02T16:39:26.1084333Z   File "test_decomp.py", line 6, in <module>
2022-05-02T16:39:26.1084688Z     from torch.utils._python_dispatch import enable_python_mode
2022-05-02T16:39:26.1085484Z ImportError: cannot import name 'enable_python_mode' from 'torch.utils._python_dispatch' (/opt/conda/lib/python3.7/site-packages/torch/utils/_python_dispatch.py)
2022-05-02T16:39:26.2044827Z Traceback (most recent call last):
2022-05-02T16:39:26.2045205Z   File "test/run_test.py", line 1063, in <module>
2022-05-02T16:39:26.2048595Z     main()
2022-05-02T16:39:26.2049190Z   File "test/run_test.py", line 1041, in main
2022-05-02T16:39:26.2052327Z     raise RuntimeError(err_message)
2022-05-02T16:39:26.2052862Z RuntimeError: test_decomp failed!
2022-05-02T16:39:26.7203234Z + cleanup
2022-05-02T16:39:26.7203500Z + retcode=1
2022-05-02T16:39:26.7204204Z + set +x
2022-05-02T16:39:26.7249015Z ##[error]Process completed with exit code 1.
2022-05-02T16:39:26.7295964Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-05-02T16:39:26.7296309Z with:
2022-05-02T16:39:26.7296865Z   github-token: ***
2022-05-02T16:39:26.7297109Z env:
2022-05-02T16:39:26.7297328Z   IN_CI: 1
2022-05-02T16:39:26.7297537Z   IS_GHA: 1

See GitHub Actions build pull / linux-bionic-py3.7-clang9 / test (crossref, 2, 2, linux.2xlarge) (6/10)

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

2022-05-02T15:21:00.5596228Z RuntimeError: test_decomp failed!
2022-05-02T15:21:00.0020255Z Executing ['/opt/conda/bin/python', 'test_decomp.py', '-v', '--import-slow-tests', '--import-disabled-tests'] ... [2022-05-02 15:21:00.001670]
2022-05-02T15:21:00.4798585Z Traceback (most recent call last):
2022-05-02T15:21:00.4799047Z   File "test_decomp.py", line 6, in <module>
2022-05-02T15:21:00.4799323Z     from torch.utils._python_dispatch import enable_python_mode
2022-05-02T15:21:00.4799938Z ImportError: cannot import name 'enable_python_mode' from 'torch.utils._python_dispatch' (/opt/conda/lib/python3.7/site-packages/torch/utils/_python_dispatch.py)
2022-05-02T15:21:00.5591729Z Traceback (most recent call last):
2022-05-02T15:21:00.5592147Z   File "test/run_test.py", line 1063, in <module>
2022-05-02T15:21:00.5593736Z     main()
2022-05-02T15:21:00.5594091Z   File "test/run_test.py", line 1041, in main
2022-05-02T15:21:00.5595816Z     raise RuntimeError(err_message)
2022-05-02T15:21:00.5596228Z RuntimeError: test_decomp failed!
2022-05-02T15:21:00.7622071Z 
2022-05-02T15:21:00.7622442Z real	69m17.428s
2022-05-02T15:21:00.7622812Z user	159m0.930s
2022-05-02T15:21:00.7623068Z sys	5m56.205s
2022-05-02T15:21:00.7623224Z + cleanup
2022-05-02T15:21:00.7623382Z + retcode=1
2022-05-02T15:21:00.7623816Z + set +x
2022-05-02T15:21:00.7657835Z ##[error]Process completed with exit code 1.
2022-05-02T15:21:00.7699908Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-05-02T15:21:00.7700141Z with:

See GitHub Actions build pull / win-vs2019-cuda11.3-py3 / test (default, 2, 2, windows.8xlarge.nvidia.gpu) (7/10)

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

2022-05-02T17:29:12.4870156Z RuntimeError: test_decomp failed!
2022-05-02T17:29:11.1668370Z Executing ['C:\\Jenkins\\Miniconda3\\python.exe', 'test_decomp.py', '-v', '--import-slow-tests', '--import-disabled-tests'] ... [2022-05-02 17:29:11.164607]
2022-05-02T17:29:12.3524020Z Traceback (most recent call last):
2022-05-02T17:29:12.3524479Z   File "test_decomp.py", line 6, in <module>
2022-05-02T17:29:12.3524884Z     from torch.utils._python_dispatch import enable_python_mode
2022-05-02T17:29:12.3525498Z ImportError: cannot import name 'enable_python_mode' from 'torch.utils._python_dispatch' (C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\build\torch\utils\_python_dispatch.py)
2022-05-02T17:29:12.4868252Z Traceback (most recent call last):
2022-05-02T17:29:12.4868753Z   File "run_test.py", line 1063, in <module>
2022-05-02T17:29:12.4869002Z     main()
2022-05-02T17:29:12.4869283Z   File "run_test.py", line 1041, in main
2022-05-02T17:29:12.4869598Z     raise RuntimeError(err_message)
2022-05-02T17:29:12.4870156Z RuntimeError: test_decomp failed!
2022-05-02T17:29:12.8624945Z 
2022-05-02T17:29:12.8625701Z (base) C:\actions-runner\_work\pytorch\pytorch\test>popd
2022-05-02T17:29:12.8632132Z 
2022-05-02T17:29:12.8632556Z (base) C:\actions-runner\_work\pytorch\pytorch>if ERRORLEVEL 1 exit /b 1 
2022-05-02T17:29:12.8665317Z + cleanup
2022-05-02T17:29:12.8665926Z + retcode=1
2022-05-02T17:29:12.8667422Z + set +x
2022-05-02T17:29:12.8706885Z ##[error]Process completed with exit code 1.
2022-05-02T17:29:12.9620182Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-05-02T17:29:12.9620563Z with:

See GitHub Actions build pull / linux-xenial-py3.7-clang7-asan / test (default, 2, 4, linux.2xlarge) (8/10)

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

2022-05-02T15:39:52.6836055Z RuntimeError: test_decomp failed!
2022-05-02T15:39:50.5476529Z Executing ['/opt/conda/bin/python', 'test_decomp.py', '-v', '--import-slow-tests', '--import-disabled-tests'] ... [2022-05-02 15:39:50.547258]
2022-05-02T15:39:52.4046816Z Traceback (most recent call last):
2022-05-02T15:39:52.4047112Z   File "test_decomp.py", line 6, in <module>
2022-05-02T15:39:52.4047480Z     from torch.utils._python_dispatch import enable_python_mode
2022-05-02T15:39:52.4048214Z ImportError: cannot import name 'enable_python_mode' from 'torch.utils._python_dispatch' (/opt/conda/lib/python3.7/site-packages/torch/utils/_python_dispatch.py)
2022-05-02T15:39:52.6828218Z Traceback (most recent call last):
2022-05-02T15:39:52.6828495Z   File "test/run_test.py", line 1063, in <module>
2022-05-02T15:39:52.6832313Z     main()
2022-05-02T15:39:52.6832572Z   File "test/run_test.py", line 1041, in main
2022-05-02T15:39:52.6835820Z     raise RuntimeError(err_message)
2022-05-02T15:39:52.6836055Z RuntimeError: test_decomp failed!
2022-05-02T15:39:53.1834551Z + cleanup
2022-05-02T15:39:53.1834762Z + retcode=1
2022-05-02T15:39:53.1834978Z + set +x
2022-05-02T15:39:53.1868950Z ##[error]Process completed with exit code 1.
2022-05-02T15:39:53.1967775Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-05-02T15:39:53.1968024Z with:
2022-05-02T15:39:53.1968445Z   github-token: ***
2022-05-02T15:39:53.1968624Z env:
2022-05-02T15:39:53.1968771Z   IN_CI: 1
2022-05-02T15:39:53.1968939Z   IS_GHA: 1

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

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

2022-05-02T15:28:38.8727382Z RuntimeError: test_decomp failed!
2022-05-02T15:28:37.9990214Z Executing ['C:\\Jenkins\\Miniconda3\\python.exe', 'test_decomp.py', '-v', '--import-slow-tests', '--import-disabled-tests'] ... [2022-05-02 15:28:37.996670]
2022-05-02T15:28:38.7692256Z Traceback (most recent call last):
2022-05-02T15:28:38.7692770Z   File "test_decomp.py", line 6, in <module>
2022-05-02T15:28:38.7693087Z     from torch.utils._python_dispatch import enable_python_mode
2022-05-02T15:28:38.7693556Z ImportError: cannot import name 'enable_python_mode' from 'torch.utils._python_dispatch' (C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\build\torch\utils\_python_dispatch.py)
2022-05-02T15:28:38.8726129Z Traceback (most recent call last):
2022-05-02T15:28:38.8726497Z   File "run_test.py", line 1063, in <module>
2022-05-02T15:28:38.8726708Z     main()
2022-05-02T15:28:38.8726909Z   File "run_test.py", line 1041, in main
2022-05-02T15:28:38.8727157Z     raise RuntimeError(err_message)
2022-05-02T15:28:38.8727382Z RuntimeError: test_decomp failed!
2022-05-02T15:28:39.0985141Z 
2022-05-02T15:28:39.0985622Z (base) C:\actions-runner\_work\pytorch\pytorch\test>popd
2022-05-02T15:28:39.0989780Z 
2022-05-02T15:28:39.0990003Z (base) C:\actions-runner\_work\pytorch\pytorch>if ERRORLEVEL 1 exit /b 1 
2022-05-02T15:28:39.1014945Z + cleanup
2022-05-02T15:28:39.1015146Z + retcode=1
2022-05-02T15:28:39.1015310Z + set +x
2022-05-02T15:28:39.1047692Z ##[error]Process completed with exit code 1.
2022-05-02T15:28:39.1536163Z ##[group]Run pytorch/pytorch/.github/actions/get-workflow-job-id@master
2022-05-02T15:28:39.1536479Z with:

See GitHub Actions build pull / linux-bionic-rocm5.1-py3.7 / test (default, 1, 2, linux.rocm.gpu) (10/10)

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

2022-05-02T16:43:16.5011249Z AssertionError: can only test a child process
2022-05-02T16:43:16.4984715Z   File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1370, in _shutdown_workers
2022-05-02T16:43:16.5000313Z     self._shutdown_workers()
2022-05-02T16:43:16.5002228Z   File "/opt/conda/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1370, in _shutdown_workers
2022-05-02T16:43:16.5003197Z     if w.is_alive():
2022-05-02T16:43:16.5004079Z   File "/opt/conda/lib/python3.7/multiprocessing/process.py", line 151, in is_alive
2022-05-02T16:43:16.5006321Z     assert self._parent_pid == os.getpid(), 'can only test a child process'
2022-05-02T16:43:16.5007278Z AssertionError: can only test a child process
2022-05-02T16:43:16.5007979Z     if w.is_alive():
2022-05-02T16:43:16.5008837Z   File "/opt/conda/lib/python3.7/multiprocessing/process.py", line 151, in is_alive
2022-05-02T16:43:16.5010323Z     assert self._parent_pid == os.getpid(), 'can only test a child process'
2022-05-02T16:43:16.5011249Z AssertionError: can only test a child process
2022-05-02T16:43:16.5353754Z ok (0.058s)
2022-05-02T16:43:16.5384302Z   test_multiple_dataloaders (__main__.TestDataLoaderPersistentWorkers) ... skip: Test is disabled because an issue exists disabling it: https://github.com/pytorch/pytorch/issues/74598 for allplatform(s) . If you're seeing this on your local machine and would like to enable this test, please make sure IN_CI is not set and you are not using the flag --import-disabled-tests. (0.002s)
2022-05-02T16:43:18.5864427Z   test_multiprocessing_contexts (__main__.TestDataLoaderPersistentWorkers) ... [W CudaIPCTypes.cpp:15] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]
2022-05-02T16:43:18.5891452Z [W CudaIPCTypes.cpp:15] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]
2022-05-02T16:43:18.5937322Z [W CudaIPCTypes.cpp:15] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]
2022-05-02T16:43:21.9802437Z [W CudaIPCTypes.cpp:15] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]
2022-05-02T16:43:22.0205748Z [W CudaIPCTypes.cpp:15] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]
2022-05-02T16:43:22.1640468Z [W CudaIPCTypes.cpp:15] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]
2022-05-02T16:43:27.0733112Z ok (10.534s)
2022-05-02T16:43:27.0780931Z   test_multiprocessing_iterdatapipe (__main__.TestDataLoaderPersistentWorkers) ... skip: Test is disabled because an issue exists disabling it: https://github.com/pytorch/pytorch/issues/74498 for allplatform(s) . If you're seeing this on your local machine and would like to enable this test, please make sure IN_CI is not set and you are not using the flag --import-disabled-tests. (0.005s)

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.

@IvanYashchuk
Copy link
Collaborator Author

@pytorchbot merge this

@IvanYashchuk IvanYashchuk deleted the ldl-missing-scipy-skip branch May 2, 2022 14:05
@IvanYashchuk IvanYashchuk removed the request for review from lezcano May 2, 2022 14:05
facebook-github-bot pushed a commit that referenced this pull request May 3, 2022
)

Summary:
This PR moves the SciPy function import under the `if TEST_SCIPY` block.

Pull Request resolved: #76657
Approved by: https://github.com/nikitaved

Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/23dcbe3fed85bc599030895d61960fe5680209e0

Reviewed By: malfet

Differential Revision: D36073487

fbshipit-source-id: b37cd548ee33b84c069743a8e52d57e38bd3ec9a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed module: linear algebra Issues related to specialized linear algebra operations in PyTorch; includes matrix multiply matmul module: tests Issues related to tests (not the torch.testing module) open source topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants