KEMBAR78
[reland] Create CUDA-aware futures in RequestCallback by lw · Pull Request #59209 · pytorch/pytorch · GitHub
Skip to content

Conversation

@lw
Copy link
Contributor

@lw lw commented May 31, 2021

Stack from ghstack:

Reland of #58426

The operations in RequestCallback can return CUDA tensors, thus the futures used to hold them must be CUDA-aware.

Differential Revision: D28623887

Reland of #58426

The operations in RequestCallback can return CUDA tensors, thus the futures used to hold them must be CUDA-aware.

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

[ghstack-poisoned]
@facebook-github-bot facebook-github-bot added oncall: distributed Add this issue/PR to distributed oncall triage queue cla signed labels May 31, 2021
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented May 31, 2021

💊 CI failures summary and remediations

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


  • 2/2 failures possibly* introduced in this PR
    • 2/2 non-scanned failure(s)

ci.pytorch.org: 1 failed


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.

Copy link
Contributor

@mrshenli mrshenli left a comment

Choose a reason for hiding this comment

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

reviewed the previous attempt. The change in reland is updating internal related code to use intrusive_ptr as well.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in f8a3fd4.

@facebook-github-bot facebook-github-bot deleted the gh/lw/197/head branch June 5, 2021 14:17
deniskokarev pushed a commit to deniskokarev/pytorch that referenced this pull request Jun 9, 2021
Summary:
Pull Request resolved: pytorch#59209

Reland of pytorch#58426

The operations in RequestCallback can return CUDA tensors, thus the futures used to hold them must be CUDA-aware.
ghstack-source-id: 130202844

Test Plan: CI

Reviewed By: mrshenli

Differential Revision: D28623887

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

Labels

cla signed Merged oncall: distributed Add this issue/PR to distributed oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants