Skip to content

Arm backend: Fix torchtune NF4Tensor import - #21496

Open
bdemirb wants to merge 4 commits into
pytorch:mainfrom
bdemirb:fix/torchtune-nf4-import
Open

Arm backend: Fix torchtune NF4Tensor import#21496
bdemirb wants to merge 4 commits into
pytorch:mainfrom
bdemirb:fix/torchtune-nf4-import

Conversation

@bdemirb

@bdemirb bdemirb commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

CommitlyExtended fails while importing torchtune.modules.common_utils because the currently pinned torchtune revision imports NF4Tensor from torchao.quantization.

Bump torchtune to a revision that imports NF4Tensor from torchao.dtypes.nf4tensor, matching the torchao package installed in CI.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani

CommitlyExtended fails while importing torchtune.modules.common_utils
because the currently pinned torchtune revision imports NF4Tensor from
torchao.quantization.

Bump torchtune to a revision that imports NF4Tensor from
torchao.dtypes.nf4tensor, matching the torchao package installed in CI.

Signed-off-by: Baris Demir <baris.demir@arm.com>

Change-Id: I16d8fa47825337fe5575a3cfd4c1c545f3df3d71
@pytorch-bot

pytorch-bot Bot commented Jul 30, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 7 New Failures, 3 Pending

As of commit 0833668 with merge base 6683757 (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 Jul 30, 2026
@bdemirb

bdemirb commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot label "partner: arm"

@pytorch-bot pytorch-bot Bot added the partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm label Jul 30, 2026
@bdemirb

bdemirb commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot label "release notes: arm"

@pytorch-bot pytorch-bot Bot added the release notes: arm Changes to the ARM backend delegate label Jul 30, 2026
@Sebastian-Larsson

Copy link
Copy Markdown
Collaborator

@digantdesai please take a look at this one since it touches a file outside of our backend.

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. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: arm Changes to the ARM backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants