Skip to content

[ET-VK][testing] Add ETVK_FORCE_NO_EXTENSIONS debug flag#17705

Merged
SS-JIA merged 1 commit intogh/SS-JIA/448/basefrom
gh/SS-JIA/448/head
Feb 25, 2026
Merged

[ET-VK][testing] Add ETVK_FORCE_NO_EXTENSIONS debug flag#17705
SS-JIA merged 1 commit intogh/SS-JIA/448/basefrom
gh/SS-JIA/448/head

Conversation

@SS-JIA
Copy link
Copy Markdown
Contributor

@SS-JIA SS-JIA commented Feb 25, 2026

Stack from ghstack (oldest at bottom):

Add a build config flag etvk.force_no_extensions that causes all
Vulkan extension support queries in Adapter.h to return false. This
makes it easy to test fallback code paths for devices that lack
optional extensions (e.g. 8-bit storage buffers, float16, dot product)
on a development host that would otherwise report support for them.

Enable with: --config etvk.force_no_extensions=1

Differential Revision: D94314257

Add a build config flag `etvk.force_no_extensions` that causes all
Vulkan extension support queries in Adapter.h to return false. This
makes it easy to test fallback code paths for devices that lack
optional extensions (e.g. 8-bit storage buffers, float16, dot product)
on a development host that would otherwise report support for them.

Enable with: --config etvk.force_no_extensions=1

Differential Revision: [D94314257](https://our.internmc.facebook.com/intern/diff/D94314257/)

[ghstack-poisoned]
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Feb 25, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/17705

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

❌ 2 New Failures, 2 Unrelated Failures

As of commit c66108b with merge base 63f9724 (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

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

SS-JIA pushed a commit that referenced this pull request Feb 25, 2026
Add a build config flag `etvk.force_no_extensions` that causes all
Vulkan extension support queries in Adapter.h to return false. This
makes it easy to test fallback code paths for devices that lack
optional extensions (e.g. 8-bit storage buffers, float16, dot product)
on a development host that would otherwise report support for them.

Enable with: --config etvk.force_no_extensions=1

Differential Revision: [D94314257](https://our.internmc.facebook.com/intern/diff/D94314257/)

ghstack-source-id: 344664016
Pull Request resolved: #17705
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 25, 2026
@github-actions
Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@SS-JIA SS-JIA merged commit ff8104b into gh/SS-JIA/448/base Feb 25, 2026
200 of 211 checks passed
@SS-JIA SS-JIA deleted the gh/SS-JIA/448/head branch February 25, 2026 19:53
@SS-JIA SS-JIA temporarily deployed to cherry-pick-bot February 25, 2026 19:53 — with GitHub Actions Inactive
SS-JIA pushed a commit that referenced this pull request Feb 25, 2026
Add a build config flag `etvk.force_no_extensions` that causes all
Vulkan extension support queries in Adapter.h to return false. This
makes it easy to test fallback code paths for devices that lack
optional extensions (e.g. 8-bit storage buffers, float16, dot product)
on a development host that would otherwise report support for them.

Enable with: --config etvk.force_no_extensions=1

Differential Revision: [D94314257](https://our.internmc.facebook.com/intern/diff/D94314257/)

ghstack-source-id: 344664016
Pull Request resolved: #17705
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants