Commit c2b8c277 authored by Yuxin Wu's avatar Yuxin Wu Committed by Facebook GitHub Bot
Browse files

print fbcode build info (revision hash, build time, etc) at job start

Summary: will help debugging

Reviewed By: tglik

Differential Revision: D32771358

fbshipit-source-id: 659c0edc79354ca8688b13058f784f653c0cff37
parent 8ad1f1ff
......@@ -272,6 +272,12 @@ def log_info(cfg, runner):
if wf_id is not None:
logger.info("FBLearner Flow Run ID: {}".format(wf_id))
logger.info("Environment info:\n" + collect_env_info())
try:
from detectron2.fb.utils import print_fbcode_info
print_fbcode_info()
except ImportError:
pass
logger.info("Running with full config:\n{}".format(cfg))
logger.info("Running with runner: {}".format(runner))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment