Skip to content

Commit

Permalink
style: print config info before run #68
Browse files Browse the repository at this point in the history
  • Loading branch information
jyaacoub committed Dec 15, 2023
1 parent ecf586c commit c143c4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rayTrain_Tune.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ def train_func(config):
ray.train.report({"loss": loss}, checkpoint=checkpoint)


if __name__ == "__main__":
if __name__ == "__main__":
print("DATA_ROOT:", cfg.DATA_ROOT)
print("os.environ['TRANSFORMERS_CACHE']", os.environ['TRANSFORMERS_CACHE'])
print("Cuda support:", torch.cuda.is_available(),":",
torch.cuda.device_count(), "devices")
print("CUDA VERSION:", torch.__version__)
Expand Down

0 comments on commit c143c4b

Please sign in to comment.