Zum Hauptinhalt springen
•••••••
Sichere ProgrammierungNotePilot AI: Turn Your Notes into Summaries, Quizzes, and Flashcards(06.10.2026 um 03:46 Uhr)
••
Sichere ProgrammierungFilter tcpdump by IP: Hosts, Direction, Subnets, and Ports(06.10.2026 um 03:49 Uhr)
••••••••
Sichere ProgrammierungNotePilot AI: Turn Your Notes into Summaries, Quizzes, and Flashcards(06.10.2026 um 03:46 Uhr)
••
Sichere ProgrammierungFilter tcpdump by IP: Hosts, Direction, Subnets, and Ports(06.10.2026 um 03:49 Uhr)
•
Intelligence View
⚡ tsecurity.de Intelligence

ciflow/torchtitan/184819: [DTensor] Fix group_norm scalar adjuster crash when weight=None

The _adjust_group_norm_scalars function counts DTensorSpec args to find where the N/C/HxW scalar args start. When weight or bias is None (e.g. GroupNorm with…

Beitrag
0
Seite
0
↗ Quelle (github.com)
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!

The _adjust_group_norm_scalars function counts DTensorSpec args to find

where the N/C/HxW scalar args start. When weight or bias is None (e.g.

GroupNorm with affine=False), the None slots are not DTensorSpec, so the

count is too low and the adjuster overwrites the None weight slot with

the local N value. This causes a RuntimeError: expected Optional[Tensor]

but got int.


Fix by counting None slots alongside DTensorSpec when computing the

offset. Adds a regression test for group_norm with weight=None.


Fixes #184816


Authored by Claude.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten ciflow/torchtitan/184819: [DTensor] Fix group_norm scalar adjuster crash when weight=None

Thematisch verwandte Begriffe: ciflowtorchtitan184819, DTensor, groupnorm, scalar · 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 ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
Nächster Beitrag