Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace some tensor.device().is_cpu() calls with direct tensor.is_cpu() #54397

Closed
wants to merge 2 commits into from

Conversation

ezyang
Copy link
Contributor

@ezyang ezyang commented Mar 22, 2021

Stack from ghstack:

I was supposed to have done this in #54079
but apparently I forgot to push these changes before landing, so here's
the clean up.

Signed-off-by: Edward Z. Yang ezyang@fb.com

Differential Revision: D27235382

I was supposed to have done this in #54079
but apparently I forgot to push these changes before landing, so here's
the clean up.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

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

facebook-github-bot commented Mar 22, 2021

💊 CI failures summary and remediations

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


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

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.

…nsor.is_cpu()"

I was supposed to have done this in #54079
but apparently I forgot to push these changes before landing, so here's
the clean up.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

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

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

@ezyang merged this pull request in 349a17f.

@facebook-github-bot facebook-github-bot deleted the gh/ezyang/956/head branch March 26, 2021 14:16
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