Upload runners/RUN_5090_MASTER_SFT_V3.txt with huggingface_hub
Browse files61 unmodified lines62636465666768697071727361 unmodified linesprint("✅ Core Code & Tokenizer Synced (Bug-Free Pipeline)!")# 3. Check / Download Clean Base Pretrained Checkpointbase_ckpt_path = "checkpoints/ckpt_latest.pt"if not os.path.exists(base_ckpt_path) or os.path.getsize(base_ckpt_path) < 1024**3:print(f"\n📥 Downloading Healthy Base Checkpoint from {REPO_ID} (ckpt_latest.pt, ~5.6 GB)...")dl = hf_hub_download(repo_id=REPO_ID, filename="checkpoints/ckpt_latest.pt", token=HF_TOKEN)shutil.copy(dl, base_ckpt_path)print(f"✅ Base Pretrained Checkpoint Ready: {base_ckpt_path} ({os.path.getsize(base_ckpt_path)/(1024**3):.2f} GB)")# 4. Check / Download Master SFT v3 Shardsneeded_shards = [61 unmodified lines62636465666768697071727374757677787980818283848561 unmodified linesprint("✅ Core Code & Tokenizer Synced (Bug-Free Pipeline)!")# 3. Check / Download Clean Base Pretrained Checkpointos.makedirs("checkpoints", exist_ok=True)base_ckpt_path = "checkpoints/ckpt_latest.pt"if os.path.lexists(base_ckpt_path):if (not os.path.exists(base_ckpt_path)) or (os.path.getsize(base_ckpt_path) < 1024**3):try:os.remove(base_ckpt_path)except Exception:passif not os.path.exists(base_ckpt_path):print(f"\n📥 Downloading Healthy Base Checkpoint from {REPO_ID} (ckpt_latest.pt, ~5.6 GB)...")dl = hf_hub_download(repo_id=REPO_ID, filename="checkpoints/ckpt_latest.pt", token=HF_TOKEN)real_src = os.path.realpath(dl)src_to_copy = real_src if os.path.exists(real_src) else dlshutil.copyfile(src_to_copy, base_ckpt_path)print(f"✅ Base Checkpoint Ready: {base_ckpt_path} ({os.path.getsize(base_ckpt_path)/(1024**3):.2f} GB)")# 4. Check / Download Master SFT v3 Shardsneeded_shards = [
runners/RUN_5090_MASTER_SFT_V3.txt+15-3