KEMBAR78
Add autograd not implemented boxed fallback by soulitzer · Pull Request #63458 · pytorch/pytorch · GitHub
Skip to content

Conversation

@soulitzer
Copy link
Contributor

@soulitzer soulitzer commented Aug 18, 2021

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Aug 18, 2021

🔗 Helpful links

💊 CI failures summary and remediations

As of commit ed27f99 (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.

next_edges.emplace_back();
}
}
void operator()(const Variable* variable) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure how to remove this overload yet.

@soulitzer soulitzer requested a review from ezyang August 19, 2021 04:58
See description and discussion from #62450

[ghstack-poisoned]
_foreach_tensor([&](size_t _, size_t idx_arg, const at::Tensor& t) {
if (arguments[idx_arg].type()->kind() != c10::TypeKind::OptionalType) {
TORCH_CHECK(t.defined(), "Expected argument ", idx_arg, " of ", op_name, " to be defined.");
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't feel like this test should be necessary. In none of the original VariableType kernels do we test if the Tensor inputs are defined or not. This is doing some sort of schema checking on the passed in call stack, but actually we should just assume that the stack inputs are well typed.

Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

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

okey dokey

See description and discussion from #62450

[ghstack-poisoned]
@soulitzer
Copy link
Contributor Author

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

See description and discussion from #62450

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

[ghstack-poisoned]
@soulitzer soulitzer mentioned this pull request Aug 24, 2021
1 task
See description and discussion from #62450

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

[ghstack-poisoned]
See description and discussion from #62450

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

[ghstack-poisoned]
@soulitzer
Copy link
Contributor Author

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

See description and discussion from #62450

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

[ghstack-poisoned]
See description and discussion from #62450

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

[ghstack-poisoned]
soulitzer added a commit to soulitzer/pytorch that referenced this pull request Aug 26, 2021
ghstack-source-id: 4c8973d
Pull Request resolved: pytorch#63458
See description and discussion from #62450

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

[ghstack-poisoned]
@soulitzer
Copy link
Contributor Author

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

See description and discussion from #62450

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

[ghstack-poisoned]
@soulitzer
Copy link
Contributor Author

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

@facebook-github-bot
Copy link
Contributor

@soulitzer merged this pull request in 90a6498.

@facebook-github-bot facebook-github-bot deleted the gh/soulitzer/2/head branch August 31, 2021 14:16
@soulitzer soulitzer mentioned this pull request Sep 8, 2021
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