Upload runners/RUN_5090_MASTER_SFT_V3.txt with huggingface_hub
Browse files88 unmodified lines89909192939495969798991001011021031041051061071081091101111121 unmodified line11411511611711811912012112212312412512612712812913013113213313413513613713813988 unmodified linesshutil.copy(dl, dst)print(f"β Master SFT v3 Gold Dataset Ready in {target_data_folder}!")# 5. RTX 5090 Ultra-Optimized Hyperparameters# Batch size 8 per GPU, gradient accumulation 16 (effective batch = 128)# On 32GB VRAM, activation checkpointing is DISABLED for max speed!print("\n" + "=" * 85)print("β‘ LAUNCHING RTX 5090 BEAST MODE SFT v3")print("=" * 85)if gpu_count > 1:# Dual / Quad 5090 Setupgrad_acc = max(1, 16 // gpu_count)print(f"π Multi-GPU DDP Mode: {gpu_count}x RTX 5090 | micro_batch=8 | grad_accum={grad_acc}")cmd = ["torchrun",f"--nproc_per_node={gpu_count}","code/train_sft.py","--version", "v3","--init_ckpt", base_ckpt_path,"--batch_size", "8","--grad_accum", str(grad_acc),"--epochs", "3","--max_lr", "3.0e-5",1 unmodified line"--neftune_alpha", "1.0","--z_loss_weight", "1e-5","--eval_interval", "500","--disable_checkpointing","--push_to_hf"]else:# Single RTX 5090 Setupprint("π Single RTX 5090 Mode | micro_batch=8 | grad_accum=16 (Effective Batch = 128)")cmd = [sys.executable,"code/train_sft.py","--version", "v3","--init_ckpt", base_ckpt_path,"--batch_size", "8","--grad_accum", "16","--epochs", "3","--max_lr", "3.0e-5","--min_lr", "2.0e-6","--neftune_alpha", "1.0","--z_loss_weight", "1e-5","--eval_interval", "500","--disable_checkpointing","--push_to_hf"]88 unmodified lines89909192939495969798991001011021031041051061071081091101111121 unmodified line11411511611711811912012112212312412512612712812913013113213313413513613788 unmodified linesshutil.copy(dl, dst)print(f"β Master SFT v3 Gold Dataset Ready in {target_data_folder}!")# 5. RTX 5090 Rock-Solid Hyperparameters (Zero-OOM Mode)# micro_batch=4, grad_accum=32 (Effective Batch = 128)# Activation Checkpointing is ENABLED: Uses only ~8-10GB VRAM out of 32GB (0% OOM Guarantee)!print("\n" + "=" * 85)print("β‘ LAUNCHING RTX 5090 SFT v3 (ZERO-OOM ROCK-SOLID MODE)")print("=" * 85)if gpu_count > 1:# Dual / Quad 5090 Setupgrad_acc = max(1, 32 // gpu_count)print(f"π Multi-GPU DDP Mode: {gpu_count}x RTX 5090 | micro_batch=4 | grad_accum={grad_acc}")cmd = ["torchrun",f"--nproc_per_node={gpu_count}","code/train_sft.py","--version", "v3","--init_ckpt", base_ckpt_path,"--batch_size", "4","--grad_accum", str(grad_acc),"--epochs", "3","--max_lr", "3.0e-5",1 unmodified line"--neftune_alpha", "1.0","--z_loss_weight", "1e-5","--eval_interval", "500","--push_to_hf"]else:# Single RTX 5090 Setupprint("π Single RTX 5090 Mode | micro_batch=4 | grad_accum=32 (Effective Batch = 128)")cmd = [sys.executable,"code/train_sft.py","--version", "v3","--init_ckpt", base_ckpt_path,"--batch_size", "4","--grad_accum", "32","--epochs", "3","--max_lr", "3.0e-5","--min_lr", "2.0e-6","--neftune_alpha", "1.0","--z_loss_weight", "1e-5","--eval_interval", "500","--push_to_hf"]
runners/RUN_5090_MASTER_SFT_V3.txt+10-12