Spaces:
Running
Running
feat: display local TPU's
Browse files- 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.
|
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):
|