KEMBAR78
clean up engine.cpp thread state by albanD · Pull Request #63115 · pytorch/pytorch · GitHub
Skip to content

Conversation

@albanD
Copy link
Collaborator

@albanD albanD commented Aug 11, 2021

Stack from ghstack:

This actually changes:

  • callbacks now run with proper grad mode even in worker threads
  • graphtask's Future callbacks now run with proper TLS when erroring
    out from a worker thread

Differential Revision: D30388100

This actually changes:
- callbacks now run with proper grad mode even in worker threads
- graphtask's Future callbacks now run with proper TLS when erroring
  out from a worker thread

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Aug 11, 2021

🔗 Helpful links

💊 CI failures summary and remediations

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


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

albanD added 3 commits August 11, 2021 19:19
This actually changes:
- callbacks now run with proper grad mode even in worker threads
- graphtask's Future callbacks now run with proper TLS when erroring
  out from a worker thread

[ghstack-poisoned]
This actually changes:
- callbacks now run with proper grad mode even in worker threads
- graphtask's Future callbacks now run with proper TLS when erroring
  out from a worker thread

[ghstack-poisoned]
This actually changes:
- callbacks now run with proper grad mode even in worker threads
- graphtask's Future callbacks now run with proper TLS when erroring
  out from a worker thread

[ghstack-poisoned]
@albanD albanD closed this Aug 16, 2021
This actually changes:
- callbacks now run with proper grad mode even in worker threads
- graphtask's Future callbacks now run with proper TLS when erroring
  out from a worker thread

[ghstack-poisoned]
@albanD albanD reopened this Aug 16, 2021
This actually changes:
- callbacks now run with proper grad mode even in worker threads
- graphtask's Future callbacks now run with proper TLS when erroring
  out from a worker thread

[ghstack-poisoned]
albanD added a commit to albanD/pytorch that referenced this pull request Aug 17, 2021
This actually changes:
- callbacks now run with proper grad mode even in worker threads
- graphtask's Future callbacks now run with proper TLS when erroring
  out from a worker thread (both for vanilla and distributed engine)

ghstack-source-id: 28bc101
Pull Request resolved: pytorch#63115
albanD added 2 commits August 17, 2021 16:55
This actually changes:
- callbacks now run with proper grad mode even in worker threads
- graphtask's Future callbacks now run with proper TLS when erroring
  out from a worker thread

[ghstack-poisoned]
This actually changes:
- callbacks now run with proper grad mode even in worker threads
- graphtask's Future callbacks now run with proper TLS when erroring
  out from a worker thread

[ghstack-poisoned]
@albanD
Copy link
Collaborator Author

albanD commented Aug 18, 2021

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

This actually changes:
- callbacks now run with proper grad mode even in worker threads
- graphtask's Future callbacks now run with proper TLS when erroring
  out from a worker thread

Differential Revision: [D30388100](https://our.internmc.facebook.com/intern/diff/D30388100)

[ghstack-poisoned]
@albanD
Copy link
Collaborator Author

albanD commented Aug 20, 2021

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

This actually changes:
- callbacks now run with proper grad mode even in worker threads
- graphtask's Future callbacks now run with proper TLS when erroring
  out from a worker thread

Differential Revision: [D30388100](https://our.internmc.facebook.com/intern/diff/D30388100)

[ghstack-poisoned]
@albanD
Copy link
Collaborator Author

albanD commented Aug 20, 2021

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

This actually changes:
- callbacks now run with proper grad mode even in worker threads
- graphtask's Future callbacks now run with proper TLS when erroring
  out from a worker thread

Differential Revision: [D30388100](https://our.internmc.facebook.com/intern/diff/D30388100)

[ghstack-poisoned]
This actually changes:
- callbacks now run with proper grad mode even in worker threads
- graphtask's Future callbacks now run with proper TLS when erroring
  out from a worker thread

Differential Revision: [D30388100](https://our.internmc.facebook.com/intern/diff/D30388100)

[ghstack-poisoned]
@albanD
Copy link
Collaborator Author

albanD commented Aug 24, 2021

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

@facebook-github-bot
Copy link
Contributor

@albanD merged this pull request in ab954cb.

@facebook-github-bot facebook-github-bot deleted the gh/albanD/107/head branch August 29, 2021 14:21
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.

3 participants