Skip to content

Conversation

@peterbell10
Copy link
Collaborator

@peterbell10 peterbell10 commented Feb 3, 2022

Stack from ghstack (oldest at bottom):

These operators are not used in eager since #76420, and are only retained for TorchScript BC which has now expired.

BC-breaking message:

TorchScript exported models that use torch.autograd.profiler.record_function and were exported on PyTorch < 2.0 will no longer be loadable. Please re-export your model with 2.0 or newer.

@pytorch-bot
Copy link

pytorch-bot bot commented Feb 3, 2022

CI Flow Status

⚛️ CI Flow

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

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

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Feb 3, 2022

🔗 Helpful links

❌ 1 New Failures

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

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

🕵️ 1 new failure recognized by patterns

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

See GitHub Actions build pull / linux-bionic-cuda11.6-py3.10-gcc7 / test (default, 1, 4, linux.4xlarge.nvidia.gpu) (1/1)

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

2022-09-07T16:09:43.4211007Z RuntimeError: test_ops failed!
2022-09-07T16:09:40.0888705Z Generated XML report: test-reports/python-unittest/test_ops/TEST-TestCommonCUDA-20220907143931.xml
2022-09-07T16:09:40.2446778Z Generated XML report: test-reports/python-unittest/test_ops/TEST-TestCompositeComplianceCUDA-20220907143931.xml
2022-09-07T16:09:40.3655347Z Generated XML report: test-reports/python-unittest/test_ops/TEST-TestFakeTensorNonErroringCUDA-20220907143931.xml
2022-09-07T16:09:40.5276409Z Generated XML report: test-reports/python-unittest/test_ops/TEST-TestMathBitsCUDA-20220907143931.xml
2022-09-07T16:09:40.6252646Z Generated XML report: test-reports/python-unittest/test_ops/TEST-TestTagsCUDA-20220907143931.xml
2022-09-07T16:09:43.4206773Z Traceback (most recent call last):
2022-09-07T16:09:43.4207209Z   File "/var/lib/jenkins/workspace/test/run_test.py", line 1104, in <module>
2022-09-07T16:09:43.4208232Z     main()
2022-09-07T16:09:43.4208520Z   File "/var/lib/jenkins/workspace/test/run_test.py", line 1082, in main
2022-09-07T16:09:43.4210681Z     raise RuntimeError(err_message)
2022-09-07T16:09:43.4211007Z RuntimeError: test_ops failed!
2022-09-07T16:09:43.6880495Z 
2022-09-07T16:09:43.6881119Z real	90m19.146s
2022-09-07T16:09:43.6881548Z user	89m3.033s
2022-09-07T16:09:43.6881797Z sys	1m26.048s
2022-09-07T16:09:43.6942295Z ##[error]Process completed with exit code 1.
2022-09-07T16:09:43.6987097Z Prepare all required actions
2022-09-07T16:09:43.6987551Z Getting action download info
2022-09-07T16:09:43.9186420Z ##[group]Run ./.github/actions/get-workflow-job-id
2022-09-07T16:09:43.9186717Z with:
2022-09-07T16:09:43.9187171Z   github-token: ***

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.

peterbell10 added a commit that referenced this pull request Feb 5, 2022
ghstack-source-id: 4c7812b
Pull Request resolved: #72303
peterbell10 added a commit that referenced this pull request Feb 7, 2022
ghstack-source-id: 5554640
Pull Request resolved: #72303
peterbell10 added a commit that referenced this pull request Feb 7, 2022
ghstack-source-id: 2d43f54
Pull Request resolved: #72303
…emove legacy internal operators"

[ghstack-poisoned]
peterbell10 added a commit that referenced this pull request Mar 3, 2022
ghstack-source-id: f14307f
Pull Request resolved: #72303
peterbell10 added a commit that referenced this pull request Mar 4, 2022
ghstack-source-id: 2829fde
Pull Request resolved: #72303
@pytorchmergebot
Copy link
Collaborator

@peterbell10 your PR has been successfully reverted.

pytorchmergebot added a commit that referenced this pull request Oct 24, 2023
This reverts commit 0be84bb.

Reverted #72303 on behalf of https://github.com/izaitsevfb due to Apparently _record_function_enter is still used internally at Meta in several places and in lots of internal tests. ([comment](#72303 (comment)))
@peterbell10 peterbell10 reopened this Oct 26, 2023
These operators have not been used since #76420 but were preserved for TorchScript backward compatibility


[ghstack-poisoned]
These operators have not been used since #76420 but were preserved for TorchScript backward compatibility


[ghstack-poisoned]
xuhancn pushed a commit to xuhancn/pytorch that referenced this pull request Nov 7, 2023
These operators have not been used since pytorch#76420 but were preserved for TorchScript backward compatibility

Pull Request resolved: pytorch#72303
Approved by: https://github.com/albanD
ghstack dependencies: pytorch#104535
xuhancn pushed a commit to xuhancn/pytorch that referenced this pull request Nov 7, 2023
)"

This reverts commit 0be84bb.

Reverted pytorch#72303 on behalf of https://github.com/izaitsevfb due to Apparently _record_function_enter is still used internally at Meta in several places and in lots of internal tests. ([comment](pytorch#72303 (comment)))
Skylion007 pushed a commit to Skylion007/pytorch that referenced this pull request Nov 14, 2023
These operators have not been used since pytorch#76420 but were preserved for TorchScript backward compatibility

Pull Request resolved: pytorch#72303
Approved by: https://github.com/albanD
ghstack dependencies: pytorch#104535
Skylion007 pushed a commit to Skylion007/pytorch that referenced this pull request Nov 14, 2023
)"

This reverts commit 0be84bb.

Reverted pytorch#72303 on behalf of https://github.com/izaitsevfb due to Apparently _record_function_enter is still used internally at Meta in several places and in lots of internal tests. ([comment](pytorch#72303 (comment)))
@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.

These operators have not been used since #76420 but were preserved for TorchScript backward compatibility


[ghstack-poisoned]
@github-actions github-actions bot added the oncall: distributed Add this issue/PR to distributed oncall triage queue label Jan 26, 2024
These operators have not been used since #76420 but were preserved for TorchScript backward compatibility


cc mrshenli pritamdamania87 zhaojuanmao satgera rohan-varma gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 awgu penguinwu fegin XilunWu wanchaol fduwjj wz337 tianyu-l wconstab yf225

[ghstack-poisoned]
These operators are not used in eager since #76420, and are only retained for TorchScript BC which has now expired.

BC-breaking message:

TorchScript exported models that use `torch.autograd.profiler.record_function` and were exported on PyTorch < `2.0` will no longer be loadable. Please re-export your model with 2.0 or newer.

[ghstack-poisoned]
@peterbell10 peterbell10 closed this Mar 4, 2024
@github-actions github-actions bot deleted the gh/peterbell10/268/head branch April 4, 2024 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request cla signed Merged no-stale oncall: distributed Add this issue/PR to distributed oncall triage queue open source release notes: fx release notes category Reverted topic: bc breaking topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants