Skip to content

[mkldnn][22/N] Remove the ideep submodule - #206277

Open
frost-intel wants to merge 5 commits into
gh/frost-intel/20/basefrom
gh/frost-intel/20/head
Open

frost-intel wants to merge 5 commits into
gh/frost-intel/20/basefrom
gh/frost-intel/20/head

Conversation

@frost-intel

@frost-intel frost-intel commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Stack from ghstack (oldest at bottom):

Linked issue or supporting maintainer

Part of #154444

BC-breaking?

No

Summary (human written only)

Removes the ideep submodule, including #include statements, references in comments, build setup, and related files.

Agent details (if applicable)

Developed with assistance from Claude Opus 5.5.

Part of #154444 (remove the ideep submodule).

ATen no longer calls into ideep: its operators, tensor, engine, stream, attributes, primitive cache and utilities now live in aten/src/ATen/native/mkldnn/detail/. This PR pins oneDNN as a direct submodule, third_party/oneDNN, drops the last ideep includes, and deletes third_party/ideep. The pin was #201052; maintainers asked for it to land last, so it is part of this PR.

oneDNN pin

  • third_party/oneDNN is added at a190d4ab (v3.14.1), the same commit ideep's nested mkl-dnn pins today, so the compiled oneDNN is unchanged. FindMKLDNN.cmake builds the CPU library and oneDNN Graph from it. The XPU build is unchanged.
  • FindMKLDNN.cmake drops a cached MKLDNN_INCLUDE_DIR / LLGA_INCLUDE_DIR only when it points into third_party/ideep, which older build directories cached. A value passed with -D is kept. Its submodule-init fallback is removed; cmake/PreBuildSteps.cmake already initializes every .gitmodules path.
  • oneDNN's licenses ship from third_party/oneDNN (pyproject.toml, license audit manifest). OWNERSHIP/CODEOWNERS list /third_party/oneDNN; labeler.yml and merge_rules.yaml drop the nonexistent third_party/mkl-dnn.BUILD; comments in jit/codegen/onednn point at third_party/oneDNN.

Changes

  • The 10 remaining #include <ideep...> lines are removed.

  • ideep's version gates become oneDNN version gates: IDEEP_VERSION_* -> DNNL_VERSION_*, and IDEEP_PREREQ(a, b, c, r) -> DNNL_PREREQ(a, b, c). IDEEP_PREREQ also checked ideep's own API revision, which is 4, and every call site asked for revision 4 or lower. So that check was always true, and each gate takes the same branch as before.

  • detail/IdeepUtils.h takes over ideep's <omp.h> include and its omp_get_max_threads() fallback for builds without OpenMP. The primitive cache keys use it.

  • FindMKLDNN.cmake no longer looks for ideep headers, and no longer defines IDEEP_USE_MKL, which only ideep read.

  • ideep is removed from .gitmodules, the pyproject.toml license-files list, the license audit manifest, labeler.yml, merge_rules.yaml and OWNERSHIP/CODEOWNERS; third_party/oneDNN takes its place.

  • DNNL_PREREQ moves from MKLDNNCommon.h to a new detail/Version.h that includes only <oneapi/dnnl/dnnl_version.h>. CPUBlas.cpp uses it for its oneDNN version gates without pulling the mkldnn headers into the core BLAS code.

  • Keeps ideep's MIT license next to the ported code as aten/src/ATen/native/mkldnn/detail/LICENSE.ideep, listed in pyproject.toml license-files and the license audit manifest, and adds that directory to the audit's discovery globs.

Deviation

  • In qconv.cpp and qconv_prepack.cpp, the #elif IDEEP_PREREQ(3, 1, 0, 0) branches are removed. They targeted ideep API revision 0, which used reciprocal weight scales (1 / scale). That revision was replaced by revision 1, and these branches could not be compiled in with the bundled ideep (revision 4). Keeping them under a plain oneDNN version check would be wrong: if one were ever selected, every int8 conv would get inverted weight scales. The gates that depend only on the oneDNN version (< 3.1, 3.5 vs 3.6+, 3.9+, 3.13+) are kept as DNNL_PREREQ checks. The removed revision-0 branch in qconv.cpp carried a TODO (leslie) about removing the weight-scale reciprocal and two copies of the scales; it goes with that branch. The revision-1 branch that remains already passes the scales without the reciprocal.
  • The unreachable TORCH_CHECK(false, "Unexpected IDeep version ...") messages now say "oneDNN".
  • test_mkldnn.py::test_mkldnn_layer_norm and its FileCheck import are removed. It only exercised the TorchScript frozen-graph pass, and TorchScript is being deleted.
  • Leftover ideep mentions are updated: the unsupported-dtype error and two comments in MKLDNNConversions.cpp, the rnn_kind reference in torch/_decomp/decompositions.py (now detail/IdeepUtils.h), and an outdated ideep-version comment in Version.cpp.

Notes for reviewers

  • PyTorch has no system-oneDNN build path: FindMKLDNN.cmake always builds third_party/oneDNN, so there is no separate minimum-version check to enforce.
  • Existing checkouts keep an untracked third_party/ideep directory after updating. It is ignored by the build and the license audit; to remove it: rm -rf third_party/ideep, plus .git/modules/third_party/ideep in the git directory.

Testing

This PR:

  • Builds from a fresh CMake configure with third_party/ideep absent. No compile command references ideep, and libtorch_cpu.so defines no ideep:: symbols.
  • 21/N, the PR before this one, builds from scratch with oneDNN still taken from ideep's nested copy and passes test_mkldnn.py, so nothing earlier in the series needs the pin.
  • Compiles cleanly with -Wall -Wextra -Wsign-compare -Werror in release and debug builds. The license audit and lintrunner are clean.
  • Upstream wheels never shipped ideep headers in torch/include, so C++ extensions are not affected.

Whole series, compared with the main commit it is based on: both builds were made with identical settings (only the commit differs) and tested on an Intel Xeon 6960P.

  • Numerics: 202 fixed-seed outputs of oneDNN-backed ops are bitwise identical. They cover mkldnn tensors; fp32/bf16/fp16 convolution and backward; LSTM; matmul with bf16/tf32 fp32-math modes; the Inductor mkldnn::*_pointwise and onednn::q*_pointwise ops; quantized linear, conv and conv-transpose; and torch.compile with freezing. The oneDNN primitives they run are identical too.
  • Primitive cache: the number of oneDNN primitive creations is identical (465 vs 465) for a workload that changes shapes, scales and thread counts, at the default LRU_CACHE_CAPACITY and at LRU_CACHE_CAPACITY=1.
  • Tests: per-test outcomes and executed oneDNN primitives are identical across 13 suite runs (about 1,250 tests). The suites are test_mkldnn, nn/test_convolution -k mkldnn, quantization/core/test_quantized_op, bf16/fp16 test_linalg, the CPU LSTM tests in test_nn, inductor/test_mkldnn_pattern_matcher, inductor/test_cpu_repro (conv/linear) and the mkldnn tests in test_aot_inductor. test_mkldnn and test_quantized_op were also run with ONEDNN_MAX_CPU_ISA set to AVX2 and to AVX512_CORE. The failures that do occur happen identically on main and are tracked separately.
  • Performance: all 16 op microbenchmarks are within ±3%, both with primitives cached and when a new primitive is created on every call. Measured over 7 alternating rounds, pinned to 16 cores on one NUMA node.
  • Binary size: libtorch_cpu.so .text +2.9 KB. The exported-symbol changes are listed in 21/N.

These measurements were taken when this PR was first submitted. Since then the series has only had review changes (rewritten comments, removed dead code and unused includes, a typo rename); none change behavior. The rebuilt stack passes -Wall -Wextra -Wsign-compare -Werror per commit, and test_mkldnn, the mkldnn conv tests and the quantized conv/linear tests were rerun at the tip.

Previously submitted as #204808.

Differential Revision: D135688231

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

PR Status: Approved 🚀

Please fix all CI failures and trigger merge by commenting "@pytorchbot merge".

✅ AUTOMATED REVIEW - OUTDATED (earlier commit) - Ready for human review:

The PR removes the third_party/ideep submodule, adds third_party/oneDNN directly
at the same commit, and moves the version gates, build, license and ownership
files from ideep to oneDNN. The review recommends Approve. Every point it raises
is non-blocking.

Findings (7):

[minor] aten/src/ATen/native/quantized/cpu/qconv.cpp:1766
Leftover ideep references (non-blocking). The description says leftover mentions
were updated, but files this PR edits still have them: MKLDNNCommon.h:31-53 (doc
comments on TORCH_API functions still describe `ideep::tensor`),
MKLDNNCommon.cpp:97-98 and 233-237, MKLDNNConversions.cpp:52, qlinear.cpp:839,
mkldnn/Utils.h:135, frozen_ops_to_mkldnn.cpp:242 and 1005, and
qconv.cpp:1551-1552 and 1766-1767. The last one sits directly under the
rewritten `#if DNNL_PREREQ(3, 1, 0)` and still says "instead of prepare/compute
from ideep". Some identifiers also keep the old name: `IDeepTensorWrapper`,
`deserialized_ideep_desc`, `ideep_lowp_kind`, `accum_ideep_*`. The "Ported from
ideep::" comments under `detail/` are intentional and are not part of this
point.

[minor] aten/src/ATen/native/mkldnn/MKLDNNConversions.cpp:472
Dead `#else` branch (non-blocking). The `#else` of `#if
defined(DNNL_VERSION_MAJOR) && DNNL_VERSION_MAJOR>=3` calls
`w.get_desc().is_rnn_packed()`. `MkldnnMemory::desc` (`detail/Memory.h:97`) has
only `is_plain` and `is_opaque`, so this branch is dead and would not compile if
selected. The PR already removes other unreachable branches (the revision-0
qconv paths). For consistency, replace this block with the plain `is_opaque() ||
is_plain()` return.

[minor] aten/src/ATen/native/mkldnn/detail/Version.h:18
Unreachable fallback in `Version.h` (non-blocking). This keeps `#define
DNNL_PREREQ(major, minor, patch) 0`. The header includes
`<oneapi/dnnl/dnnl_version.h>` itself, so the fallback can't be reached. If it
ever were, every gate would quietly evaluate false: the CPUBlas ukernel and FP8
paths would turn off, and qconv would fail only at runtime with "Unexpected
oneDNN version". An `#error` would catch that at compile time. The block was
moved verbatim from `MKLDNNCommon.h`, but it now lives in a dedicated version
header.

[minor] .github/merge_rules.yaml:538
Merge rule name (non-blocking). The rule is still named `IDEEP`, although its
patterns now cover `third_party/oneDNN`.

[minor] cmake/Modules/FindMKLDNN.cmake:137
Submodule-init description is inaccurate (non-blocking). The description says
`cmake/PreBuildSteps.cmake` "already initializes every `.gitmodules` path". It
doesn't: it runs `git submodule update --init --recursive` only when every
submodule directory is empty (`PreBuildSteps.cmake:33-48`). Otherwise it stops
with FATAL_ERROR "Submodule ... appears incomplete" (`:73-78`), so an existing
checkout that pulls this commit stops there until the developer runs `git
submodule update --init`. The removed fallback here wouldn't have helped, since
it only initialized ideep's nested `mkl-dnn`. With `USE_SYSTEM_LIBS=ON`,
PreBuildSteps skips that check. FindMKLDNN then prints "MKLDNN source files not
found!", and `Dependencies.cmake:1631-1633` only warns before turning
`USE_MKLDNN` off, so the build goes on without oneDNN. Fix: correct the
description and tell developers to re-run the submodule update. Optionally, fail
with FATAL_ERROR in `FindMKLDNN.cmake` when `third_party/oneDNN` is empty and
MKLDNN was requested.

(2 more not shown, see the review run)

Reviewed commit: a987e9d (NOT the current head cac285b)

Review run

🐛 Report a bad review

🔗 Helpful Links

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

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

❌ 1 Cancelled Job

As of commit cac285b with merge base d54e485 (image):

CANCELLED JOB - The following job was cancelled. Please retry:

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

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@frost-intel frost-intel added topic: not user facing topic category in progress PR is being worked on by the author, until the automated review accepts it and removed release notes: quantization release notes category labels Nov 25, 2026
github-actions[bot]

This comment was marked as outdated.

@albanD albanD left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🎉

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Starting merge as part of PR stack under #206630

pytorchmergebot pushed a commit that referenced this pull request Nov 25, 2026
## Linked issue or supporting maintainer
Part of #154444

## BC-breaking?
No

## Summary (human written only)
Replaces any references to ideep in comments with mkldnn references reflecting the current code.

## Agent details (if applicable)
Developed with assistance from Claude Opus 5.5.

> Part of #154444 (remove the ideep submodule).
>
> Comment-only. After ideep is removed, comments in `aten/src/ATen/native/mkldnn/` and `aten/src/ATen/native/quantized/cpu/` still describe ideep doing the work. They now name what does it: `MkldnnMemory` for ideep tensors, `matmul_forward` / `mkldnn::inner_product_forward` for ideep operators, the oneDNN wrappers for "ideep (mkldnn bridge)", and oneDNN where the comment means the library.
>
> Left as-is on purpose: "Ported from ideep" provenance notes, ideep comments that were ported with the code in `detail/`, and identifiers that still say ideep (`DeviceType::IDEEP`, `IDeepRegistration.cpp`, `make_ideep_tensor`).
>
> What changed: 10 files, +33/−33, all comment lines.

Pull Request resolved: #206278
Approved by: https://github.com/albanD
ghstack dependencies: #205978, #205979, #205980, #206276, #206277
pytorchmergebot pushed a commit that referenced this pull request Nov 25, 2026
…n Attr (#206279)

## Linked issue or supporting maintainer
Part of #154444

## BC-breaking?
No

## Summary (human written only)
Changing `inner_product_forward_expected_weights_desc` to take an `Attr` parameter as its last argument, allowing the packed weight layout to depend on primitive attributes. This was requested by @mriganks-amd for upcoming ZenDNN fp16 accumulation support.

## Agent details (if applicable)
Developed with assistance from Claude Opus 5.5.

> Part of #154444. Requested by AMD for ZenDNN fp16 accumulation (#204794).
>
> `inner_product_forward_expected_weights_desc` now takes `const Attr& attr = Attr()` as its last parameter and passes it to the `dnnl::inner_product_forward::primitive_desc`, as `matmul_forward_expected_weights_desc` already does. The packed weight layout can depend on primitive attributes. For example, with ZenDNN's fp16 "any" accumulation mode, a weight packed with default attributes runs on brgemm even with the mode set. Callers can now pack with the attributes they compute with.
>
> No behavior change: the only caller, `mkldnn_reorder_linear_weight` in `MKLDNNConversions.cpp`, does not pass `attr`, and a default `Attr` is an empty `dnnl::primitive_attr`, which is what oneDNN uses when no attributes are given. This is an API addition on top of the port; ideep's version takes no attributes.
>
> Testing: compiles with `-Wall -Wextra -Wsign-compare -Werror` in release and debug builds; `test_mkldnn`, the mkldnn conv tests and the quantized conv/linear tests pass at the tip.

Pull Request resolved: #206279
Approved by: https://github.com/albanD
ghstack dependencies: #205978, #205979, #205980, #206276, #206277, #206278
pytorchmergebot pushed a commit that referenced this pull request Nov 25, 2026
## Linked issue or supporting maintainer
Part of #154444

## BC-breaking?
No

## Summary (human written only)
Rename all itensor functions to `memory_*` to eliminate all itensor references in ideep port.

## Agent details (if applicable)
Developed with assistance from Claude Opus 5.5.

> Part of #154444 (remove the ideep submodule).
>
> Follows the `ITensor` -> `MkldnnMemory` rename. The helpers that convert between `at::Tensor` and `MkldnnMemory` drop their `itensor` prefix. This is a mechanical rename with no behavior change:
> - `itensor_from_mkldnn` -> `memory_from_mkldnn`
> - `itensor_from_tensor` -> `memory_from_tensor`
> - `itensor_from_const_tensor` -> `memory_from_const_tensor`
> - `itensor_view_from_dense` -> `memory_view_from_dense`
> - `itensor_view_from_const_dense` -> `memory_view_from_const_dense`
> - `itensor_view_from_dense_impl` -> `memory_view_from_dense_impl` (file-local)
> - `new_with_itensor_mkldnn` -> `new_with_mkldnn_memory`
> - `typed_itensor_view_from_dense` -> `typed_mkldnn_memory_view_from_dense` (file-local)
>
> These are internal ATen helpers declared in `MKLDNNCommon.h`, so their exported symbol names change, as with the helpers in 21/N.
Pull Request resolved: #206630
Approved by: https://github.com/albanD
ghstack dependencies: #205978, #205979, #205980, #206276, #206277, #206278, #206279
pytorchmergebot added a commit that referenced this pull request Nov 27, 2026
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@frost-intel your PR has been reverted as part of the stack under #206276.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Automated review of a987e9d: nothing blocking; ready for human review.

The PR removes the third_party/ideep submodule, adds third_party/oneDNN directly at the same commit, and moves the version gates, build, license and ownership files from ideep to oneDNN. The review recommends Approve. Every point it raises is non-blocking.

⚪ 7 non-blocking findings are attached to the code below, collapsed.

This review is AI-generated and advisory. Each new automated review replaces the previous one. Report a bad review


#if IDEEP_PREREQ(3, 1, 0, 0)
#if DNNL_PREREQ(3, 1, 0)
// Use oneDNN's APIs instead of prepare/compute from ideep to reduce integration overhead.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚪ Leftover ideep references (non-blocking).

The description says leftover mentions were updated, but files this PR edits still have them: MKLDNNCommon.h:31-53 (doc comments on TORCH_API functions still describe ideep::tensor), MKLDNNCommon.cpp:97-98 and 233-237, MKLDNNConversions.cpp:52, qlinear.cpp:839, mkldnn/Utils.h:135, frozen_ops_to_mkldnn.cpp:242 and 1005, and qconv.cpp:1551-1552 and 1766-1767. The last one sits directly under the rewritten #if DNNL_PREREQ(3, 1, 0) and still says "instead of prepare/compute from ideep". Some identifiers also keep the old name: IDeepTensorWrapper, deserialized_ideep_desc, ideep_lowp_kind, accum_ideep_*. The "Ported from ideep::" comments under detail/ are intentional and are not part of this point.

Report this finding

#if defined(DNNL_VERSION_MAJOR) && DNNL_VERSION_MAJOR>=3
return w.get_desc().is_opaque() || w.get_desc().is_plain();
# else
return w.get_desc().is_rnn_packed() || w.get_desc().is_plain();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚪ Dead #else branch (non-blocking).

The #else of #if defined(DNNL_VERSION_MAJOR) &amp;&amp; DNNL_VERSION_MAJOR&gt;=3 calls w.get_desc().is_rnn_packed(). MkldnnMemory::desc (detail/Memory.h:97) has only is_plain and is_opaque, so this branch is dead and would not compile if selected. The PR already removes other unreachable branches (the revision-0 qconv paths). For consistency, replace this block with the plain is_opaque() || is_plain() return.

Report this finding

(DNNL_VERSION_PATCH << 0)) >= \
((major << 16) + (minor << 8) + (patch << 0)))
#else
#define DNNL_PREREQ(major, minor, patch) 0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚪ Unreachable fallback in Version.h (non-blocking).

This keeps #define DNNL_PREREQ(major, minor, patch) 0. The header includes &lt;oneapi/dnnl/dnnl_version.h&gt; itself, so the fallback can't be reached. If it ever were, every gate would quietly evaluate false: the CPUBlas ukernel and FP8 paths would turn off, and qconv would fail only at runtime with "Unexpected oneDNN version". An #error would catch that at compile time. The block was moved verbatim from MKLDNNCommon.h, but it now lives in a dedicated version header.

Report this finding

Comment thread .github/merge_rules.yaml
@@ -537,11 +537,8 @@

- name: IDEEP

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚪ Merge rule name (non-blocking).

The rule is still named IDEEP, although its patterns now cover third_party/oneDNN.

Report this finding


IF(NOT IDEEP_INCLUDE_DIR OR NOT MKLDNN_INCLUDE_DIR)
IF(NOT MKLDNN_INCLUDE_DIR)
MESSAGE(STATUS "MKLDNN source files not found!")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚪ Submodule-init description is inaccurate (non-blocking).

The description says cmake/PreBuildSteps.cmake "already initializes every .gitmodules path". It doesn't: it runs git submodule update --init --recursive only when every submodule directory is empty (PreBuildSteps.cmake:33-48). Otherwise it stops with FATAL_ERROR "Submodule ... appears incomplete" (:73-78), so an existing checkout that pulls this commit stops there until the developer runs git submodule update --init. The removed fallback here wouldn't have helped, since it only initialized ideep's nested mkl-dnn. With USE_SYSTEM_LIBS=ON, PreBuildSteps skips that check. FindMKLDNN then prints "MKLDNN source files not found!", and Dependencies.cmake:1631-1633 only warns before turning USE_MKLDNN off, so the build goes on without oneDNN. Fix: correct the description and tell developers to re-run the submodule update. Optionally, fail with FATAL_ERROR in FindMKLDNN.cmake when third_party/oneDNN is empty and MKLDNN was requested.

Report this finding

Comment thread pyproject.toml
# like the .gitignore entry, so it does not touch tracked build/ dirs deeper
# in vendored trees (e.g. cutlass docs, ideep).
# in vendored trees (e.g. cutlass docs).
"!third_party/build/**",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚪ Stale ideep tree can end up in an sdist (non-blocking).

The sdist include "third_party/**" (pyproject.toml:120) wins over gitignore and the exclude list, and the stale untracked third_party/ideep tree is not gitignored. An sdist built from an updated old checkout would therefore pack that whole tree, including its nested oneDNN copy. Per the mechanics comment at pyproject.toml:98-103, a !-negation inside include only withdraws include protection. So the fix needs both an "!third_party/ideep/**" line in include and a "third_party/ideep/**" line in exclude, the same pattern used for flatbuffers/java. Alternatively, mention this in the cleanup note.

Report this finding

Comment thread test/test_mkldnn.py
@@ -1022,23 +1021,6 @@ def test_batch_norm_3d(self):
x = torch.randn(N, C, 30, 30, 30, dtype=torch.float32) * 10
self._test_batch_norm_base(dim=3, channels=C, input=x)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚪ Non-blocking: Deleted test_mkldnn_layer_norm (non-blocking, but recommended).

This deletes the only test that runs prim::MKLDNNLayerNorm. That op is registered at frozen_ops_to_mkldnn.cpp:479-486 and calls the layer-norm code ported from ideep (Normalization.cpp:92). The path still ships: torch.jit.optimize_for_inference reaches it through ConvertFrozenOpsToMKLDNN (_freeze.py:201 module.cpp:487-489). Nothing else under test/ mentions MKLDNNLayerNorm or _jit_pass_convert_frozen_ops_to_mkldnn. The description gives a reason for the removal, so this meets test/REVIEW.md Rule 6. Still, the test has no ideep dependency, and "TorchScript is being deleted" describes something that hasn't happened yet. Keep the test until the PR that removes the frozen-ops-to-MKLDNN pass.

Report this finding

@pytorch-bot pytorch-bot Bot added ready for review Automated review passed, ready for a final review by a maintainer. and removed in progress PR is being worked on by the author, until the automated review accepts it labels Nov 27, 2026
[ghstack-poisoned]
@soulitzer

Copy link
Copy Markdown
Contributor

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

@pytorch-bot pytorch-bot Bot added ciflow/trunk Trigger trunk jobs on your pull request release notes: quantization release notes category labels Dec 2, 2026

This branch was previously deployed

1 inactive (outdated) deployment
bedrock — a987e9d2 Deployed Nov 27, 2026 by pytorchmergebot via analyze #43234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-no-td Do not run TD on this PR ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request Merged module: cpu CPU specific problem (e.g., perf, algorithm) module: mkldnn Related to Intel IDEEP or oneDNN (a.k.a. mkldnn) integration open source ready for review Automated review passed, ready for a final review by a maintainer. release notes: inductor (aoti) release notes: quantization release notes category release notes: releng release notes category Reverted topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants