Skip to content

Making ops c10-full: Storage arguments#49146

Closed
smessmer wants to merge 20 commits intogh/smessmer/283/basefrom
gh/smessmer/283/head
Closed

Making ops c10-full: Storage arguments#49146
smessmer wants to merge 20 commits intogh/smessmer/283/basefrom
gh/smessmer/283/head

Conversation

@smessmer
Copy link
Copy Markdown
Contributor

@smessmer smessmer commented Dec 10, 2020

Stack from ghstack:

Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

Differential Revision: D25456799

Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
@dr-ci
Copy link
Copy Markdown

dr-ci bot commented Dec 10, 2020

💊 CI failures summary and remediations

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


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

Extra GitHub checks: 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.

This comment has been revised 106 times.

@smessmer smessmer requested review from bhosmer and ezyang December 10, 2020 06:21
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Copy link
Copy Markdown
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.

It's probably worth noting that TorchScript frontend probably doesn't actually support storage haha

Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

[ghstack-poisoned]
Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.

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

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

This pull request has been merged in 4431731.

@facebook-github-bot facebook-github-bot deleted the gh/smessmer/283/head branch December 20, 2020 15:18
return static_cast<at::TensorImpl*>(payload.as_intrusive_ptr);
}

IValue(at::Storage s) : tag(Tag::Storage), is_intrusive_ptr(static_cast<bool>(s)) {
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.

Do we really need to conditionally set is_intrusive_ptr here? It looks to me like empty Storage doesn't have a specialized singleton representation; it's just nullptr

hwangdeyu pushed a commit to hwangdeyu/pytorch that referenced this pull request Jan 6, 2021
Summary:
Pull Request resolved: pytorch#49146

Add support for Storage arguments to IValue and the JIT typing system, and make ops that were blocked on that c10-full.
ghstack-source-id: 118710665

(Note: this ignores all push blocking failures!)

Test Plan: waitforsandcastle

Reviewed By: ezyang

Differential Revision: D25456799

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

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants