Record comparable solve-level elapsed time for native and guided runs
Browse files- SHA256SUMS +3 -3
- VALIDATION.md +5 -0
- artifact_manifest.json +2 -2
- run_sampling.py +4 -0
SHA256SUMS
CHANGED
|
@@ -2,14 +2,14 @@ c758d4f7878f1d7bc304c083b9fe1a7392933e5cd7fc9fe641f266c14c93978b LICENSE
|
|
| 2 |
9536fa2f6c4051093a1b1126ffaaee528d2a5324f12f15fd6cba9a5a9b0b99cc NOTICE.md
|
| 3 |
034aa44c338153b02cedce3765e14dd79be0d9820386be5f4bff6025bea6c5fc README.md
|
| 4 |
0975fa492a2b9b059963e731cd34ac81be7d3790eb77d6479b188c3dbc7650f2 SECURITY.md
|
| 5 |
-
|
| 6 |
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 _client/__init__.py
|
| 7 |
0babcd7adfbfd329092dee418679718ff5e281b0a5365ea5479f506fb0aa252e _client/jev.py
|
| 8 |
20e5af7f3f5c65e9e6293a949693f503e54eccc1c9ebade4d6cef0b2639650b1 _client/types.py
|
| 9 |
-
|
| 10 |
41183c6e3b669411f3bd24de7282509cf8d484021dbc1cc62c305c1a53f28603 example.json
|
| 11 |
d4351148fcc569c924a11d3c0a24f5fb14381ad6cce960ed74a4e6f555301bda requirements.txt
|
| 12 |
-
|
| 13 |
bba0bf8d06eb906774a8adfb18430467d4f5182e5d0dcd9f86f3d0dc759c0f4b runtime.py
|
| 14 |
1ff430aba1a3cd4a194cdfb278701457c963bee33dc66137fd7b024b56007bfe source_manifest.json
|
| 15 |
4040a30deafa507e87151e813800d172991939a69e8633e35883d4abc8a9993c validation/release-e2e.json
|
|
|
|
| 2 |
9536fa2f6c4051093a1b1126ffaaee528d2a5324f12f15fd6cba9a5a9b0b99cc NOTICE.md
|
| 3 |
034aa44c338153b02cedce3765e14dd79be0d9820386be5f4bff6025bea6c5fc README.md
|
| 4 |
0975fa492a2b9b059963e731cd34ac81be7d3790eb77d6479b188c3dbc7650f2 SECURITY.md
|
| 5 |
+
31e62b7b8b90ec14164e22c5803b92b7fc334b09c0439d3b56eb1d35b11a4bda VALIDATION.md
|
| 6 |
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 _client/__init__.py
|
| 7 |
0babcd7adfbfd329092dee418679718ff5e281b0a5365ea5479f506fb0aa252e _client/jev.py
|
| 8 |
20e5af7f3f5c65e9e6293a949693f503e54eccc1c9ebade4d6cef0b2639650b1 _client/types.py
|
| 9 |
+
8f29f54966812cad1c61d40675d93f3d4d1592bb929756cfd9d61bdbae917735 artifact_manifest.json
|
| 10 |
41183c6e3b669411f3bd24de7282509cf8d484021dbc1cc62c305c1a53f28603 example.json
|
| 11 |
d4351148fcc569c924a11d3c0a24f5fb14381ad6cce960ed74a4e6f555301bda requirements.txt
|
| 12 |
+
fb9f8fa94a85f2be12d26c365a98870a20fceedad6c9810035a3cfd08cd6fdbd run_sampling.py
|
| 13 |
bba0bf8d06eb906774a8adfb18430467d4f5182e5d0dcd9f86f3d0dc759c0f4b runtime.py
|
| 14 |
1ff430aba1a3cd4a194cdfb278701457c963bee33dc66137fd7b024b56007bfe source_manifest.json
|
| 15 |
4040a30deafa507e87151e813800d172991939a69e8633e35883d4abc8a9993c validation/release-e2e.json
|
VALIDATION.md
CHANGED
|
@@ -90,3 +90,8 @@ recorded for the exact Hugging Face revision in the source repository's
|
|
| 90 |
Unit tests do not establish answer quality or live-provider availability. A CPU
|
| 91 |
parity receipt does not establish GPU or cross-device equality. Full benchmark
|
| 92 |
reproduction remains a separate task from running this authored demo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
Unit tests do not establish answer quality or live-provider availability. A CPU
|
| 91 |
parity receipt does not establish GPU or cross-device equality. Full benchmark
|
| 92 |
reproduction remains a separate task from running this authored demo.
|
| 93 |
+
|
| 94 |
+
A fake-clock regression first failed because native results lacked solve-level
|
| 95 |
+
`elapsed_seconds`; it now verifies tokenization and full generation are included
|
| 96 |
+
in both native and guided solve timings, separately from narrower candidate time.
|
| 97 |
+
Model loading and final CLI persistence remain outside these solve timings.
|
artifact_manifest.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
"verifier": "jev-1.13.0",
|
| 7 |
"new_weights": false,
|
| 8 |
"files": {
|
| 9 |
-
"run_sampling.py": "
|
| 10 |
"runtime.py": "bba0bf8d06eb906774a8adfb18430467d4f5182e5d0dcd9f86f3d0dc759c0f4b",
|
| 11 |
"requirements.txt": "d4351148fcc569c924a11d3c0a24f5fb14381ad6cce960ed74a4e6f555301bda",
|
| 12 |
"source_manifest.json": "1ff430aba1a3cd4a194cdfb278701457c963bee33dc66137fd7b024b56007bfe",
|
|
@@ -18,7 +18,7 @@
|
|
| 18 |
"SECURITY.md": "0975fa492a2b9b059963e731cd34ac81be7d3790eb77d6479b188c3dbc7650f2",
|
| 19 |
"LICENSE": "c758d4f7878f1d7bc304c083b9fe1a7392933e5cd7fc9fe641f266c14c93978b",
|
| 20 |
"example.json": "41183c6e3b669411f3bd24de7282509cf8d484021dbc1cc62c305c1a53f28603",
|
| 21 |
-
"VALIDATION.md": "
|
| 22 |
"validation/release-smoke.json": "e632a7df8125c6a5c1047a8e1443588c699fff79c05542b06e5dc6db9aeadd24",
|
| 23 |
"validation/release-e2e.json": "4040a30deafa507e87151e813800d172991939a69e8633e35883d4abc8a9993c"
|
| 24 |
}
|
|
|
|
| 6 |
"verifier": "jev-1.13.0",
|
| 7 |
"new_weights": false,
|
| 8 |
"files": {
|
| 9 |
+
"run_sampling.py": "fb9f8fa94a85f2be12d26c365a98870a20fceedad6c9810035a3cfd08cd6fdbd",
|
| 10 |
"runtime.py": "bba0bf8d06eb906774a8adfb18430467d4f5182e5d0dcd9f86f3d0dc759c0f4b",
|
| 11 |
"requirements.txt": "d4351148fcc569c924a11d3c0a24f5fb14381ad6cce960ed74a4e6f555301bda",
|
| 12 |
"source_manifest.json": "1ff430aba1a3cd4a194cdfb278701457c963bee33dc66137fd7b024b56007bfe",
|
|
|
|
| 18 |
"SECURITY.md": "0975fa492a2b9b059963e731cd34ac81be7d3790eb77d6479b188c3dbc7650f2",
|
| 19 |
"LICENSE": "c758d4f7878f1d7bc304c083b9fe1a7392933e5cd7fc9fe641f266c14c93978b",
|
| 20 |
"example.json": "41183c6e3b669411f3bd24de7282509cf8d484021dbc1cc62c305c1a53f28603",
|
| 21 |
+
"VALIDATION.md": "31e62b7b8b90ec14164e22c5803b92b7fc334b09c0439d3b56eb1d35b11a4bda",
|
| 22 |
"validation/release-smoke.json": "e632a7df8125c6a5c1047a8e1443588c699fff79c05542b06e5dc6db9aeadd24",
|
| 23 |
"validation/release-e2e.json": "4040a30deafa507e87151e813800d172991939a69e8633e35883d4abc8a9993c"
|
| 24 |
}
|
run_sampling.py
CHANGED
|
@@ -482,6 +482,9 @@ class GraniteJevSampling:
|
|
| 482 |
candidate_seconds_scope=(
|
| 483 |
"generation after cache allocation, including final text decoding"
|
| 484 |
),
|
|
|
|
|
|
|
|
|
|
| 485 |
guided_elapsed_scope=(
|
| 486 |
"tokenization, generation, verifier and attempt journal; "
|
| 487 |
"excludes final CLI persistence"
|
|
@@ -503,6 +506,7 @@ class GraniteJevSampling:
|
|
| 503 |
self.completed_solves += 1
|
| 504 |
return native | dict(
|
| 505 |
action="native",
|
|
|
|
| 506 |
jev_called=False,
|
| 507 |
policy="native-baseline",
|
| 508 |
case_binding=case_binding(case),
|
|
|
|
| 482 |
candidate_seconds_scope=(
|
| 483 |
"generation after cache allocation, including final text decoding"
|
| 484 |
),
|
| 485 |
+
native_elapsed_scope=(
|
| 486 |
+
"tokenization, cache allocation and generation; excludes final CLI persistence"
|
| 487 |
+
),
|
| 488 |
guided_elapsed_scope=(
|
| 489 |
"tokenization, generation, verifier and attempt journal; "
|
| 490 |
"excludes final CLI persistence"
|
|
|
|
| 506 |
self.completed_solves += 1
|
| 507 |
return native | dict(
|
| 508 |
action="native",
|
| 509 |
+
elapsed_seconds=time.monotonic() - tick,
|
| 510 |
jev_called=False,
|
| 511 |
policy="native-baseline",
|
| 512 |
case_binding=case_binding(case),
|