Skip to content

Update Release.md with latest details#78285

Closed
atalman wants to merge 15 commits intomasterfrom
atalman-patch-4
Closed

Update Release.md with latest details#78285
atalman wants to merge 15 commits intomasterfrom
atalman-patch-4

Conversation

@atalman
Copy link
Copy Markdown
Contributor

@atalman atalman commented May 25, 2022

Update Release.md with latest details and PRs reference

Update Release.md with latest details and PRs reference
@facebook-github-bot
Copy link
Copy Markdown
Contributor

facebook-github-bot commented May 25, 2022

🔗 Helpful links

❌ 1 New Failures

As of commit fb0c662 (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-xenial-py3.7-gcc5.4-mobile-lightweight-dispatch-build / build (1/1)

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

2022-05-25T21:28:06.0432882Z what(): i.scope...ection.cpp":403, please report a bug to PyTorch. 6
2022-05-25T21:28:06.0394772Z �[0;32m[----------] �[m2 tests from MobileProfiler
2022-05-25T21:28:06.0395135Z �[0;32m[ RUN      ] �[mMobileProfiler.ModuleHierarchy
2022-05-25T21:28:06.0399690Z STAGE:2022-05-25 21:28:06 23863:23863 ActivityProfilerController.cpp:294] Completed Stage: Warm Up
2022-05-25T21:28:06.0403567Z STAGE:2022-05-25 21:28:06 23863:23863 ActivityProfilerController.cpp:300] Completed Stage: Collection
2022-05-25T21:28:06.0405273Z STAGE:2022-05-25 21:28:06 23863:23863 output_json.cpp:417] Completed Stage: Post Processing
2022-05-25T21:28:06.0405785Z �[0;32m[       OK ] �[mMobileProfiler.ModuleHierarchy (1 ms)
2022-05-25T21:28:06.0406327Z �[0;32m[ RUN      ] �[mMobileProfiler.Backend
2022-05-25T21:28:06.0412866Z STAGE:2022-05-25 21:28:06 23863:23863 ActivityProfilerController.cpp:294] Completed Stage: Warm Up
2022-05-25T21:28:06.0413462Z [W test_backend_compiler_lib.cpp:141] Warning: Only the first elements of the tensors are added or subbed. (function execute)
2022-05-25T21:28:06.0432116Z terminate called after throwing an instance of 'c10::Error'
2022-05-25T21:28:06.0432882Z   what():  i.scope_ == at::RecordScope::USER_SCOPE INTERNAL ASSERT FAILED at "/var/lib/jenkins/workspace/torch/csrc/profiler/collection.cpp":403, please report a bug to PyTorch. 6
2022-05-25T21:28:06.0433658Z Exception raised from operator() at /var/lib/jenkins/workspace/torch/csrc/profiler/collection.cpp:403 (most recent call first):
2022-05-25T21:28:06.0434531Z frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) + 0x69 (0x7f27e4376179 in /var/lib/jenkins/workspace/build/custom_test_artifacts/build/lib/libc10.so)
2022-05-25T21:28:06.0435515Z frame #1: c10::detail::torchCheckFail(char const*, char const*, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 0xd2 (0x7f27e4372442 in /var/lib/jenkins/workspace/build/custom_test_artifacts/build/lib/libc10.so)
2022-05-25T21:28:06.0436180Z frame #2: c10::detail::torchInternalAssertFail(char const*, char const*, unsigned int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 0x4e (0x7f27e4373dde in /var/lib/jenkins/workspace/build/custom_test_artifacts/build/lib/libc10.so)
2022-05-25T21:28:06.0437190Z frame #3: <unknown function> + 0x2a130f8 (0x7f27e6fc90f8 in /var/lib/jenkins/workspace/build/custom_test_artifacts/build/lib/libtorch_cpu.so)
2022-05-25T21:28:06.0437756Z frame #4: torch::profiler::impl::RecordQueue::getRecords(std::function<long (unsigned long)>) + 0x1dfe (0x7f27e6fcc99e in /var/lib/jenkins/workspace/build/custom_test_artifacts/build/lib/libtorch_cpu.so)
2022-05-25T21:28:06.0438229Z frame #5: <unknown function> + 0x2a02213 (0x7f27e6fb8213 in /var/lib/jenkins/workspace/build/custom_test_artifacts/build/lib/libtorch_cpu.so)
2022-05-25T21:28:06.0438683Z frame #6: torch::autograd::profiler::disableProfiler() + 0x3d0 (0x7f27e6fba530 in /var/lib/jenkins/workspace/build/custom_test_artifacts/build/lib/libtorch_cpu.so)
2022-05-25T21:28:06.0439194Z frame #7: torch::jit::mobile::KinetoEdgeCPUProfiler::~KinetoEdgeCPUProfiler() + 0x98 (0x7f27e6fd6c48 in /var/lib/jenkins/workspace/build/custom_test_artifacts/build/lib/libtorch_cpu.so)
2022-05-25T21:28:06.0439656Z frame #8: torch::jit::mobile::MobileProfiler_Backend_Test::TestBody() + 0x48a (0x41de6a in build/bin/test_lite_interpreter_runtime)

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.

RELEASE.md Outdated
* A release branches should also be created in [`pytorch/xla`](https://github.com/pytorch/xla) and [`pytorch/builder`](https://github.com/pytorch/builder) repos and pinned in `pytorch/pytorch`
* Example PR (CircleCI, to be removed): https://github.com/pytorch/pytorch/pull/65433
* Example PR (GHA): https://github.com/pytorch/pytorch/pull/72739
* Example PRs (GHA): https://github.com/pytorch/pytorch/pull/77986 and https://github.com/pytorch/pytorch/pull/77986
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

these are the same PRs

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks refactored!

Copy link
Copy Markdown
Contributor

@malfet malfet left a comment

Choose a reason for hiding this comment

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

Please capitalize PyTorch and also avoid specifying any time constraints, as they could change later

Comment on lines +64 to +67
* Perform a fresh clone of pytorch repo using
```bash
git clone git@github.com:pytorch/pytorch.git
```
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This sounds like an optional step, isn't it? Also, why are you recommending using ssh rather than https access? Later is faster, isn't it?

Suggested change
* Perform a fresh clone of pytorch repo using
```bash
git clone git@github.com:pytorch/pytorch.git
```
* Perform a fresh clone of pytorch repo using
```bash
git clone https://github.com:pytorch/pytorch.git

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

  1. Basically this step is required if you want to execute next step which is convenience script, which should be executed from the pytorch clone. Executing the script from fork does not work. Hence fresh clone, which also makes sure no other accidental changes are picked up during release.

  2. I don't mind putting https here if it works well for next step, so far I have been always using ssh with keys setup for proper access. Main point here is that it must be pytorch/pytorch repo and not a fork.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry, I don't think I follow. What do you mean by:

which should be executed from the pytorch clone
If script does not work from forks, then perhaps we need to add note about it here and also add a check for it in the script.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, makes sense we should probably change the script to work from forks properly. The way I usually work is as follows:

(.venv) [atalman@devvm214.ftw0 ~/local/pytorch] git remote -v
origin  git@github.com:atalman/pytorch.git (fetch)
origin  git@github.com:atalman/pytorch.git (push)
upstream        git@github.com:pytorch/pytorch.git (fetch)
upstream        git@github.com:pytorch/pytorch.git (push)

The script by default assumes: GIT_REMOTE=${GIT_REMOTE:-origin} hence if I execute it from fork it will push it to atalman/pytorch.

Perhaps we should just avoid using the script since it creates unnecessary confusion, all it does:

set -x
git checkout "${GIT_REMOTE}/${GIT_BRANCH_TO_CUT_FROM}"
git checkout -b "${branch}"
git push "${GIT_REMOTE}" "${branch}"

Maybe just executing these command against correct origin or upstream will be cleaner ?

RELEASE.md Outdated
```

### Making release branch specific changes
### Making release branch specific changes for pytorch
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please capitalize PyTorch

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

atalman and others added 4 commits May 25, 2022 15:49
Co-authored-by: Nikita Shulga <nshulga@fb.com>
Co-authored-by: Nikita Shulga <nshulga@fb.com>
Co-authored-by: Nikita Shulga <nshulga@fb.com>
Co-authored-by: Nikita Shulga <nshulga@fb.com>
@atalman
Copy link
Copy Markdown
Contributor Author

atalman commented May 25, 2022

@pytorchmergebot merge this please

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Merge failed due to Refusing to merge as mandatory check(s)linux-xenial-py3.7-gcc5.4-mobile-lightweight-dispatch-build / build failed for rule superuser
Raised by https://github.com/pytorch/pytorch/actions/runs/2387413789

@atalman
Copy link
Copy Markdown
Contributor Author

atalman commented May 26, 2022

@pytorchmergebot merge this please

@github-actions
Copy link
Copy Markdown
Contributor

Hey @atalman.
You've committed this PR, but it does not have both a 'release notes: ...' and 'topics: ...' label. Please add one of each to the PR. The 'release notes: ...' label should represent the part of PyTorch that this PR changes (fx, autograd, distributed, etc) and the 'topics: ...' label should represent the kind of PR it is (not user facing, new feature, bug fix, perf improvement, etc). The list of valid labels can be found here for the 'release notes: ...' and here for the 'topics: ...'.
For changes that are 'topic: not user facing' there is no need for a release notes label.

facebook-github-bot pushed a commit that referenced this pull request May 27, 2022
Summary:
Update Release.md with latest details and PRs reference

Pull Request resolved: #78285
Approved by: https://github.com/malfet

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

Reviewed By: mehtanirav

Differential Revision: D36708196

Pulled By: atalman

fbshipit-source-id: 7ea1f1f20575e4afd377f437976e5a94e22cc315
@github-actions github-actions bot deleted the atalman-patch-4 branch February 16, 2024 01:57
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