Skip to content

Conversation

mergennachin
Copy link
Contributor

@mergennachin mergennachin commented Sep 11, 2025

Summary:

torchcodec is used when only torchaudio users use torch.save and torch.load. It is an optional requirement.

Only moshi test uses torch.save and torch.load, and we shouldn't make this to install across the board.

Currently, it is blocking linux aarch64 wheel building (#13946) because during smoke testing it is trying to install torchcodec on linux aarch64 machine and it is failing

Summary:

torchcodec is used when only torchaudio users use torch.save and torch.load. It is an optional requirement.

Only moshi test uses torch.save and torch.load, and we should make this to install across the board.

Currently, it is blocking linux aarch64 wheel building (#13946) because during smoke testing it is trying to install torchcodec on linux aarch64 machine and it is failing
Copy link

pytorch-bot bot commented Sep 11, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 6 Unrelated Failures

As of commit dfccb1c with merge base 2805a81 (image):

NEW FAILURE - The following job has failed:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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 11, 2025
Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

This makes sense to me, I agree you probably don't want torchcodec to be a hard install-time dependency of executorch

@mergennachin mergennachin merged commit 9d2d188 into main Sep 11, 2025
297 of 312 checks passed
@mergennachin mergennachin deleted the codec_2 branch September 11, 2025 15:12
StrycekSimon pushed a commit to nxp-upstream/executorch that referenced this pull request Sep 23, 2025
Summary:

torchcodec is used when only torchaudio users use torch.save and
torch.load. It is an optional requirement.

Only moshi test uses torch.save and torch.load, and we shouldn't make
this to install across the board.

Currently, it is blocking linux aarch64 wheel building
(pytorch#13946) because during smoke
testing it is trying to install torchcodec on linux aarch64 machine and
it is failing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants