Properly setup __name__ on unary refs functions.#79178
Properly setup __name__ on unary refs functions.#79178ezyang wants to merge 5 commits intogh/ezyang/1217/basefrom
Conversation
My hands hurt now. Yes I could have added type annotations if you care do it yourself. Signed-off-by: Edward Z. Yang <ezyang@fb.com> [ghstack-poisoned]
🔗 Helpful links
✅ No Failures (0 Pending)As of commit bd7b4b0 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
My hands hurt now. Yes I could have added type annotations if you care do it yourself. Signed-off-by: Edward Z. Yang <ezyangfb.com> [ghstack-poisoned]
My hands hurt now. Yes I could have added type annotations if you care do it yourself. Signed-off-by: Edward Z. Yang <ezyangfb.com> [ghstack-poisoned]
|
|
||
| @_make_elementwise_unary_reference(ELEMENTWISE_TYPE_PROMOTION_KIND.ALWAYS_BOOL) | ||
| def signbit(a): | ||
| return prims.sign(a) |
mruberry
left a comment
There was a problem hiding this comment.
Stamp to unblock but test failures are real (see inline comment, refs.signbit is calling sign)
My hands hurt now. Yes I could have added type annotations if you care do it yourself. Signed-off-by: Edward Z. Yang <ezyangfb.com> [ghstack-poisoned]
My hands hurt now. Yes I could have added type annotations if you care do it yourself. Signed-off-by: Edward Z. Yang <ezyangfb.com> [ghstack-poisoned]
|
@pytorchbot merge -g |
|
@pytorchbot successfully started a merge job. Check the current status here |
|
Hey @ezyang. |
Summary: My hands hurt now. Yes I could have added type annotations if you care do it yourself. Signed-off-by: Edward Z. Yang <ezyangfb.com> Pull Request resolved: #79178 Approved by: https://github.com/mruberry Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/b18ba7e0364f2af4a1831b343681cc5e04ed1e57 Reviewed By: osalpekar Differential Revision: D37059341 Pulled By: osalpekar fbshipit-source-id: b8f06c8d070d9c043b1a50ee396a738d2334605c
My hands hurt now. Yes I could have added type annotations if you care do it yourself. Signed-off-by: Edward Z. Yang <ezyangfb.com> Pull Request resolved: pytorch#79178 Approved by: https://github.com/mruberry
Stack from ghstack (oldest at bottom):
My hands hurt now. Yes I could have added type annotations if you care do it
yourself.
Signed-off-by: Edward Z. Yang ezyang@fb.com