🕵️ SicherheitslückenHak5: Hackers Just Poisoned the Rust Supply Chain | Threat Wire(01.09.2026 um 14:00 Uhr)
🕵️ SicherheitslückenHak5: Hackers Found a Way Into Humanoid Robots | Threat Wire(04.09.2026 um 15:04 Uhr)
🔧 AI Nachrichten Bits und so #1021 (Passwort für Laufwerk)(31.08.2026 um 22:15 Uhr)
🔧 AI Nachrichten Bits und so #1022 (Wie Weißbier)(06.09.2026 um 20:39 Uhr)
🍏 iOS / Mac OSHue-App 6.0 ist da: das sind die Neuerungen(07.09.2026 um 17:21 Uhr)
🕵️ SicherheitslückenHak5: Hackers Just Poisoned the Rust Supply Chain | Threat Wire(01.09.2026 um 14:00 Uhr)
🕵️ SicherheitslückenHak5: Hackers Found a Way Into Humanoid Robots | Threat Wire(04.09.2026 um 15:04 Uhr)
🔧 AI Nachrichten Bits und so #1021 (Passwort für Laufwerk)(31.08.2026 um 22:15 Uhr)
🔧 AI Nachrichten Bits und so #1022 (Wie Weißbier)(06.09.2026 um 20:39 Uhr)
🍏 iOS / Mac OSHue-App 6.0 ist da: das sind die Neuerungen(07.09.2026 um 17:21 Uhr)

💾 Downloads 🕛 kürzlich 1 Min Lesezeit
0

trunk/664bf32ef4ad84181302771424f7188ba4ce6a55: Graph break on CUDA manual_seed in Dynamo (#185761)

↗ Quelle (GitHub · github.com)
🗣️ Stimme:
🐙
$ git clone https://github.com/pytorch/pytorch.git

CUDA seed mutators such as torch.cuda.manual_seed and

manual_seed_all were treated as in-graph Python functions by Dynamo.

They appeared in the Dynamo FX graph, but they are not ATen operations,

so AOT/Inductor dropped the side effect before codegen. A compiled

function that reset the CUDA seed before a random operation would then

advance the generator across calls instead of replaying from the seed.


Move the CUDA manual_seed aliases onto the same SkipFunctionVariable

path already used for torch.manual_seed and RNG state setters/getters.

This forces a graph break at the side-effecting seed mutation, keeping

compiled random calls reproducible without teaching AOT/Inductor to

represent Python RNG state mutation.


The previous alternative in PR

Generated by my agent


Test Plan:



  • python test/dynamo/test_functions.py FunctionTests.test_cuda_manual_seed

  • python test/dynamo/test_trace_rules.py TraceRuleTests.test_cuda_manual_seed_functions_graph_break

  • python test/dynamo/test_functions.py FunctionTests.test_manual_seed

  • lintrunner -a


Pull Request resolved:

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf github.com.
↗ Original-Artikel auf github.com lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
Hackers Just Poisoned the Rust Supply Chain | Threat Wire
1 Quelle
Hackers Found a Way Into Humanoid Robots | Threat Wire
1 Quelle
Bits und so #1021 (Passwort für Laufwerk)
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten trunk/664bf32ef4ad84181302771424f7188ba4ce6a55: Graph break on CUDA manual_seed in Dynamo (#185761)

Thematisch verwandte Begriffe: trunk664bf32ef4ad84181302771424f7188ba4ce6a55, Graph, break, CUDA · 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 ...