Skip to content

fixed empty output from runtime executor in CPU flow #6184

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

Closed
wants to merge 1 commit into from

Conversation

zonglinpeng
Copy link
Contributor

@zonglinpeng zonglinpeng commented Oct 11, 2024

Summary:

  • add missing dependency dtype_util.cpp
  • it was missing etrecord. And dump-output is not toggled in executor.
  • Also enable runtime logging

Differential Revision: D64272605

Copy link

pytorch-bot bot commented Oct 11, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 96a064d with merge base 5512fe0 (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 11, 2024
@facebook-github-bot
Copy link
Contributor

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

@@ -52,6 +52,7 @@ set(_aten_ops__srcs
"${EXECUTORCH_ROOT}/kernels/portable/cpu/op_expand_copy.cpp"
"${EXECUTORCH_ROOT}/kernels/portable/cpu/op_gelu.cpp"
"${EXECUTORCH_ROOT}/kernels/portable/cpu/op_empty.cpp"
"${EXECUTORCH_ROOT}/kernels/portable/cpu/util/dtype_util.cpp"
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe move it up with the other utils?

@@ -14,7 +14,7 @@

from executorch.backends.cadence.aot.compiler import (
convert_pt2,
export_to_cadence,
export_to_cadence_edge_executorch,
Copy link
Contributor

Choose a reason for hiding this comment

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

is that API new? I don't see it in the changes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch. now ported.

zonglinpeng added a commit to zonglinpeng/executorch that referenced this pull request Oct 11, 2024
Summary:

- add missing dependency dtype_util.cpp
- it was missing etrecord. And dump-output is not toggled in executor.
- Also enable runtime logging

Reviewed By: Vysarat

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

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

zonglinpeng added a commit to zonglinpeng/executorch that referenced this pull request Oct 11, 2024
Summary:

- add missing dependency dtype_util.cpp
- it was missing etrecord. And dump-output is not toggled in executor.
- Also enable runtime logging

Reviewed By: Vysarat

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

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

@@ -197,11 +204,12 @@ def export_to_edge(
# Export the model and lower it to an EdgeProgramManager (in edge IR), and
# apply passes specific to Cadence DSP execution. Return both to print the
# differences.
def export_to_cadence(
def export_to_cadence_edge_executorch(
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need "edge"?

Summary:

- add missing dependency dtype_util.cpp
- it was missing etrecord. And dump-output is not toggled in executor.
- Also enable runtime logging

Reviewed By: Vysarat, mcremon-meta

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in cd2d2b4.

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.

4 participants