We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d255a4 commit 2bba294Copy full SHA for 2bba294
slime/rollout/rm_hub/__init__.py
@@ -47,7 +47,7 @@ async def remote_rm(args, sample: Sample, max_retries: int = 10):
47
if attempt + 1 >= max_retries:
48
logger.warning(f"remote_rm failed after {attempt + 1} attempts: {e}")
49
raise
50
- backoff = min(2 ** attempt, 30) + random.random()
+ backoff = min(2**attempt, 30) + random.random()
51
logger.info(f"remote_rm: {type(e).__name__}, retrying in {backoff:.1f}s ({attempt + 1}/{max_retries})")
52
await asyncio.sleep(backoff)
53
0 commit comments