Skip to content

Conversation

@IvanYashchuk
Copy link
Collaborator

@IvanYashchuk IvanYashchuk commented Jan 7, 2022

The time has come to remove deprecated linear algebra related functions. This PR removes torch.qr.

Fixes to torch/xla need to be merged before this PR:

cc @jianyuh @nikitaved @pearu @mruberry @walterddr @IvanYashchuk @xwang233 @lezcano

@pytorch-probot
Copy link

pytorch-probot bot commented Jan 7, 2022

CI Flow Status

⚛️ CI Flow

Ruleset - Version: v1
Ruleset - File: https://github.com/IvanYashchuk/pytorch/blob/d47e9d4be2cfa34815d0408da14e0aa6af7b254e/.github/generated-ciflow-ruleset.json
PR ciflow labels: ciflow/cuda,ciflow/all

Workflows Labels (bold enabled) Status
Triggered Workflows
caffe2-linux-xenial-py3.7-gcc5.4 ciflow/all, ciflow/cpu, ciflow/linux, ciflow/trunk ✅ triggered
docker-builds ciflow/all, ciflow/trunk ✅ triggered
ios-12-5-1-arm64 ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk ✅ triggered
ios-12-5-1-arm64-coreml ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk ✅ triggered
ios-12-5-1-arm64-custom-ops ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk ✅ triggered
ios-12-5-1-arm64-full-jit ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk ✅ triggered
ios-12-5-1-arm64-metal ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk ✅ triggered
ios-12-5-1-x86-64 ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk ✅ triggered
ios-12-5-1-x86-64-coreml ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk ✅ triggered
ios-12-5-1-x86-64-full-jit ciflow/all, ciflow/ios, ciflow/macos, ciflow/trunk ✅ triggered
libtorch-linux-xenial-cuda10.2-py3.7-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux, ciflow/trunk ✅ triggered
libtorch-linux-xenial-cuda11.3-py3.7-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux, ciflow/trunk ✅ triggered
linux-bionic-cuda10.2-py3.9-gcc7 ciflow/all, ciflow/cuda, ciflow/linux, ciflow/slow, ciflow/trunk ✅ triggered
linux-bionic-py3.7-clang9 ciflow/all, ciflow/cpu, ciflow/default, ciflow/linux, ciflow/noarch, ciflow/trunk ✅ triggered
linux-docs ciflow/all, ciflow/cpu, ciflow/default, ciflow/docs, ciflow/linux, ciflow/trunk ✅ triggered
linux-docs-push ciflow/all, ciflow/cpu, ciflow/linux, ciflow/scheduled ✅ 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-cuda11.3-py3.7-gcc7-no-ops ciflow/all, ciflow/cuda, 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
macos-10-15-py3-arm64 ciflow/all, ciflow/macos, ciflow/trunk ✅ triggered
macos-10-15-py3-lite-interpreter-x86-64 ciflow/all, ciflow/macos, ciflow/trunk ✅ triggered
macos-11-py3-x86-64 ciflow/all, ciflow/macos, ciflow/trunk ✅ triggered
parallelnative-linux-xenial-py3.7-gcc5.4 ciflow/all, ciflow/cpu, ciflow/linux, ciflow/trunk ✅ triggered
periodic-libtorch-linux-bionic-cuda11.5-py3.7-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux, ciflow/scheduled ✅ triggered
periodic-libtorch-linux-xenial-cuda11.1-py3.7-gcc7 ciflow/all, ciflow/cuda, ciflow/libtorch, ciflow/linux, ciflow/scheduled ✅ triggered
periodic-linux-bionic-cuda11.5-py3.7-gcc7 ciflow/all, ciflow/cuda, ciflow/linux, ciflow/scheduled ✅ triggered
periodic-linux-xenial-cuda10.2-py3-gcc7-slow-gradcheck ciflow/all, ciflow/cuda, ciflow/linux, ciflow/scheduled, ciflow/slow, ciflow/slow-gradcheck ✅ triggered
periodic-linux-xenial-cuda11.1-py3.7-gcc7-debug ciflow/all, ciflow/cuda, ciflow/linux, ciflow/scheduled ✅ triggered
periodic-win-vs2019-cuda11.1-py3 ciflow/all, ciflow/cuda, ciflow/scheduled, ciflow/win ✅ triggered
periodic-win-vs2019-cuda11.5-py3 ciflow/all, ciflow/cuda, ciflow/scheduled, ciflow/win ✅ triggered
pytorch-linux-xenial-py3-clang5-android-ndk-r19c-build ciflow/all, ciflow/android, ciflow/cpu, 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
Skipped Workflows

You can add a comment to the PR and tag @pytorchbot with the following commands:
# ciflow rerun, "ciflow/default" will always be added automatically
@pytorchbot ciflow rerun

# ciflow rerun with additional labels "-l <ciflow/label_name>", which is equivalent to adding these labels manually and trigger the rerun
@pytorchbot ciflow rerun -l ciflow/scheduled -l ciflow/slow

For more information, please take a look at the CI Flow Wiki.

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Jan 7, 2022

🔗 Helpful links

💊 CI failures summary and remediations

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


  • 4/6 failures introduced in this PR
  • 2/6 broken upstream at merge base 89d6f3e on Mar 11 from 4:52am to 5:05am

🕵️ 4 new failures recognized by patterns

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

See GitHub Actions build win-vs2019-cuda11.3-py3 / build (1/4)

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

2022-03-11T15:39:19.1496539Z C:\actions-runner\...zed_test.cpp(34): error C2100: illegal indirection
2022-03-11T15:39:19.1486108Z C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\include\initializer_list(57): note: see declaration of 'std::begin'
2022-03-11T15:39:19.1487108Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C2672: 'end': no matching overloaded function found
2022-03-11T15:39:19.1488212Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C2893: Failed to specialize function template 'unknown-type std::end(_Container &)'
2022-03-11T15:39:19.1489327Z C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\include\xutility(2179): note: see declaration of 'std::end'
2022-03-11T15:39:19.1490285Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): note: With the following template arguments:
2022-03-11T15:39:19.1491183Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): note: '_Container=int'
2022-03-11T15:39:19.1492323Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C2784: 'const _Elem *std::end(std::initializer_list<_Elem>) noexcept': could not deduce template argument for 'std::initializer_list<_Elem>' from 'int'
2022-03-11T15:39:19.1493542Z C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\include\initializer_list(63): note: see declaration of 'std::end'
2022-03-11T15:39:19.1494594Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C3536: '<begin>$L1': cannot be used before it is initialized
2022-03-11T15:39:19.1495593Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C3536: '<end>$L1': cannot be used before it is initialized
2022-03-11T15:39:19.1496539Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C2100: illegal indirection
2022-03-11T15:39:19.1497247Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2022-03-11T15:39:19.1497799Z Copyright (C) Microsoft Corporation.  All rights reserved.
2022-03-11T15:39:19.1498139Z 
2022-03-11T15:39:20.1891288Z [4424/6220] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_StreamGuard_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_StreamGuard_test.dir\core\StreamGuard_test.cpp.obj  /out:bin\c10_StreamGuard_test.exe /implib:lib\c10_StreamGuard_test.lib /pdb:bin\c10_StreamGuard_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-03-11T15:39:20.1906579Z [4425/6220] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_InlineDeviceGuard_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_InlineDeviceGuard_test.dir\core\impl\InlineDeviceGuard_test.cpp.obj  /out:bin\c10_InlineDeviceGuard_test.exe /implib:lib\c10_InlineDeviceGuard_test.lib /pdb:bin\c10_InlineDeviceGuard_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-03-11T15:39:20.2177659Z [4426/6220] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_DeviceGuard_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_DeviceGuard_test.dir\core\DeviceGuard_test.cpp.obj  /out:bin\c10_DeviceGuard_test.exe /implib:lib\c10_DeviceGuard_test.lib /pdb:bin\c10_DeviceGuard_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-03-11T15:39:20.2802138Z [4427/6220] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_Device_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_Device_test.dir\core\Device_test.cpp.obj  /out:bin\c10_Device_test.exe /implib:lib\c10_Device_test.lib /pdb:bin\c10_Device_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-03-11T15:39:20.2815755Z [4428/6220] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_DispatchKeySet_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_DispatchKeySet_test.dir\core\DispatchKeySet_test.cpp.obj  /out:bin\c10_DispatchKeySet_test.exe /implib:lib\c10_DispatchKeySet_test.lib /pdb:bin\c10_DispatchKeySet_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-03-11T15:39:20.4594892Z [4429/6220] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_CompileTimeFunctionPointer_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_CompileTimeFunctionPointer_test.dir\core\CompileTimeFunctionPointer_test.cpp.obj  /out:bin\c10_CompileTimeFunctionPointer_test.exe /implib:lib\c10_CompileTimeFunctionPointer_test.lib /pdb:bin\c10_CompileTimeFunctionPointer_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-03-11T15:39:20.4689134Z [4430/6220] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_InlineStreamGuard_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_InlineStreamGuard_test.dir\core\impl\InlineStreamGuard_test.cpp.obj  /out:bin\c10_InlineStreamGuard_test.exe /implib:lib\c10_InlineStreamGuard_test.lib /pdb:bin\c10_InlineStreamGuard_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."

See GitHub Actions build pytorch-xla-linux-bionic-py3.7-clang8 / test (xla, 1, 1, linux.2xlarge) (2/4)

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

2022-03-11T16:13:55.2378821Z AssertionError: Found an invalid operator name: qr
2022-03-11T16:13:55.2373532Z   File "/var/lib/jenkins/workspace/tools/codegen/gen_backend_stubs.py", line 318, in <module>
2022-03-11T16:13:55.2373967Z     main()
2022-03-11T16:13:55.2374412Z   File "/var/lib/jenkins/workspace/tools/codegen/gen_backend_stubs.py", line 201, in main
2022-03-11T16:13:55.2374970Z     run(options.source_yaml, options.output_dir, options.dry_run, options.impl_path)
2022-03-11T16:13:55.2375555Z   File "/var/lib/jenkins/workspace/tools/codegen/gen_backend_stubs.py", line 292, in run
2022-03-11T16:13:55.2376208Z     parsed_backend_yaml = parse_backend_yaml(source_yaml, grouped_native_functions, backend_indices)
2022-03-11T16:13:55.2376865Z   File "/var/lib/jenkins/workspace/tools/codegen/gen_backend_stubs.py", line 100, in parse_backend_yaml
2022-03-11T16:13:55.2377521Z     supported, backend_key, use_out_as_primary=use_out_as_primary, use_device_guard=use_device_guard)
2022-03-11T16:13:55.2378195Z   File "/var/lib/jenkins/workspace/tools/codegen/gen_backend_stubs.py", line 81, in create_backend_index
2022-03-11T16:13:55.2378534Z     assert op_name in native_functions_map, f"Found an invalid operator name: {op_name}"
2022-03-11T16:13:55.2378821Z AssertionError: Found an invalid operator name: qr
2022-03-11T16:13:55.2967208Z Failed to generate ATEN bindings: ['/var/lib/jenkins/workspace/xla/scripts/generate_code.sh']
2022-03-11T16:13:55.4377181Z + cleanup
2022-03-11T16:13:55.4377563Z + retcode=1
2022-03-11T16:13:55.4377842Z + set +x
2022-03-11T16:13:55.4417605Z ##[error]Process completed with exit code 1.
2022-03-11T16:13:55.4451079Z ##[group]Run # Ensure the working directory gets chowned back to the current user
2022-03-11T16:13:55.4451460Z �[36;1m# Ensure the working directory gets chowned back to the current user�[0m
2022-03-11T16:13:55.4451805Z �[36;1mdocker run --rm -v "$(pwd)":/v -w /v "${ALPINE_IMAGE}" chown -R "$(id -u):$(id -g)" .�[0m
2022-03-11T16:13:55.4462925Z shell: /usr/bin/bash -e {0}
2022-03-11T16:13:55.4463138Z env:

See GitHub Actions build win-vs2019-cpu-py3 / build (3/4)

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

2022-03-11T15:39:14.2986621Z C:\actions-runner\...zed_test.cpp(34): error C2100: illegal indirection
2022-03-11T15:39:14.2976211Z C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\include\initializer_list(57): note: see declaration of 'std::begin'
2022-03-11T15:39:14.2977199Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C2672: 'end': no matching overloaded function found
2022-03-11T15:39:14.2978295Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C2893: Failed to specialize function template 'unknown-type std::end(_Container &)'
2022-03-11T15:39:14.2979354Z C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\include\xutility(2179): note: see declaration of 'std::end'
2022-03-11T15:39:14.2980302Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): note: With the following template arguments:
2022-03-11T15:39:14.2981190Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): note: '_Container=int'
2022-03-11T15:39:14.2982318Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C2784: 'const _Elem *std::end(std::initializer_list<_Elem>) noexcept': could not deduce template argument for 'std::initializer_list<_Elem>' from 'int'
2022-03-11T15:39:14.2983527Z C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\include\initializer_list(63): note: see declaration of 'std::end'
2022-03-11T15:39:14.2984684Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C3536: '<begin>$L1': cannot be used before it is initialized
2022-03-11T15:39:14.2985678Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C3536: '<end>$L1': cannot be used before it is initialized
2022-03-11T15:39:14.2986621Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C2100: illegal indirection
2022-03-11T15:39:14.2987323Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2022-03-11T15:39:14.2987960Z Copyright (C) Microsoft Corporation.  All rights reserved.
2022-03-11T15:39:14.2988299Z 
2022-03-11T15:39:14.3424856Z [4418/5803] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_CompileTimeFunctionPointer_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_CompileTimeFunctionPointer_test.dir\core\CompileTimeFunctionPointer_test.cpp.obj  /out:bin\c10_CompileTimeFunctionPointer_test.exe /implib:lib\c10_CompileTimeFunctionPointer_test.lib /pdb:bin\c10_CompileTimeFunctionPointer_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-03-11T15:39:15.0198572Z [4419/5803] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_Device_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_Device_test.dir\core\Device_test.cpp.obj  /out:bin\c10_Device_test.exe /implib:lib\c10_Device_test.lib /pdb:bin\c10_Device_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-03-11T15:39:15.0212578Z [4420/5803] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_DeviceGuard_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_DeviceGuard_test.dir\core\DeviceGuard_test.cpp.obj  /out:bin\c10_DeviceGuard_test.exe /implib:lib\c10_DeviceGuard_test.lib /pdb:bin\c10_DeviceGuard_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-03-11T15:39:15.4151581Z [4421/5803] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_StreamGuard_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_StreamGuard_test.dir\core\StreamGuard_test.cpp.obj  /out:bin\c10_StreamGuard_test.exe /implib:lib\c10_StreamGuard_test.lib /pdb:bin\c10_StreamGuard_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-03-11T15:39:15.4182608Z [4422/5803] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_DispatchKeySet_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_DispatchKeySet_test.dir\core\DispatchKeySet_test.cpp.obj  /out:bin\c10_DispatchKeySet_test.exe /implib:lib\c10_DispatchKeySet_test.lib /pdb:bin\c10_DispatchKeySet_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-03-11T15:39:15.4573871Z [4423/5803] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_InlineStreamGuard_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_InlineStreamGuard_test.dir\core\impl\InlineStreamGuard_test.cpp.obj  /out:bin\c10_InlineStreamGuard_test.exe /implib:lib\c10_InlineStreamGuard_test.lib /pdb:bin\c10_InlineStreamGuard_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-03-11T15:39:15.4587941Z [4424/5803] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_InlineDeviceGuard_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_InlineDeviceGuard_test.dir\core\impl\InlineDeviceGuard_test.cpp.obj  /out:bin\c10_InlineDeviceGuard_test.exe /implib:lib\c10_InlineDeviceGuard_test.lib /pdb:bin\c10_InlineDeviceGuard_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."

See GitHub Actions build periodic-win-vs2019-cuda11.5-py3 / build (4/4)

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

2022-03-11T15:39:21.1851435Z C:\actions-runner\...zed_test.cpp(34): error C2100: illegal indirection
2022-03-11T15:39:21.1840752Z C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\include\initializer_list(57): note: see declaration of 'std::begin'
2022-03-11T15:39:21.1841782Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C2672: 'end': no matching overloaded function found
2022-03-11T15:39:21.1842900Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C2893: Failed to specialize function template 'unknown-type std::end(_Container &)'
2022-03-11T15:39:21.1844004Z C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\include\xutility(2179): note: see declaration of 'std::end'
2022-03-11T15:39:21.1844980Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): note: With the following template arguments:
2022-03-11T15:39:21.1845890Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): note: '_Container=int'
2022-03-11T15:39:21.1847122Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C2784: 'const _Elem *std::end(std::initializer_list<_Elem>) noexcept': could not deduce template argument for 'std::initializer_list<_Elem>' from 'int'
2022-03-11T15:39:21.1848375Z C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\include\initializer_list(63): note: see declaration of 'std::end'
2022-03-11T15:39:21.1849389Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C3536: '<begin>$L1': cannot be used before it is initialized
2022-03-11T15:39:21.1850419Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C3536: '<end>$L1': cannot be used before it is initialized
2022-03-11T15:39:21.1851435Z C:\actions-runner\_work\pytorch\pytorch\c10\test\util\Synchronized_test.cpp(34): error C2100: illegal indirection
2022-03-11T15:39:21.1852153Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2022-03-11T15:39:21.1852731Z Copyright (C) Microsoft Corporation.  All rights reserved.
2022-03-11T15:39:21.1853087Z 
2022-03-11T15:39:21.1861251Z [4430/6220] C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -IC:\actions-runner\_work\pytorch\pytorch\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\aten\src -IC:\actions-runner\_work\pytorch\pytorch\build -IC:\actions-runner\_work\pytorch\pytorch -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\cudnn_frontend\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\eigen -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.5\include" -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\mkl-dnn\third_party\oneDNN\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\googletest\googlemock -IC:\actions-runner\_work\pytorch\pytorch\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\googletest\googletest /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -std:c++14 /showIncludes /Foc10\test\CMakeFiles\c10_exception_test.dir\util\exception_test.cpp.obj /Fdc10\test\CMakeFiles\c10_exception_test.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\c10\test\util\exception_test.cpp
2022-03-11T15:39:21.1869438Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2022-03-11T15:39:21.1870017Z Copyright (C) Microsoft Corporation.  All rights reserved.
2022-03-11T15:39:21.1870365Z 
2022-03-11T15:39:21.1987666Z [4431/6220] C:\actions-runner\_work\pytorch\pytorch\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -IC:\actions-runner\_work\pytorch\pytorch\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\aten\src -IC:\actions-runner\_work\pytorch\pytorch\build -IC:\actions-runner\_work\pytorch\pytorch -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\cudnn_frontend\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\cmake\..\third_party\eigen -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.5\include" -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\mkl-dnn\third_party\oneDNN\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\ideep\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\googletest\googlemock -IC:\actions-runner\_work\pytorch\pytorch\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\third_party\googletest\googletest /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -std:c++14 /showIncludes /Foc10\test\CMakeFiles\c10_either_test.dir\util\either_test.cpp.obj /Fdc10\test\CMakeFiles\c10_either_test.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\c10\test\util\either_test.cpp
2022-03-11T15:39:21.1995919Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2022-03-11T15:39:21.1996494Z Copyright (C) Microsoft Corporation.  All rights reserved.

🚧 2 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.

@IvanYashchuk IvanYashchuk requested review from mruberry and removed request for ezyang and nikitaved January 7, 2022 14:43
@IvanYashchuk IvanYashchuk added module: deprecation module: linear algebra Issues related to specialized linear algebra operations in PyTorch; includes matrix multiply matmul labels Jan 7, 2022
@dagitses dagitses added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Jan 10, 2022
Copy link
Collaborator

@lezcano lezcano left a comment

Choose a reason for hiding this comment

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

It seems that we forgot to remove a few uses of the old QR in the codebase. Thanks for finding these!

ormqr
outer
pinverse
qr
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not for this PR, but I wonder if we should leave old functions in the documentation with a very clear notice about when they were removed?

cc @stas00, who's been thinking about how we could improve the clarity of our documentation when making operator changes

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I agree having a list of removed functions somewhere in the documentation would be useful.

Copy link
Contributor

Choose a reason for hiding this comment

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

yes, please! thank you for remembering my request, Mike!

Probably either making a new doc that lists all the APIs that were removed and the first pytorch version (not sha!) that no longer had it. or keeping the old doc entry with just the API name and when it was removed. Whatever is easier to maintain.

thank you!

Copy link
Collaborator

Choose a reason for hiding this comment

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

I like the idea of a separate doc for removed operators. What do you think, @IvanYashchuk, @lezcano, @albanD? We could just write to it directly with the name of the operator and when it was removed.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Makes sense to me. I think this would be a really helpful feature for libraries that depend on PyTorch

Copy link
Collaborator

Choose a reason for hiding this comment

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

Agreed a special page for this in the docs would be great. It should contain either details on what to use instead and/or link to the issue/PR with more details).

@facebook-github-bot
Copy link
Contributor

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

@github-actions
Copy link
Contributor

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions
Copy link
Contributor

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions bot added the Stale label Jul 19, 2022
@kit1980 kit1980 assigned kit1980 and unassigned mruberry Aug 27, 2022
kit1980 added a commit to kit1980/Ax that referenced this pull request Aug 29, 2022
Summary:
torch.qr is deprecated for a long time and is being removed by pytorch/pytorch#70989

Created from CodeHub with https://fburl.com/edit-in-codehub

Reviewed By: Balandat

Differential Revision: D39079315

fbshipit-source-id: 399f107edb061f5e85a41039a96ffc6e85b95cc5
facebook-github-bot pushed a commit to facebook/Ax that referenced this pull request Aug 29, 2022
Summary:
Pull Request resolved: #1099

torch.qr is deprecated for a long time and is being removed by pytorch/pytorch#70989

Created from CodeHub with https://fburl.com/edit-in-codehub

Reviewed By: Balandat

Differential Revision: D39079315

fbshipit-source-id: 83d81c01e7684f0c3a726771980f91e38adc12f5
kit1980 added a commit to kit1980/fairseq that referenced this pull request Aug 31, 2022
torch.qr is deprecated for a long time and is being removed by pytorch/pytorch#70989.

This PR makes the example compatible with new and old PyTorch versions.
@facebook-github-bot
Copy link
Contributor

/easycla

As part of the transition to the PyTorch Foundation, this project now requires contributions be covered under the new CLA. See #85559 for additional details.

This comment will trigger a new check of this PR. If you are already covered, you will simply see a new "EasyCLA" check that passes. If you are not covered, a bot will leave a new comment with a link to sign.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Oct 4, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2022

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions bot added the Stale label Dec 3, 2022
@kit1980 kit1980 removed the Stale label Dec 3, 2022
@kit1980
Copy link
Contributor

kit1980 commented Dec 3, 2022

/easycla

cbalioglu pushed a commit to facebookresearch/fairseq that referenced this pull request Dec 10, 2022
torch.qr is deprecated for a long time and is being removed by pytorch/pytorch#70989.

This PR makes the example compatible with new and old PyTorch versions.
@kit1980
Copy link
Contributor

kit1980 commented Dec 30, 2022

@IvanYashchuk should we revive this? I've already proactively removed some (all?) Meta-internal torch.qr uses.

cbalioglu pushed a commit to facebookresearch/fairseq that referenced this pull request Feb 23, 2023
* fix imports referencing moved metrics.py file

* Make representation computation branchless in TransformerEncoderBase (#4818)

Summary:
We want to make the computation branchless here because fairseq code may be
exported and traced for deployment purposes, and tracing mechanisms can
break the correctness for a captured program if it's dependent on input data.
In this diff we try to rewrite the code to remove one branch so that tracer
can proceed here and preserve the correct semantics of the model.

Test Plan:
CI

Reviewers:

Subscribers:

Tasks:

Tags:

* Fix Torchscript typing in transformer_encoder.py (#4847)

* Add Generative Spoken Dialogue Language Modeling (#4879)

* Update deprecated torch.qr in glow.py example (#4685)

torch.qr is deprecated for a long time and is being removed by pytorch/pytorch#70989.

This PR makes the example compatible with new and old PyTorch versions.

* Emotion Conversion Paper Open Source (#4895)

* data2vec v2.0 (#4903)

data2v2c 2.0
Co-authored-by: Arun Babu <[email protected]>
Co-authored-by: Wei-Ning Hsu <[email protected]>

* remove missing config entries when loading task from checkpoint (#4905)

* make apex optional (#4906)

* Add file to generate manifests for stop dataset. (#4891)

* Update STOP dataset README to include proper link. (#4892)

* Update README.md (#4893)

* using foreach to reduce kernel (#4904)

* using foreach to reduce kernel

* set reproducibility to looser threshold

* revert optimzer

* update

* update

* update

* update

* update

* update

* update

Co-authored-by: juntengjia <[email protected]>

* Update README.md to add data2vec blog post (#4913)

* Update README.md

* Update config to fix circleci failure (#4949)

https://app.circleci.com/pipelines/github/fairinternal/fairseq-py/12635/workflows/3befbae2-79c4-458d-9fc4-aad4484183b4/jobs/26767

* Generative Spoken Dialogue Language Modeling Paper Open Source (#4957)

* wav2vec2_laser (#4968)

* ASR BLEU tool copied from ust branch into main (#4914)

* Add transcript option for asr-bleu (#4981)

---------

Co-authored-by: zhxchen17 <[email protected]>
Co-authored-by: zhxchen17 <[email protected]>
Co-authored-by: Nguyen Tu Anh <[email protected]>
Co-authored-by: Sergii Dymchenko <[email protected]>
Co-authored-by: Felix Kreuk <[email protected]>
Co-authored-by: Alexei Baevski <[email protected]>
Co-authored-by: padentomasello <[email protected]>
Co-authored-by: Junteng Jia <[email protected]>
Co-authored-by: juntengjia <[email protected]>
Co-authored-by: arbabu123 <[email protected]>
Co-authored-by: dianaml0 <[email protected]>
Co-authored-by: Pierre Andrews <[email protected]>
Co-authored-by: Ilia Kulikov <[email protected]>
Co-authored-by: Xutai Ma <[email protected]>
@github-actions
Copy link
Contributor

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions bot added the Stale label Feb 28, 2023
@kit1980 kit1980 removed the Stale label Feb 28, 2023
lwb2099 pushed a commit to lwb2099/fairseq that referenced this pull request Apr 26, 2023
torch.qr is deprecated for a long time and is being removed by pytorch/pytorch#70989.

This PR makes the example compatible with new and old PyTorch versions.
lwb2099 pushed a commit to lwb2099/fairseq that referenced this pull request Apr 26, 2023
* fix imports referencing moved metrics.py file

* Make representation computation branchless in TransformerEncoderBase (facebookresearch#4818)

Summary:
We want to make the computation branchless here because fairseq code may be
exported and traced for deployment purposes, and tracing mechanisms can
break the correctness for a captured program if it's dependent on input data.
In this diff we try to rewrite the code to remove one branch so that tracer
can proceed here and preserve the correct semantics of the model.

Test Plan:
CI

Reviewers:

Subscribers:

Tasks:

Tags:

* Fix Torchscript typing in transformer_encoder.py (facebookresearch#4847)

* Add Generative Spoken Dialogue Language Modeling (facebookresearch#4879)

* Update deprecated torch.qr in glow.py example (facebookresearch#4685)

torch.qr is deprecated for a long time and is being removed by pytorch/pytorch#70989.

This PR makes the example compatible with new and old PyTorch versions.

* Emotion Conversion Paper Open Source (facebookresearch#4895)

* data2vec v2.0 (facebookresearch#4903)

data2v2c 2.0
Co-authored-by: Arun Babu <[email protected]>
Co-authored-by: Wei-Ning Hsu <[email protected]>

* remove missing config entries when loading task from checkpoint (facebookresearch#4905)

* make apex optional (facebookresearch#4906)

* Add file to generate manifests for stop dataset. (facebookresearch#4891)

* Update STOP dataset README to include proper link. (facebookresearch#4892)

* Update README.md (facebookresearch#4893)

* using foreach to reduce kernel (facebookresearch#4904)

* using foreach to reduce kernel

* set reproducibility to looser threshold

* revert optimzer

* update

* update

* update

* update

* update

* update

* update

Co-authored-by: juntengjia <[email protected]>

* Update README.md to add data2vec blog post (facebookresearch#4913)

* Update README.md

* Update config to fix circleci failure (facebookresearch#4949)

https://app.circleci.com/pipelines/github/fairinternal/fairseq-py/12635/workflows/3befbae2-79c4-458d-9fc4-aad4484183b4/jobs/26767

* Generative Spoken Dialogue Language Modeling Paper Open Source (facebookresearch#4957)

* wav2vec2_laser (facebookresearch#4968)

* ASR BLEU tool copied from ust branch into main (facebookresearch#4914)

* Add transcript option for asr-bleu (facebookresearch#4981)

---------

Co-authored-by: zhxchen17 <[email protected]>
Co-authored-by: zhxchen17 <[email protected]>
Co-authored-by: Nguyen Tu Anh <[email protected]>
Co-authored-by: Sergii Dymchenko <[email protected]>
Co-authored-by: Felix Kreuk <[email protected]>
Co-authored-by: Alexei Baevski <[email protected]>
Co-authored-by: padentomasello <[email protected]>
Co-authored-by: Junteng Jia <[email protected]>
Co-authored-by: juntengjia <[email protected]>
Co-authored-by: arbabu123 <[email protected]>
Co-authored-by: dianaml0 <[email protected]>
Co-authored-by: Pierre Andrews <[email protected]>
Co-authored-by: Ilia Kulikov <[email protected]>
Co-authored-by: Xutai Ma <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed module: deprecation module: linear algebra Issues related to specialized linear algebra operations in PyTorch; includes matrix multiply matmul no-stale open source triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants