Skip to content

Conversation

@nathanaelsee
Copy link
Contributor

@nathanaelsee nathanaelsee commented Feb 26, 2025

Summary:
Since this import is at the global scope of the module, this import only works if llama/source_transformation module is being used in libraries where the vulkan dependency is already included.
In some cases this dep can fail to be linked causing export script failures.

Moving the import to where it's actually needed.

Differential Revision: D70268708

cc @mergennachin @cccclai @helunwencser @jackzhxng

@pytorch-bot
Copy link

pytorch-bot bot commented Feb 26, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit a76485f with merge base 1caa0a1 (image):

NEW FAILURE - The following job has failed:

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

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

@nathanaelsee nathanaelsee added release notes: examples Changes to any of our example LLMs integrations, such as Llama3 and Llava module: llm Issues related to LLM examples and apps, and to the extensions/llm/ code labels Feb 26, 2025
Summary:

Since this import is at the global scope of the module, this import only works if llama/source_transformation module is being used in libraries where the vulkan dependency is already included.
In some cases this dep can fail to be linked causing export script failures.

Moving the import to where it's actually needed.

Reviewed By: derekxu, SS-JIA

Differential Revision: D70268708
@facebook-github-bot facebook-github-bot merged commit 09b592b into pytorch:main Feb 26, 2025
48 of 49 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 module: llm Issues related to LLM examples and apps, and to the extensions/llm/ code release notes: examples Changes to any of our example LLMs integrations, such as Llama3 and Llava

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants