Skip to content

Conversation

jerryzh168
Copy link
Contributor

@jerryzh168 jerryzh168 commented Aug 21, 2020

Stack from ghstack:

Summary:
So that adding more binary op tests are easier

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: D23257046

Summary:
So that adding more binary op tests are easier

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@dr-ci
Copy link

dr-ci bot commented Aug 21, 2020

💊 CI failures summary and remediations

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


  • 1/1 failures introduced in this PR

XLA failure

Job pytorch_xla_linux_bionic_py3_6_clang9_test is failing. Please create an issue with title prefixed by [PT_BREAK] in pytorch/xla and link to to this PR. If you have questions, please reach out to @ailzhang / @dlibenzi / @JackCaoG.


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 on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 5 times.

Comment on lines +229 to 238
# class NonQuantizedOp(torch.nn.Module):
# def __init__(self, is_inplace, is_scalar):
# super(NonQuantizedOp, self).__init__()
# self.is_scalar = is_scalar
# self.op = ibinary_op if is_inplace else binary_op

# def forward(self, x, y):
# return x + y

# class NonQuantizedInplaceAdd(torch.nn.Module):
# def __init__(self):
# super(NonQuantizedInplaceAdd, self).__init__()

# def forward(self, x, y):
# x += y
# y = 3 if self.is_scalar else y
# x = self.op(x, y)
# return x
Copy link

Choose a reason for hiding this comment

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

Do we still need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we'll either remove or enable this after we decide what to do in this case

… add test"

Summary:
So that adding more binary op tests are easier

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

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

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

This pull request has been merged in ff454cc.

@facebook-github-bot facebook-github-bot deleted the gh/jerryzh168/402/head branch August 25, 2020 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants