Put symint overloads on a different name#79281
Put symint overloads on a different name#79281ezyang wants to merge 2 commits intogh/ezyang/1218/basefrom
Conversation
Due to implicit conversion shenanigans, having both IntArrayRef
and SymIntArrayRef overloads makes {} ambiguous. While we could
fix this by making a single unified type that accepts all the overloads
we want, an easier fix was to just push the SymIntArrayRef overload
to its own name.
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
[ghstack-poisoned]
Due to implicit conversion shenanigans, having both IntArrayRef
and SymIntArrayRef overloads makes {} ambiguous. While we could
fix this by making a single unified type that accepts all the overloads
we want, an easier fix was to just push the SymIntArrayRef overload
to its own name.
Signed-off-by: Edward Z. Yang <ezyangfb.com>
ghstack-source-id: 029d4a2
Pull Request resolved: #79281
🔗 Helpful links
✅ No Failures (0 Pending)As of commit 6865425 (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. |
Due to implicit conversion shenanigans, having both IntArrayRef
and SymIntArrayRef overloads makes {} ambiguous. While we could
fix this by making a single unified type that accepts all the overloads
we want, an easier fix was to just push the SymIntArrayRef overload
to its own name.
Signed-off-by: Edward Z. Yang <ezyangfb.com>
[ghstack-poisoned]
Due to implicit conversion shenanigans, having both IntArrayRef
and SymIntArrayRef overloads makes {} ambiguous. While we could
fix this by making a single unified type that accepts all the overloads
we want, an easier fix was to just push the SymIntArrayRef overload
to its own name.
Signed-off-by: Edward Z. Yang <ezyangfb.com>
ghstack-source-id: 24bab58
Pull Request resolved: #79281
|
@pytorchbot merge -g |
|
@pytorchbot successfully started a merge job. Check the current status here |
|
Merge failed due to HTTP Error 502: Bad Gateway |
|
@pytorchbot merge |
|
@pytorchbot successfully started a merge job. Check the current status here |
|
Hey @ezyang. |
Summary:
Due to implicit conversion shenanigans, having both IntArrayRef
and SymIntArrayRef overloads makes {} ambiguous. While we could
fix this by making a single unified type that accepts all the overloads
we want, an easier fix was to just push the SymIntArrayRef overload
to its own name.
Signed-off-by: Edward Z. Yang <ezyangfb.com>
Pull Request resolved: #79281
Approved by: https://github.com/suo
Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/213a8fc9927e2c90bd28a37f714950e4aa367ca6
Reviewed By: malfet
Differential Revision: D37114160
Pulled By: ezyang
fbshipit-source-id: 8a43b1841d5f45d89c96988221ec186c8d1f489e
|
@pytorchbot revert -m="Diff reverted internally" -c="ghfirst" |
|
@pytorchbot successfully started a revert job. Check the current status here |
This reverts commit 213a8fc. Reverted #79281 on behalf of https://github.com/bigfootjon due to Diff reverted internally
This relands #79281 Pull Request resolved: #79680 Approved by: https://github.com/malfet
…79680) Summary: This relands #79281 Pull Request resolved: #79680 Approved by: https://github.com/malfet Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/efc73437435927982c62e6964ef3409dfb4e458e Reviewed By: george-qi Differential Revision: D37212870 Pulled By: Krovatkin fbshipit-source-id: b26f91a1921a5c4de3a67f6d55e2ce89239c30c5
…9680) This relands pytorch#79281 Pull Request resolved: pytorch#79680 Approved by: https://github.com/malfet
Due to implicit conversion shenanigans, having both IntArrayRef
and SymIntArrayRef overloads makes {} ambiguous. While we could
fix this by making a single unified type that accepts all the overloads
we want, an easier fix was to just push the SymIntArrayRef overload
to its own name.
Signed-off-by: Edward Z. Yang <ezyangfb.com>
Pull Request resolved: pytorch#79281
Approved by: https://github.com/suo
This reverts commit 1c06c07. Reverted pytorch#79281 on behalf of https://github.com/bigfootjon due to Diff reverted internally
…9680) This relands pytorch#79281 Pull Request resolved: pytorch#79680 Approved by: https://github.com/malfet
Stack from ghstack (oldest at bottom):
Due to implicit conversion shenanigans, having both IntArrayRef
and SymIntArrayRef overloads makes {} ambiguous. While we could
fix this by making a single unified type that accepts all the overloads
we want, an easier fix was to just push the SymIntArrayRef overload
to its own name.
Signed-off-by: Edward Z. Yang ezyang@fb.com