verifiers 0.2.2.dev92__py3-none-any.whl → 0.2.2.dev93__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- verifiers/v1/runtimes/prime.py +9 -7
- {verifiers-0.2.2.dev92.dist-info → verifiers-0.2.2.dev93.dist-info}/METADATA +1 -1
- {verifiers-0.2.2.dev92.dist-info → verifiers-0.2.2.dev93.dist-info}/RECORD +6 -6
- {verifiers-0.2.2.dev92.dist-info → verifiers-0.2.2.dev93.dist-info}/WHEEL +0 -0
- {verifiers-0.2.2.dev92.dist-info → verifiers-0.2.2.dev93.dist-info}/entry_points.txt +0 -0
- {verifiers-0.2.2.dev92.dist-info → verifiers-0.2.2.dev93.dist-info}/licenses/LICENSE +0 -0
verifiers/v1/runtimes/prime.py
CHANGED
|
@@ -308,14 +308,16 @@ class PrimeRuntime(Runtime):
|
|
|
308
308
|
async def run_background(
|
|
309
309
|
self, argv: list[str], env: dict[str, str], log: str
|
|
310
310
|
) -> None:
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
311
|
+
command = f"exec {shlex.join(argv)} > {shlex.quote(log)} 2>&1"
|
|
312
|
+
try:
|
|
313
|
+
await self._client.start_background_job(
|
|
314
|
+
self.info.id,
|
|
315
|
+
command,
|
|
316
|
+
working_dir=self.config.workdir,
|
|
317
|
+
env=env,
|
|
318
318
|
)
|
|
319
|
+
except Exception as e:
|
|
320
|
+
raise SandboxError(f"prime background launch failed: {e}") from e
|
|
319
321
|
|
|
320
322
|
async def _read(self, path: str) -> bytes:
|
|
321
323
|
# Avoid background-job log limits and base64 overhead by downloading binary data directly.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: verifiers
|
|
3
|
-
Version: 0.2.2.
|
|
3
|
+
Version: 0.2.2.dev93
|
|
4
4
|
Summary: Verifiers: Environments for LLM Reinforcement Learning
|
|
5
5
|
Project-URL: Homepage, https://github.com/primeintellect-ai/verifiers
|
|
6
6
|
Project-URL: Documentation, https://github.com/primeintellect-ai/verifiers
|
|
@@ -301,7 +301,7 @@ verifiers/v1/runtimes/__init__.py,sha256=Tt1x_rS08R_5f6vkqW0EmrhXRXQAp23czHyoFrW
|
|
|
301
301
|
verifiers/v1/runtimes/base.py,sha256=lqTTnJk-NcN18QTP9lDIqkSKRCw8lK_jZXN1THpGl98,17175
|
|
302
302
|
verifiers/v1/runtimes/limiters.py,sha256=ZjjYUFEt20yH8ggL5uU9w9U500AOB44qSUTQ7bYyh0c,2730
|
|
303
303
|
verifiers/v1/runtimes/modal.py,sha256=QMNVQtiTTN6ZDiS-TA3nJZGfZw_HVlkuxHvPx55Yk8Q,12591
|
|
304
|
-
verifiers/v1/runtimes/prime.py,sha256=
|
|
304
|
+
verifiers/v1/runtimes/prime.py,sha256=QtDtkZITorFdHyWSr-i37RB7HStZ9pxp-I-I6zkkZmA,16240
|
|
305
305
|
verifiers/v1/runtimes/subprocess.py,sha256=4WBdLJrDF347FDGqTcazBVb2g_jRw0Q0r3AlCbqy9PE,7552
|
|
306
306
|
verifiers/v1/runtimes/docker/__init__.py,sha256=LvClYPNVchcrnW2wVbOhi8-bzXUu3E4hdwZv2iNMrXQ,20346
|
|
307
307
|
verifiers/v1/runtimes/docker/egress.py,sha256=37UXgNX9gnoLxjMg4KZaJIGoApCAM6MK22eJGNoMi38,14514
|
|
@@ -339,8 +339,8 @@ verifiers/v1/utils/platform.py,sha256=56Ixmk1SER6q5LvzyYcA0hgzGpzhxKZL8Hiqp4c_XV
|
|
|
339
339
|
verifiers/v1/utils/retries.py,sha256=Y2ZgrAjn-qNkRKZP_RVNL_7EK0iaRcZeCa404lpGYi4,5417
|
|
340
340
|
verifiers/v1/utils/score.py,sha256=-R5Cog14r_tJ6Q_oOfGr5VPAm2CCUhofYZB6B9lm4wM,5787
|
|
341
341
|
verifiers/v1/utils/version.py,sha256=-obEo_-l9-D8FLef4hYxncOe-uJpxrM1g2Hig_37Sgs,1607
|
|
342
|
-
verifiers-0.2.2.
|
|
343
|
-
verifiers-0.2.2.
|
|
344
|
-
verifiers-0.2.2.
|
|
345
|
-
verifiers-0.2.2.
|
|
346
|
-
verifiers-0.2.2.
|
|
342
|
+
verifiers-0.2.2.dev93.dist-info/METADATA,sha256=_pdVCoMMm12f8FgJJ76WMoSn3VPNGpiVng843RMPErc,4545
|
|
343
|
+
verifiers-0.2.2.dev93.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
|
|
344
|
+
verifiers-0.2.2.dev93.dist-info/entry_points.txt,sha256=v6v0QT9vVExnfn4br42MostI_o3f3ZbWYlTormz-U3g,515
|
|
345
|
+
verifiers-0.2.2.dev93.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
|
|
346
|
+
verifiers-0.2.2.dev93.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|