verifiers 0.3.2.dev60__py3-none-any.whl → 0.3.2.dev61__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 +2 -9
- {verifiers-0.3.2.dev60.dist-info → verifiers-0.3.2.dev61.dist-info}/METADATA +1 -1
- {verifiers-0.3.2.dev60.dist-info → verifiers-0.3.2.dev61.dist-info}/RECORD +6 -6
- {verifiers-0.3.2.dev60.dist-info → verifiers-0.3.2.dev61.dist-info}/WHEEL +0 -0
- {verifiers-0.3.2.dev60.dist-info → verifiers-0.3.2.dev61.dist-info}/entry_points.txt +0 -0
- {verifiers-0.3.2.dev60.dist-info → verifiers-0.3.2.dev61.dist-info}/licenses/LICENSE +0 -0
verifiers/v1/runtimes/prime.py
CHANGED
|
@@ -384,21 +384,14 @@ class PrimeRuntime(Runtime):
|
|
|
384
384
|
raise SandboxError(f"read {path!r}: {e}") from e
|
|
385
385
|
|
|
386
386
|
async def write(self, path: str, data: bytes) -> None:
|
|
387
|
-
#
|
|
388
|
-
#
|
|
389
|
-
# fails with ENAMETOOLONG). The upload does NOT run in the workdir, so resolve a
|
|
390
|
-
# relative path against it (and mkdir its parent) — otherwise the sidecar writes
|
|
391
|
-
# it somewhere unwritable ("Operation not permitted").
|
|
387
|
+
# The gateway creates missing parents and uploads binary data without command-line
|
|
388
|
+
# limits. Resolve relative paths here because uploads do not use this runtime's workdir.
|
|
392
389
|
target = (
|
|
393
390
|
path
|
|
394
391
|
if path.startswith("/")
|
|
395
392
|
else f"{self.config.workdir.rstrip('/')}/{path}"
|
|
396
393
|
)
|
|
397
394
|
try:
|
|
398
|
-
await self._client.execute_command(
|
|
399
|
-
self.info.id,
|
|
400
|
-
f"mkdir -p {shlex.quote(str(PurePosixPath(target).parent))}",
|
|
401
|
-
)
|
|
402
395
|
await self._client.upload_bytes(
|
|
403
396
|
self.info.id, target, data, filename=PurePosixPath(target).name
|
|
404
397
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: verifiers
|
|
3
|
-
Version: 0.3.2.
|
|
3
|
+
Version: 0.3.2.dev61
|
|
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
|
|
@@ -144,7 +144,7 @@ verifiers/v1/runtimes/__init__.py,sha256=ppc1R_sx-aMcuJSx4t99rTSjloUXI0M6EUj676-
|
|
|
144
144
|
verifiers/v1/runtimes/base.py,sha256=kPxbK-VPr4j3Ah0SYlHAMefUJpVF6jTCJkZm7TRVeAs,17376
|
|
145
145
|
verifiers/v1/runtimes/limiters.py,sha256=C6cWDD4pwyFwUY4QFke3oiMXwydSNIfSbJSIglUC2kE,3062
|
|
146
146
|
verifiers/v1/runtimes/modal.py,sha256=wUNik2Wul1YISausdABIMAoSaTA0MNDwKUayKxVLwAA,13342
|
|
147
|
-
verifiers/v1/runtimes/prime.py,sha256=
|
|
147
|
+
verifiers/v1/runtimes/prime.py,sha256=fbyR5s3WqsJNWki3eHJa83j4iobnqDugdJWm8GwEs7w,18494
|
|
148
148
|
verifiers/v1/runtimes/subprocess.py,sha256=QmpQ235_xrX6gowrr8557VgbydOXpLbfFq0KKGfJThk,8774
|
|
149
149
|
verifiers/v1/runtimes/docker/__init__.py,sha256=JN0mI10a_BKQpRRJKX_NqStAoODAEk2dAJF9mrz69ug,20972
|
|
150
150
|
verifiers/v1/runtimes/docker/egress.py,sha256=iFH_1XotlEM-OCaW7GNu3TWVEq1sqesKYweyVBX8g90,14360
|
|
@@ -189,8 +189,8 @@ verifiers/v1/utils/prime.py,sha256=UTYRjp9cbjNb6CVmBHda-1wWZAIIfxNOmTyNuT7_wL4,9
|
|
|
189
189
|
verifiers/v1/utils/retries.py,sha256=Y2ZgrAjn-qNkRKZP_RVNL_7EK0iaRcZeCa404lpGYi4,5417
|
|
190
190
|
verifiers/v1/utils/score.py,sha256=493yJVMw8teCu9JxapxMFPFzI0hNUqdo0Y2nGW4kckk,6200
|
|
191
191
|
verifiers/v1/utils/version.py,sha256=-obEo_-l9-D8FLef4hYxncOe-uJpxrM1g2Hig_37Sgs,1607
|
|
192
|
-
verifiers-0.3.2.
|
|
193
|
-
verifiers-0.3.2.
|
|
194
|
-
verifiers-0.3.2.
|
|
195
|
-
verifiers-0.3.2.
|
|
196
|
-
verifiers-0.3.2.
|
|
192
|
+
verifiers-0.3.2.dev61.dist-info/METADATA,sha256=7o5tiEoE-ol4J9KtYpx1306yqLvQ6cEKtF0inhzekjQ,4204
|
|
193
|
+
verifiers-0.3.2.dev61.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
194
|
+
verifiers-0.3.2.dev61.dist-info/entry_points.txt,sha256=uqQje0TMsr7k6nXlWxlPs13Si0evb3pVCEDF6c-YL80,241
|
|
195
|
+
verifiers-0.3.2.dev61.dist-info/licenses/LICENSE,sha256=v0RrUsdV3IDoZhrRce297IXS3xMHNJ-_LdLpFAUWb9k,1072
|
|
196
|
+
verifiers-0.3.2.dev61.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|