Enhance the pass of fault tolerance results - #242
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors the fault tolerance configuration and payload validation, and migrates the fault tolerance communication to use structured msgspec objects (FaultToleranceResult) instead of raw dictionaries. The review feedback highlights two important issues: a typo in the warning message in arg_utils.py where a Chinese full stop is used, and a potential AttributeError in api_router.py if the request body is not a dictionary, which could lead to unhandled 500 errors.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Signed-off-by: fangyuchu <fangyuchu@qq.com>
Signed-off-by: fangyuchu <fangyuchu@qq.com>
Signed-off-by: fangyuchu <fangyuchu@qq.com>
Signed-off-by: fangyuchu <fangyuchu@qq.com>
…ft-simplify This squashes the following commits into one: - Fault Tolerance Framework (fangyuchu#229) - unify param name for nixl and deepep and destroy old cpu_group in retry (fangyuchu#230) - Surface exception to status - change status report mode from pull to push - simplify fault tolerance config args - use existing get_all2all_manager implementation - support tp>1 (fangyuchu#241) - Enhance the pass of fault tolerance results (fangyuchu#242) - clean states for model runner v2 - add support for fault detection through mask for model runner v2 - [FT] validate single API server, fix clean_buffers ordering and worker state cleanup - [FT] make apply endpoint async and gate recovery by engine status - add e2e test for fault tolerance - add e2e test for retry recovery - refactor e2e tests with concurrent polling and add Buildkite CI config (fangyuchu#250) - set cpu timeout to default value of nixl-ep in test (fangyuchu#251) Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: fangyuchu <fangyuchu@qq.com>
Purpose
Test Plan
tested with dp4 tp1 by raising exception on rank 1
Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.