pytorch / executorch

On-device AI across mobile, embedded and edge for PyTorch
https://pytorch.org/executorch/
Other
2.21k stars 368 forks source link

[ET-VK] Only use `LINEAR` tiling if it's available #6897

Closed SS-JIA closed 3 days ago

SS-JIA commented 6 days ago

Stack from ghstack (oldest at bottom):

Context

Recently, we switched to using VK_IMAGE_TILING_LINEAR to minimize memory footprint.

However, according to the Vulkan Spec the VK_IMAGE_TILING_LINEAR tiling may only be available for 2D textures.

Changes

Differential Revision: D66029137

pytorch-bot[bot] commented 6 days ago

:link: Helpful Links

:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/6897

Note: Links to docs will display an error until the docs builds have been completed.

:heavy_exclamation_mark: 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

:x: 1 New Failure

As of commit 3d162a9164296fc83bf6cea0943ea8c9ec7a420b with merge base 54899feb10667d30a667c672c7d8c4faf546c55e (image):

NEW FAILURE - The following job has failed:

* [Propose to merge ghstack orig PRs to main / Try to create a PR with ghstack /orig branch](https://hud.pytorch.org/pr/pytorch/executorch/6897#33209668990) ([gh](https://github.com/pytorch/executorch/actions/runs/11916611216/job/33209668990)) `github.GithubException.GithubException: 404 {"message": "Branch not found", "documentation_url": "https://docs.github.com/rest/branches/branches#get-a-branch", "status": "404"}`

This comment was automatically generated by Dr. CI and updates every 15 minutes.