bootstrap: QUOTA_LEFT_HOURS 24.9 from the 11:10Z live read -- session 1 launch card
Browse files
kernels/phase4_bootstrap.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
# Phase 4 GPU session bootstrap. The session logic lives in kernels/phase4_session.py at a pinned
|
| 2 |
# revision; this file only fixes what save_notebook cannot pass -- environment -- and then hands over.
|
| 3 |
# Edit QUOTA_LEFT_HOURS (from a live get_accelerator_quota read) before submitting; everything else the
|
| 4 |
-
# launcher already defaults correctly (
|
|
|
|
| 5 |
import hashlib, os, runpy, subprocess, sys
|
| 6 |
|
| 7 |
os.chdir("/kaggle/working")
|
|
@@ -9,7 +10,7 @@ sys.path.insert(0, "/kaggle/working")
|
|
| 9 |
REV = "c237b478076f68da43dabd3403daa5639286899e"
|
| 10 |
LAUNCHER_SHA = "5fb14bc3597d999a21772a66b6f409f01f722019dc78da313feddb2f9c769c48"
|
| 11 |
os.environ["OUNCE100M_REV"] = REV
|
| 12 |
-
os.environ["QUOTA_LEFT_HOURS"] = "
|
| 13 |
|
| 14 |
url = f"https://huggingface.co/Cion-lab/ounce100m-code/resolve/{REV}/kernels/phase4_session.py"
|
| 15 |
rc = subprocess.run(["curl", "-sfL", url, "-o", "phase4_session.py"]).returncode
|
|
|
|
| 1 |
# Phase 4 GPU session bootstrap. The session logic lives in kernels/phase4_session.py at a pinned
|
| 2 |
# revision; this file only fixes what save_notebook cannot pass -- environment -- and then hands over.
|
| 3 |
# Edit QUOTA_LEFT_HOURS (from a live get_accelerator_quota read) before submitting; everything else the
|
| 4 |
+
# launcher already defaults correctly (12,300 tok/s from D-018, 6.9 h ceiling, 8 GB disk floor, and
|
| 5 |
+
# it passes --no-grad-ckpt with a 127-step push cadence).
|
| 6 |
import hashlib, os, runpy, subprocess, sys
|
| 7 |
|
| 8 |
os.chdir("/kaggle/working")
|
|
|
|
| 10 |
REV = "c237b478076f68da43dabd3403daa5639286899e"
|
| 11 |
LAUNCHER_SHA = "5fb14bc3597d999a21772a66b6f409f01f722019dc78da313feddb2f9c769c48"
|
| 12 |
os.environ["OUNCE100M_REV"] = REV
|
| 13 |
+
os.environ["QUOTA_LEFT_HOURS"] = "24.9" # live read 2026-09-20T11:10Z: 18,137 s of 108,000 used
|
| 14 |
|
| 15 |
url = f"https://huggingface.co/Cion-lab/ounce100m-code/resolve/{REV}/kernels/phase4_session.py"
|
| 16 |
rc = subprocess.run(["curl", "-sfL", url, "-o", "phase4_session.py"]).returncode
|