Skip to content

Conversation

@cccclai
Copy link
Contributor

@cccclai cccclai commented Oct 4, 2024

Summary: the schema file copy is an actual AOT step. It's a workaround but it has been here a while, probably easier to have it as part of the build script instead of manually doing it everytime

Differential Revision: D63878765

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 4, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 8e56591 with merge base e194feb (image):
💚 Looks good so far! There are no failures yet. 💚

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 Oct 4, 2024
@facebook-github-bot
Copy link
Contributor

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

Copy link
Collaborator

@shewu-quic shewu-quic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

cp -f backends/qualcomm/PyQnnWrapperAdaptor.cpython-310-x86_64-linux-gnu.so $EXECUTORCH_ROOT/backends/qualcomm/python

# Workaround for fbs files in exir/_serialize
cp schema/program.fbs exir/_serialize/program.fbs
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because base dir is build-x86 here.
I think that it could add $EXECUTORCH_ROOT here.

cp $EXECUTORCH_ROOT/schema/program.fbs $EXECUTORCH_ROOT/exir/_serialize/program.fbs
cp $EXECUTORCH_ROOT/schema/scalar_type.fbs $EXECUTORCH_ROOT/exir/_serialize/scalar_type.fbs


rm -f $PRJ_ROOT/backends/qualcomm/python/*
cp -fv $BUILD_ROOT/backends/qualcomm/Py* "$PRJ_ROOT/backends/qualcomm/python"
cp "$PRJ_ROOT/schema/program.fbs" "$PRJ_ROOT/exir/_serialize/program.fbs"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-fv

Copy link
Contributor

@chiwwang chiwwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to delegate to @haowhsu-quic , @shewu-quic . Please help. Thanks!

Copy link
Collaborator

@haowhsu-quic haowhsu-quic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for helping this.

Summary:

the schema file copy is an actual AOT step. It's a workaround but it has been here a while, probably easier to have it as part of the build script instead of manually doing it everytime

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 478a9b6.

@cccclai
Copy link
Contributor Author

cccclai commented Oct 7, 2024

@pytorchbot cherry-pick --onto release/0.4 -c docs

pytorchbot pushed a commit that referenced this pull request Oct 7, 2024
Summary:
Pull Request resolved: #5868

the schema file copy is an actual AOT step. It's a workaround but it has been here a while, probably easier to have it as part of the build script instead of manually doing it everytime

Reviewed By: kirklandsign

Differential Revision: D63878765

fbshipit-source-id: 7fc4b848b72e2859364e21cbea3dd1b433d6cd8e
(cherry picked from commit 478a9b6)
@pytorchbot
Copy link
Collaborator

Cherry picking #5868

The cherry pick PR is at #5939 The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

jackzhxng pushed a commit that referenced this pull request Oct 7, 2024
Improve the qcomm aot part docs (#5868)

Summary:
Pull Request resolved: #5868

the schema file copy is an actual AOT step. It's a workaround but it has been here a while, probably easier to have it as part of the build script instead of manually doing it everytime

Reviewed By: kirklandsign

Differential Revision: D63878765

fbshipit-source-id: 7fc4b848b72e2859364e21cbea3dd1b433d6cd8e
(cherry picked from commit 478a9b6)

Co-authored-by: Chen Lai <chenlai@meta.com>
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 Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants