Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
YouTube Security VideosGoogle Chrome: Unfinished Projects: Solange’s Public Sculpture(21.09.2026 um 17:02 Uhr)
Windows Tipps & SecurityBlurry or pixelated video in Microsoft Teams(21.09.2026 um 14:34 Uhr)
Sicherheitslücken (CVE)USN-8791-1: Ghostscript vulnerability(21.09.2026 um 14:51 Uhr)
Sicherheitslücken (CVE)USN-8792-1: Memcached vulnerability(21.09.2026 um 15:02 Uhr)
Sichere ProgrammierungI stopped rewriting the same Electron boilerplate — so I packaged it(21.09.2026 um 17:28 Uhr)
YouTube Security VideosGoogle Chrome: Unfinished Projects: Solange’s Public Sculpture(21.09.2026 um 17:02 Uhr)
Windows Tipps & SecurityBlurry or pixelated video in Microsoft Teams(21.09.2026 um 14:34 Uhr)
Sicherheitslücken (CVE)USN-8791-1: Ghostscript vulnerability(21.09.2026 um 14:51 Uhr)
Sicherheitslücken (CVE)USN-8792-1: Memcached vulnerability(21.09.2026 um 15:02 Uhr)
Sichere ProgrammierungI stopped rewriting the same Electron boilerplate — so I packaged it(21.09.2026 um 17:28 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

ciflow/trunk/183837: [Dynamic Shapes] Rebind unbacked symbols to derived expressions

rebind_unbacked already records equivalences when a retraced binding site maps an unbacked symbol to another symbol or to a constant. The same invariant applies when the new value is a derived symbolic expression such as (u1 + 1) // 2:…

0
↗ Quelle (github.com)
Reagiere als Erste:r — dein Feedback zählt!

rebind_unbacked already records equivalences when a retraced binding site maps

an unbacked symbol to another symbol or to a constant. The same invariant applies

when the new value is a derived symbolic expression such as (u1 + 1) // 2: the

old symbol still has a concrete binding relationship and should be eliminated in

favor of that expression.


The previous assertion assumed any non-symbol replacement with free symbols was

invalid. That is too strong for legitimate derived unbacked shapes and makes the

binding logic reject a value it can represent with the existing ShapeEnv

replacement mechanism. Record the replacement with _eliminate_unbacked, which

is the existing path for replacing an unbacked symbol by a non-symbol expression.


This intentionally does not restore the reverted broad HOP fake-trace

suppression. The FlexAttention/HOP reproducer for #183677 now passes on current

main without that suppression, and the broad suppression was the source of the

internal cond, AOTInductor, Executorch, and FlexAttention regressions.


This change was authored with assistance from an AI assistant.


Test Plan:


python test/test_dynamic_shapes.py TestUnbacked.test_rebind_unbacked_to_symbolic_expression -v

python test/dynamo/test_misc.py MiscTests.test_cond_runtime_assert_generation -v

python test/functorch/test_control_flow.py TestControlFlowTraced.test_cond_functionalized_nested -v

python test/inductor/test_aot_inductor.py -k cond_non_tensor_predicates_dynamic_True_cpu -v

python - <<'PY'
import torch
from torch.nn.attention.flex_attention import create_block_mask, flex_attention

if not torch.cuda.is_available():
raise RuntimeError('CUDA unavailable')

device = 'cuda'
dtype = torch.float16

def score_mod(score, batch, head, q_idx, kv_idx):
return score

compiled_create_block_mask = torch.compile(create_block_mask, dynamic=True, fullgraph=True)

def create_dynamic_block_mask(q_batch, kv_batch):
q_len = q_batch.size(0)
kv_len = kv_batch.size(0)
def mask_mod(batch, head, q_idx, kv_idx):
q_group = q_batch[q_idx]
kv_group = kv_batch[kv_idx]
return (q_group == kv_group) & (q_group != -1) & (kv_group != -1)
return compiled_create_block_mask(mask_mod, B=None, H=None, Q_LEN=q_len, KV_LEN=kv_len, device=device, BLOCK_SIZE=128)

groups = torch.zeros(128, dtype=torch.int64, device=device)
block_mask = create_dynamic_block_mask(groups, groups)
q = torch.randn(1, 1, 128, 64, device=device, dtype=dtype, requires_grad=True)
k = torch.randn(1, 1, 128, 64, device=device, dtype=dtype, requires_grad=True)
v = torch.randn(1, 1, 128, 64, device=device, dtype=dtype, requires_grad=True)
compiled_flex_attention = torch.compile(flex_attention, fullgraph=True, dynamic=True, backend='aot_eager')
out = compiled_flex_attention(q, k, v, score_mod=score_mod, block_mask=block_mask)
out.sum().backward()
torch.cuda.synchronize()
print('ok', out.shape)
PY

lintrunner -a

stack-info: PR: #183837, branch: sanketpurandare/stack/11

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten ciflow/trunk/183837: [Dynamic Shapes] Rebind unbacked symbols to derived expressions

Thematisch verwandte Begriffe: ciflowtrunk183837, Dynamic, Shapes, Rebind · 6 Treffer

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 ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-94393 | When a user creates or edits a report inside an event, MISP can identify…
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

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
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.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick