Fix logging string formatting in main_pre.py

This commit is contained in:
Max Tretikov 2024-06-14 13:19:15 -06:00
parent ee9daa3a5c
commit d06c38d5b4

View File

@ -37,7 +37,7 @@ from ..cli_args import args
if args.cuda_device is not None:
os.environ['CUDA_VISIBLE_DEVICES'] = str(args.cuda_device)
logging.info("Set cuda device to:", args.cuda_device)
logging.info("Set cuda device to: {}".format(args.cuda_device))
if args.deterministic:
if 'CUBLAS_WORKSPACE_CONFIG' not in os.environ: