Skip to content

Commit e00a267

Browse files
committed
rm useless code
1 parent 03fef2c commit e00a267

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

xtuner/v1/ray/rollout/controller.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,11 +289,7 @@ def check_active_workers(self):
289289

290290
health_statuses = ray.get([actor.check_health.remote() for actor in actors])
291291

292-
count = 0
293292
for url, is_healthy in zip(urls, health_statuses):
294-
if count == 3:
295-
is_healthy = False
296-
count += 1
297293
if not is_healthy:
298294
self._deactivate_worker(url)
299295

0 commit comments

Comments
 (0)