Switch default memory format of _like operators to Preserve#30087
Switch default memory format of _like operators to Preserve#30087VitalyFedyunin wants to merge 8 commits intogh/VitalyFedyunin/87/basefrom
Conversation
[ghstack-poisoned]
…e operators to Preserve" [ghstack-poisoned]
… Preserve" Differential Revision: [D18624986](https://our.internmc.facebook.com/intern/diff/D18624986) [ghstack-poisoned]
|
@ailzhang can you please take a look at XLA failure |
|
@VitalyFedyunin XLA is passing, no? ;) |
… of _like operators to Preserve" Differential Revision: [D18624986](https://our.internmc.facebook.com/intern/diff/D18624986) [ghstack-poisoned]
…ors to Preserve" Differential Revision: [D18624986](https://our.internmc.facebook.com/intern/diff/D18624986) [ghstack-poisoned]
…to Preserve" Differential Revision: [D18624986](https://our.internmc.facebook.com/intern/diff/D18624986) [ghstack-poisoned]
CircleCI build failures summaryAs of commit 093aa7c:
Detailed failure analysisOne may explore the probable reasons each build failed interactively on the Dr. CI website. 2 new failures recognized by patternsThe following build failures don't appear to be due to upstream breakage:
|
|
|
||
| auto memory_format = | ||
| optional_memory_format.value_or(MemoryFormat::Contiguous); | ||
| optional_memory_format.value_or(MemoryFormat::Preserve); |
There was a problem hiding this comment.
are you going to change new_empty (below)? I don't know what the right answer is, just asking.
There was a problem hiding this comment.
Eventually yes, as we start increasing support.
…serve" Differential Revision: [D18624986](https://our.internmc.facebook.com/intern/diff/D18624986) [ghstack-poisoned]
…serve" Differential Revision: [D18624986](https://our.internmc.facebook.com/intern/diff/D18624986) [ghstack-poisoned]
|
@VitalyFedyunin merged this pull request in 927588d. |
ghstack-source-id: 1bc2a0d Pull Request resolved: pytorch/pytorch#30087
Summary: Pull Request resolved: pytorch#30087 Test Plan: Imported from OSS Differential Revision: D18624986 Pulled By: VitalyFedyunin fbshipit-source-id: 8e434966f872ffaddf1249248ea445cbbab300ce
Stack from ghstack:
.tooperator to preserve strides whenselfshould be returned #31227 Fix.tooperator to preserve strides whenselfshould be returnedzeros,ones,full#31131 Add memory_format support tozeros,ones,full(still need tests)Differential Revision: D18624986