Skip to content

Commit 2bba294

Browse files
committed
fix lint
1 parent 2d255a4 commit 2bba294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slime/rollout/rm_hub/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async def remote_rm(args, sample: Sample, max_retries: int = 10):
4747
if attempt + 1 >= max_retries:
4848
logger.warning(f"remote_rm failed after {attempt + 1} attempts: {e}")
4949
raise
50-
backoff = min(2 ** attempt, 30) + random.random()
50+
backoff = min(2**attempt, 30) + random.random()
5151
logger.info(f"remote_rm: {type(e).__name__}, retrying in {backoff:.1f}s ({attempt + 1}/{max_retries})")
5252
await asyncio.sleep(backoff)
5353

0 commit comments

Comments
 (0)