phase4_session: default to P3's measured planning rate (9358 tok/s) and the 6.9 h session the launch plan now books
Browse files
kernels/phase4_session.py
CHANGED
|
@@ -42,9 +42,10 @@ TOKENS_PER_STEP = MICRO_BATCH * SEQ_LEN * ACCUM * WORLD # 262,144
|
|
| 42 |
HORIZON_STEPS = int(TOKENS / TOKENS_PER_STEP) # 3,814 -- the trainer's own int() division
|
| 43 |
CKPT_EVERY = max(1, HORIZON_STEPS // 10) # 381 -- §2's one-per-10 % cadence
|
| 44 |
|
| 45 |
-
# Planning rate:
|
| 46 |
-
|
| 47 |
-
|
|
|
|
| 48 |
QUOTA_LEFT_HOURS = float(os.environ.get("QUOTA_LEFT_HOURS", "30.0"))
|
| 49 |
RESERVE_HOURS = float(os.environ.get("RESERVE_HOURS", "0.6")) # startup, val eval, the last push
|
| 50 |
MIN_FREE_GB = float(os.environ.get("MIN_FREE_GB", "8")) # mix 2.3 GB + two checkpoints + slack
|
|
|
|
| 42 |
HORIZON_STEPS = int(TOKENS / TOKENS_PER_STEP) # 3,814 -- the trainer's own int() division
|
| 43 |
CKPT_EVERY = max(1, HORIZON_STEPS // 10) # 381 -- §2's one-per-10 % cadence
|
| 44 |
|
| 45 |
+
# Planning rate: the defaults below are P3's measured frozen-geometry figures, so a session launched with
|
| 46 |
+
# no environment set still plans at the rate the gate measured rather than the pre-Gate 3 estimate.
|
| 47 |
+
PLANNING_TOK_PER_S = float(os.environ.get("PLANNING_TOK_PER_S", "9358"))
|
| 48 |
+
SESSION_GPU_HOURS = float(os.environ.get("SESSION_GPU_HOURS", "6.9"))
|
| 49 |
QUOTA_LEFT_HOURS = float(os.environ.get("QUOTA_LEFT_HOURS", "30.0"))
|
| 50 |
RESERVE_HOURS = float(os.environ.get("RESERVE_HOURS", "0.6")) # startup, val eval, the last push
|
| 51 |
MIN_FREE_GB = float(os.environ.get("MIN_FREE_GB", "8")) # mix 2.3 GB + two checkpoints + slack
|