mattbitzesty commited on
Commit
2e2aed8
·
unverified ·
1 Parent(s): 7db8e51

chore(hf_job): redact token from remote and clean device print

Browse files

Avoid embedding token in git remote URL; use HF_TOKEN env in job. Fix
torch.device string print without importing private symbol.

Files changed (1) hide show
  1. scripts/hf_train_job.py +1 -1
scripts/hf_train_job.py CHANGED
@@ -39,7 +39,7 @@ def hf_train_5epoch() -> None:
39
  ]
40
 
41
  print("🚀 HF Job: starting PINO 5-epoch convergence pass")
42
- print(f" Device: {torch.device('cuda' if torch.cuda.is_available() else 'cpu')}")
43
  print(f" Args: {' '.join(sys.argv[1:])}")
44
 
45
  checkpoint_path = train_main()
 
39
  ]
40
 
41
  print("🚀 HF Job: starting PINO 5-epoch convergence pass")
42
+ print(f" Device: {'cuda' if torch.cuda.is_available() else 'cpu'}")
43
  print(f" Args: {' '.join(sys.argv[1:])}")
44
 
45
  checkpoint_path = train_main()