📰 IT Security NachrichtenEnterprise Threat Intelligence Buying Guide: How to Choose the Right Solution(17.09.2026 um 09:44 Uhr)
⚠️ Malware / Trojaner / VirenNew RatHat Android Malware Uses AI and ADB to Steal Banking Credentials and OTPs(17.09.2026 um 09:34 Uhr)
🕵️ SicherheitslückenIT Security News Hourly Summary 2026-09-17 08h : 5 posts(17.09.2026 um 08:00 Uhr)
📰 IT Security NachrichtenMicrosoft’s Slough Data Centre Plan Faces Opposition(17.09.2026 um 08:31 Uhr)
🕵️ SicherheitslückenIT Security News Hourly Summary 2026-09-17 09h : 8 posts(17.09.2026 um 09:00 Uhr)
📰 IT Security NachrichtenZ.ai Raises Outlook After $5bn Cash Injection(17.09.2026 um 09:01 Uhr)
📰 IT Security NachrichtenHackers Turn AI Agent Into a Cyber Weapon After Deleting Its Safety Refusals(17.09.2026 um 09:31 Uhr)
📰 IT Security NachrichtenEnterprise Threat Intelligence Buying Guide: How to Choose the Right Solution(17.09.2026 um 09:44 Uhr)
⚠️ Malware / Trojaner / VirenNew RatHat Android Malware Uses AI and ADB to Steal Banking Credentials and OTPs(17.09.2026 um 09:34 Uhr)
🕵️ SicherheitslückenIT Security News Hourly Summary 2026-09-17 08h : 5 posts(17.09.2026 um 08:00 Uhr)
📰 IT Security NachrichtenMicrosoft’s Slough Data Centre Plan Faces Opposition(17.09.2026 um 08:31 Uhr)
🕵️ SicherheitslückenIT Security News Hourly Summary 2026-09-17 09h : 8 posts(17.09.2026 um 09:00 Uhr)
📰 IT Security NachrichtenZ.ai Raises Outlook After $5bn Cash Injection(17.09.2026 um 09:01 Uhr)
📰 IT Security NachrichtenHackers Turn AI Agent Into a Cyber Weapon After Deleting Its Safety Refusals(17.09.2026 um 09:31 Uhr)
💾 Downloads 🕛 vor 3 Monaten 2 Min Lesezeit
0

ciflow/torchtitan/185414: [torchelastic] handle d-state process (#185414)

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

Summary:


The torchrun elastic agent logged ChildFailedError, then went silent

— never exited — until a manual kill, at which point twinfra spent ~1min

sending stop signals every second that the container ignored.


Root cause inside torch elastic: when workers wedge on a kernel resource

(NCCL/GPU/RDMA — Linux D-state) SIGKILL cannot reap them, and both

MultiprocessContext._close and SubprocessContext._close end in an unbounded

proc.join() / proc.wait(). The agent itself wedges on that join, so the

supervising launcher can never exit and MAST keeps the slot pinned.


Two changes here:




  1. Bound the final proc.join() (api.py:900) and proc.wait() (api.py:1054)

    with the same timeout the rest of _close already honors. On timeout, log

    the unkillable PID (with the SIGKILL signal name and advice that the host

    may need recycling) and continue. The agent process can now exit even when

    workers are unkillable.




  2. Make the D-state detection added in the prior change actually escalate:

    when _check_d_state_timeout fires, set _remaining_restarts = 0 before

    returning UNHEALTHY. A D-state worker still holds GPU/NIC on the host, so

    a fresh worker group on the same host would conflict; we want _invoke_run

    to take the _stop_workers + return branch and exit immediately.




Caveat: this diff lets the supervisor exit cleanly. It does not free the

wedged worker processes on the host — those still need host recycling for the

GPUs to be reusable, since no userspace signal can unblock a process in true

D-state. The new error log surfaces the offending PIDs so oncall can recycle

the host explicitly.


Authored by Claude.


Test Plan:

New unit tests:




  • BoundedCloseTest in test/distributed/elastic/multiprocessing/api_test.py

    covers both MultiprocessContext._close and SubprocessContext._close.

    Each test mocks an unkillable process whose is_alive/poll always reports

    alive and whose join/wait honor the timeout but never resolve. Asserts

    _close returns in <5s (two bounded joins of 1s each + epsilon) instead of

    hanging forever.




  • Extended LocalElasticAgentDStateTest::test_check_d_state_timeout_fires in

    test/distributed/elastic/agent/server/test/local_elastic_agent_test.py to

    assert _remaining_restarts is set to 0 when the D-state timeout fires.




Reviewed By: d4l3k


Differential Revision: D105652547

Vollständiger Original-Artikel
Den kompletten Beitrag mit allen Details direkt auf github.com lesen.
↗ 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
Wir haben uns das iPhone Duo angeschaut.
1 Quelle
ESET Science Award: Celebrating the Minds Shaping Tomorrow
1 Quelle
Alles neu in iOS 27.2 Beta 1
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten ciflow/torchtitan/185414: [torchelastic] handle d-state process (#185414)

Thematisch verwandte Begriffe: ciflowtorchtitan185414, torchelastic, handle, dstate · 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 ...