Zum Hauptinhalt springen
🕵️ SicherheitslückenCVE-2022-44368 | NASM 2.16 null pointer dereference (EUVD-2022-47313)(18.09.2026 um 03:34 Uhr)
🔧 ProgrammierungBuilding a Browser-Based Voxel Editor with React Three Fiber(18.09.2026 um 03:24 Uhr)
🔧 ProgrammierungThe Bottleneck Moved From Writing Code to Proving It(18.09.2026 um 03:32 Uhr)
🕵️ SicherheitslückenCVE-2022-44368 | NASM 2.16 null pointer dereference (EUVD-2022-47313)(18.09.2026 um 03:34 Uhr)
🔧 ProgrammierungBuilding a Browser-Based Voxel Editor with React Three Fiber(18.09.2026 um 03:24 Uhr)
🔧 ProgrammierungThe Bottleneck Moved From Writing Code to Proving It(18.09.2026 um 03:32 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

trunk/757703a523f29b38beea5655fe7055b7ac477c42: fix _split_iteration_ranges error (#187209) (#187209)

Summary:

_split_iteration_ranges in torch/_inductor/codegen/simd.py ended with a bare assert all(... == 1 for s in remaining) that fired whenever a node's iteration lengths were consumed cleanly but left a non-unit extent in the kernel's tiling groups. This happens when a pointwise epilogue whose iteration domain is a strict sub-multiple of a template's tiling is considered for fusion, e.g. fusing a [s, N] epilogue into a [K*s, N] matmul template tile. The three divisibility exits earlier in the same function already raise CantSplit, and both callers that drive epilogue fusion (SIMDKernel.is_compatible and Scheduler.speedup_by_fusion) wrap the split in try/except CantSplit specifically to skip range-incompatible fusions and fall back to unfused codegen. Because the final invariant raised AssertionError instead of CantSplit, it escaped those handlers and hard-failed the entire AOTInductor compile with InductorError: AssertionError: failed to set ranges ....

This PR converts the final invariant to raise CantSplit(remaining, lengths), matching the exception contract of the rest of the function so the existing safety nets catch it. The success path is byte-for-byte unchanged (identical trigger condition), so models that compile today are unaffected; models that previously crashed now lower with the incompatible epilogue left unfused (a separate kernel) instead of aborting the compile.

Test Plan:
Unit test (new regression):

buck2 test //caffe2/test/inductor:loop_ordering -- -r TestSplitIterationRanges

Result: Pass 7, Fail 0. testrun: https://www.internalfb.com/intern/testinfra/testrun/1688850234333388

The new case test_leftover_extent_raises_cant_split constructs groups=[2, 2], lengths=[[2], []]: every size divides cleanly as it is consumed (so no add_range divisibility exit trips), but group 1 is left with extent 2, producing remaining=[1, 2]. It asserts this raises CantSplit rather than AssertionError, exercising exactly the changed line.

Differential Revision: D108339950

Pull Request resolved: #187209
Approved by: https://github.com/ColinPeppler

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten trunk/757703a523f29b38beea5655fe7055b7ac477c42: fix _split_iteration_ranges error (#187209) (#187209)

Thematisch verwandte Begriffe: trunk757703a523f29b38beea5655fe7055b7ac477c42, splititerationranges, error, 187209 · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-61591 | djust provides Phoenix LiveView-style reactive server-side rendering for…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
News ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

↗ Original-Quelle