t4-medium flavor
Browse files
scripts/hf_gpu_ab_multiseed_job.py
CHANGED
|
@@ -61,7 +61,7 @@ TOST_DELTA = os.environ.get("PINO_TOST_DELTA", "0.05")
|
|
| 61 |
# resilient to the platform limit without manual babysitting.
|
| 62 |
WALL_BUDGET_S = int(os.environ.get("PINO_WALL_BUDGET_S", "5100")) # ~85 min
|
| 63 |
JOB_IMAGE = os.environ.get("PINO_JOB_IMAGE", "pytorch/pytorch:2.4.0-cuda12.1-cudnn9-runtime")
|
| 64 |
-
JOB_FLAVOR = os.environ.get("PINO_JOB_FLAVOR", "t4-
|
| 65 |
JOB_TIMEOUT = os.environ.get("PINO_JOB_TIMEOUT", "21600")
|
| 66 |
_START = time.time()
|
| 67 |
|
|
@@ -278,7 +278,8 @@ def main() -> int:
|
|
| 278 |
image=JOB_IMAGE,
|
| 279 |
command=["bash", "-lc", chain_cmd],
|
| 280 |
secrets={"HF_TOKEN": TOKEN, "PINO_SEEDS": ",".join(str(s) for s in rem_seeds),
|
| 281 |
-
"PINO_ARMS": ",".join(ARMS), "PINO_EPOCHS": str(EPOCHS)
|
|
|
|
| 282 |
flavor=JOB_FLAVOR,
|
| 283 |
timeout=int(JOB_TIMEOUT),
|
| 284 |
namespace="mattbitzesty",
|
|
|
|
| 61 |
# resilient to the platform limit without manual babysitting.
|
| 62 |
WALL_BUDGET_S = int(os.environ.get("PINO_WALL_BUDGET_S", "5100")) # ~85 min
|
| 63 |
JOB_IMAGE = os.environ.get("PINO_JOB_IMAGE", "pytorch/pytorch:2.4.0-cuda12.1-cudnn9-runtime")
|
| 64 |
+
JOB_FLAVOR = os.environ.get("PINO_JOB_FLAVOR", "t4-medium")
|
| 65 |
JOB_TIMEOUT = os.environ.get("PINO_JOB_TIMEOUT", "21600")
|
| 66 |
_START = time.time()
|
| 67 |
|
|
|
|
| 278 |
image=JOB_IMAGE,
|
| 279 |
command=["bash", "-lc", chain_cmd],
|
| 280 |
secrets={"HF_TOKEN": TOKEN, "PINO_SEEDS": ",".join(str(s) for s in rem_seeds),
|
| 281 |
+
"PINO_ARMS": ",".join(ARMS), "PINO_EPOCHS": str(EPOCHS),
|
| 282 |
+
"PINO_JOB_FLAVOR": JOB_FLAVOR},
|
| 283 |
flavor=JOB_FLAVOR,
|
| 284 |
timeout=int(JOB_TIMEOUT),
|
| 285 |
namespace="mattbitzesty",
|