ViuAI commited on
Commit
cbc6fac
·
verified ·
1 Parent(s): 1413434

Upload train_viutranslate.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. train_viutranslate.py +2 -2
train_viutranslate.py CHANGED
@@ -62,8 +62,8 @@ def auto_profile_hardware():
62
  dtype = torch.bfloat16 if bf16_supported else torch.float16
63
 
64
  if vram_gb >= 30:
65
- micro_batch, grad_accum = 16, 4
66
- desc = "High-Tier Workstation / Datacenter (32GB+)"
67
  elif vram_gb >= 20:
68
  micro_batch, grad_accum = 12, 6
69
  desc = "Pro-Tier GPU (24GB)"
 
62
  dtype = torch.bfloat16 if bf16_supported else torch.float16
63
 
64
  if vram_gb >= 30:
65
+ micro_batch, grad_accum = 32, 2
66
+ desc = "NVIDIA RTX 5090 / High-Tier 32GB Blackwell Beast"
67
  elif vram_gb >= 20:
68
  micro_batch, grad_accum = 12, 6
69
  desc = "Pro-Tier GPU (24GB)"