Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Increase timeout in evaluation.py
Browse files
yourbench_space/evaluation.py
CHANGED
@@ -23,7 +23,7 @@ async def run_process(args: list, custom_env = None) -> dict:
|
|
23 |
*args, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE, env=custom_env
|
24 |
)
|
25 |
try:
|
26 |
-
await asyncio.wait_for(process.wait(), timeout=
|
27 |
except TimeoutError:
|
28 |
logger.error("Lighteval process Timed Out")
|
29 |
|
|
|
23 |
*args, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE, env=custom_env
|
24 |
)
|
25 |
try:
|
26 |
+
await asyncio.wait_for(process.wait(), timeout=350)
|
27 |
except TimeoutError:
|
28 |
logger.error("Lighteval process Timed Out")
|
29 |
|