1
Fork 0

refactor(main): replace print with logging

This commit is contained in:
Tibo De Peuter 2026-03-31 19:51:17 +00:00
parent b70cd1c27b
commit 4151d2307e

View file

@ -1,4 +1,9 @@
import logging
import jax
logger = logging.getLogger(__name__)
if __name__ == "__main__":
print(jax.devices())
logging.basicConfig(level=logging.INFO)
logger.info(f"JAX devices: {jax.devices()}")