Skip to content

Conversation

jackzhxng
Copy link
Contributor

@jackzhxng jackzhxng commented Sep 2, 2025

(Messed up the merge for the original stack, this is reland. Original PR with comments here - #13663)

Stack from ghstack (oldest at bottom):

Differential Revision: D81498749

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Sep 2, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit f2336f3 with merge base ea5cf49 (image):

NEW FAILURES - The following jobs have failed:

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

@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 Sep 2, 2025
@jackzhxng
Copy link
Contributor Author

@jackzhxng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@jackzhxng jackzhxng added the release notes: examples Changes to any of our example LLMs integrations, such as Llama3 and Llava label Sep 2, 2025
Comment on lines +85 to +88
std::vector<float> audio_data(batch_size * n_bins * n_frames);
f.read(
reinterpret_cast<char*>(audio_data.data()),
audio_data.size() * sizeof(float));
Copy link
Contributor

Choose a reason for hiding this comment

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

why allocate a vector and then later copy it into audio->data? instead we can f.read directly into audio->data.data()

@jackzhxng
Copy link
Contributor Author

Thanks for the drive by @swolchok !

(Messed up the merge for the original stack, this is reland. Original PR with comments here - #13663)


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

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

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

(Messed up the merge for the original stack, this is reland. Original PR with comments here - #13663)


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

[ghstack-poisoned]
jackzhxng added a commit that referenced this pull request Sep 4, 2025
Pull Request resolved: #13871




@imported-using-ghimport

Differential Revision: [D81498749](https://our.internmc.facebook.com/intern/diff/D81498749/)
ghstack-source-id: 307512426
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot merged commit a03a031 into gh/jackzhxng/35/base Sep 4, 2025
115 of 118 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/jackzhxng/35/head branch September 4, 2025 17:07
@pytorchbot pytorchbot mentioned this pull request Sep 4, 2025
jackzhxng added a commit that referenced this pull request Sep 4, 2025
This PR was created by the merge bot to help merge the original PR into
the main branch.
ghstack PR number: #13871 by
@jackzhxng
^ Please use this as the source of truth for the PR details, comments,
and reviews
ghstack PR base:
https://github.com/pytorch/executorch/tree/gh/jackzhxng/35/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/jackzhxng/35/head
Merge bot PR base:
https://github.com/pytorch/executorch/tree/gh/jackzhxng/34/orig
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/jackzhxng/35/orig
@diff-train-skip-merge

---------

Co-authored-by: Jack Zhang <32371937+jackzhxng@users.noreply.github.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 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