Skip to content

Conversation

@smessmer
Copy link
Contributor

@smessmer smessmer commented Mar 4, 2021

Stack from ghstack:

Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.

Differential Revision: D26800346

Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.

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

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

facebook-github-bot commented Mar 4, 2021

💊 CI failures summary and remediations

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


  • 1/1 failures introduced in this PR

🕵️ 1 new failure recognized by patterns

The following CI failures do not appear to be due to upstream breakages:

See CircleCI build pytorch_ios_12_0_0_x86_64_build (1/1)

Step: "Spin up environment" (full log | diagnosis details | 🔁 rerun)

Waiting for a VM assignment: ..................................................
Build-agent version 1.0.55188-cc884bc1 (2021-04-06T15:23:45+0000)
Creating a dedicated VM with xcode:12.0 image
Waiting for a VM assignment: ..................................................
Assigned VM request id: 31557807
  provisioning: 
VM 'default-b03f180b-8e6c-406b-976f-64adf7484d42' has been created
Initializing agent


Unexpected environment preparation error: failed to upload runner config: failed to scp: signal: killed


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.

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.

Nice catch!

Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.

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

[ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.

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

[ghstack-poisoned]
smessmer added 7 commits March 9, 2021 15:39
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.

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

[ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.

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

[ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.

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

[ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.

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

[ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.

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

[ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.

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

[ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.

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

[ghstack-poisoned]
smessmer added 4 commits April 5, 2021 17:14
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.

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

[ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.

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

[ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.

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

[ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.

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

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

This pull request has been merged in 35caae6.

@facebook-github-bot facebook-github-bot deleted the gh/smessmer/300/head branch April 10, 2021 14:17
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.

5 participants