Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/24152
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 3 Cancelled Jobs, 6 Unrelated FailuresAs of commit ffb9430 with merge base 05092c1 ( NEW FAILURE - The following job has failed:
CANCELLED JOBS - The following jobs were cancelled. Please retry:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
I’d prefer to enforce this in view lowering instead of adding another correctness requirement behind Concretely, I suggest:
For validation, parameterize the channels-last flatten runtime test over both |
Only replace view_copy with a shared-storage view when its input is contiguous. Retain mutation safety checks and copy channels-last inputs in logical order in the portable kernel, keeping the existing memcpy fast path for contiguous inputs. Cover layout and view-removal configurations, safe contiguous views, and the Cortex-M patch-token regression. Authored with assistance from OpenAI Codex. Change-Id: Icdc64484edb8085cdb15411f38c00d001232d9a9 Signed-off-by: Zingo Andersen <Zingo.Andersen@arm.com>
db3c6d3 to
260036a
Compare
|
@rascani would this update match your idea, the new PR turned out quite differently, I should maybe started a new PR instead of force pushing to the same, sorry about that. |
Summary
Only replace view_copy with a shared-storage view when its input is
contiguous. Retain mutation safety checks and copy channels-last
inputs in logical order in the portable kernel, keeping the existing
memcpy fast path for contiguous inputs.
Test plan
Cover layout and view-removal configurations, safe contiguous views,
and the Cortex-M patch-token regression.
Authored with assistance from OpenAI Codex.
cc @digantdesai @freddan80 @per @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani