Skip to content

Arm backend: Fix stale VGF BatchNorm support documentation - #21905

Merged
perheld merged 1 commit into
pytorch:mainfrom
perheld:ph-vgf-batchnorm-doc
Aug 18, 2026
Merged

Arm backend: Fix stale VGF BatchNorm support documentation#21905
perheld merged 1 commit into
pytorch:mainfrom
perheld:ph-vgf-batchnorm-doc

Conversation

@perheld

@perheld perheld commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

The generated page retained INT support for torch.batch_norm even though the current VGF tests provide only FP evidence for torch.ops.aten.batch_norm.default.

The history explains how the page became stale. Quantized non-folded BatchNorm support landed first in #21710 on August 11. The initial VGF operator documentation generator followed in #21776 on August 12. The BatchNorm test cleanup then landed in #21836 on August 14 and changed quantized VGF tests to use aten_op=[] or report only conv2d. Finally, #21871 landed on August 15, adding the generated page to the pre-push hook.

Both BatchNorm changes are ancestors of #21871, and the generator and relevant tests have not changed since #21871. The generated page committed by #21871 was therefore already inconsistent with its final source tree, most likely because it was produced on an earlier PR state and retained when the PR was updated over the BatchNorm cleanup. The newly added hook could not validate that server-created squash commit, so the stale row was first exposed by a later local push.

This correction does not remove quantized BatchNorm support represented by torch.ops.aten._native_batch_norm_legit_no_training.default. Its separate torch.nn.BatchNorm2d/functional.batch_norm row remains FP and INT based on the convolution-combination tests.

Authored with Codex.

Change-Id: I32d9a3ec01eec250d4badcfe49e1ded4f855fe0d

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

@perheld
perheld requested a review from mergennachin as a code owner August 18, 2026 07:43
@perheld perheld added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk release notes: none Do not include this in the release notes labels Aug 18, 2026
@pytorch-bot

pytorch-bot Bot commented Aug 18, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 5b00385 with merge base d1b3242 (image):

BROKEN TRUNK - The following job 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 Aug 18, 2026
@github-actions github-actions Bot added the module: arm Issues related to arm backend label Aug 18, 2026
The generated page retained INT support for torch.batch_norm even though
the current VGF tests provide only FP evidence for
torch.ops.aten.batch_norm.default.

The history explains how the page became stale. Quantized non-folded
BatchNorm support landed first in pytorch#21710 on August 11. The initial VGF
operator documentation generator followed in pytorch#21776 on August 12. The
BatchNorm test cleanup then landed in pytorch#21836 on August 14 and changed
quantized VGF tests to use aten_op=[] or report only conv2d. Finally,
pytorch#21871 landed on August 15, adding the generated page to the pre-push
hook.

Both BatchNorm changes are ancestors of pytorch#21871, and the generator and
relevant tests have not changed since pytorch#21871. The generated page
committed by pytorch#21871 was therefore already inconsistent with its final
source tree, most likely because it was produced on an earlier PR state
and retained when the PR was updated over the BatchNorm cleanup. The
newly added hook could not validate that server-created squash commit,
so the stale row was first exposed by a later local push.

This correction does not remove quantized BatchNorm support represented
by torch.ops.aten._native_batch_norm_legit_no_training.default. Its
separate torch.nn.BatchNorm2d/functional.batch_norm row remains FP and
INT based on the convolution-combination tests.

Authored with Codex.

Change-Id: I32d9a3ec01eec250d4badcfe49e1ded4f855fe0d
Signed-off-by: Per Held <per.held@arm.com>
@perheld
perheld force-pushed the ph-vgf-batchnorm-doc branch from 4391064 to 5b00385 Compare August 18, 2026 07:43
@perheld
perheld requested a review from zingo August 18, 2026 07:50
@perheld
perheld merged commit bea0657 into pytorch:main Aug 18, 2026
496 of 497 checks passed
@perheld
perheld deleted the ph-vgf-batchnorm-doc branch August 18, 2026 09:18
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. module: arm Issues related to arm backend partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants