Skip to content

Ability to set external instance + devices #11393

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2025

Conversation

SamGondelman
Copy link
Contributor

@SamGondelman SamGondelman commented Jun 5, 2025

Summary: Adds a new function to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK. This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Differential Revision: D71372344

Copy link

pytorch-bot bot commented Jun 5, 2025

🔗 Helpful Links

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

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

❌ 1 Cancelled Job

As of commit 9df0d18 with merge base 120eb85 (image):

CANCELLED JOB - The following job was cancelled. Please retry:

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

@facebook-github-bot facebook-github-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 Jun 5, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71372344

@SamGondelman SamGondelman added the release notes: api Changes to public facing apis (any interfaces, pybinded runtime methods, etc.) label Jun 5, 2025
SamGondelman added a commit to SamGondelman/executorch that referenced this pull request Jun 5, 2025
Summary:

Adds a new extension to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK.  This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Differential Revision: D71372344
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71372344

SamGondelman added a commit to SamGondelman/executorch that referenced this pull request Jun 6, 2025
Summary:

Adds a new extension to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK.  This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Differential Revision: D71372344
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71372344

SamGondelman added a commit to SamGondelman/executorch that referenced this pull request Jun 6, 2025
Summary:

Adds a new extension to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK.  This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Differential Revision: D71372344
SamGondelman added a commit to SamGondelman/executorch that referenced this pull request Jun 6, 2025
Summary:

Adds a new extension to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK.  This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Reviewed By: SS-JIA

Differential Revision: D71372344
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71372344

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71372344

SamGondelman added a commit to SamGondelman/executorch that referenced this pull request Jun 6, 2025
Summary:
Pull Request resolved: pytorch#11393

Adds a new extension to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK.  This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Reviewed By: SS-JIA

Differential Revision: D71372344
SamGondelman added a commit to SamGondelman/executorch that referenced this pull request Jun 6, 2025
Summary:

Adds a new extension to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK.  This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Reviewed By: SS-JIA

Differential Revision: D71372344
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71372344

SamGondelman added a commit to SamGondelman/executorch that referenced this pull request Jun 6, 2025
Summary:
Pull Request resolved: pytorch#11393

Adds a new extension to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK.  This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Reviewed By: SS-JIA

Differential Revision: D71372344
SamGondelman added a commit to SamGondelman/executorch that referenced this pull request Jun 6, 2025
Summary:

Adds a new extension to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK.  This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Reviewed By: SS-JIA

Differential Revision: D71372344
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71372344

SamGondelman added a commit to SamGondelman/executorch that referenced this pull request Jun 6, 2025
Summary:
Pull Request resolved: pytorch#11393

Adds a new extension to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK.  This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Reviewed By: SS-JIA

Differential Revision: D71372344
SamGondelman added a commit to SamGondelman/executorch that referenced this pull request Jun 6, 2025
Summary:

Adds a new extension to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK.  This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Reviewed By: SS-JIA

Differential Revision: D71372344
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71372344

SamGondelman added a commit to SamGondelman/executorch that referenced this pull request Jun 6, 2025
Summary:
Pull Request resolved: pytorch#11393

Adds a new extension to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK.  This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Reviewed By: SS-JIA

Differential Revision: D71372344
SamGondelman added a commit to SamGondelman/executorch that referenced this pull request Jun 8, 2025
Summary:

Adds a new extension to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK.  This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Reviewed By: SS-JIA

Differential Revision: D71372344
SamGondelman added a commit to SamGondelman/executorch that referenced this pull request Jun 8, 2025
Summary:
Pull Request resolved: pytorch#11393

Adds a new extension to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK.  This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Reviewed By: SS-JIA

Differential Revision: D71372344
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71372344

SamGondelman added a commit to SamGondelman/executorch that referenced this pull request Jun 9, 2025
Summary:

Adds a new extension to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK.  This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Reviewed By: SS-JIA

Differential Revision: D71372344
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71372344

Summary:

Adds a new function to ETVK, set_and_get_external_adapter, which allows clients to share their Vulkan instance/devices with ETVK.  This is useful when using volk, which does not support multiple devices when using volkLoadDevice.

Reviewed By: SS-JIA

Differential Revision: D71372344
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71372344

@facebook-github-bot facebook-github-bot merged commit cbd3874 into pytorch:main Jun 11, 2025
95 of 98 checks passed
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. fb-exported release notes: api Changes to public facing apis (any interfaces, pybinded runtime methods, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants