boris commited on
Commit
15993e3
1 Parent(s): 87fed1b

feat: display local TPU's

Browse files
Files changed (1) hide show
  1. tools/train/train.py +1 -1
tools/train/train.py CHANGED
@@ -375,7 +375,7 @@ def main():
375
  datasets.utils.logging.set_verbosity_error()
376
  transformers.utils.logging.set_verbosity_error()
377
 
378
- logger.info(f"TPUs: {jax.device_count()}")
379
  assert jax.local_device_count() == 8, "TPUs in use, please check running processes"
380
 
381
  # Set the verbosity to info of the Transformers logger (on main process only):
 
375
  datasets.utils.logging.set_verbosity_error()
376
  transformers.utils.logging.set_verbosity_error()
377
 
378
+ logger.info(f"Local TPUs: {jax.local_device_count()}")
379
  assert jax.local_device_count() == 8, "TPUs in use, please check running processes"
380
 
381
  # Set the verbosity to info of the Transformers logger (on main process only):