mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
[Reland][BE] add test wall time report (#61389)
Summary: This is a reland of https://github.com/pytorch/pytorch/issues/61322. Pull Request resolved: https://github.com/pytorch/pytorch/pull/61389 Reviewed By: malfet Differential Revision: D29601573 Pulled By: walterddr fbshipit-source-id: dfb2bdc7d72d493c01b9dbac50ef9b79c1782054
This commit is contained in:
parent
7481c6fc02
commit
38c48e42c6
3 changed files with 3 additions and 0 deletions
|
|
@ -700,6 +700,7 @@ def build_info() -> ReportMetaMeta:
|
|||
"build_branch": os.environ.get("CIRCLE_BRANCH", ""),
|
||||
"build_job": os.environ.get("JOB_BASE_NAME", ""),
|
||||
"build_workflow_id": os.environ.get("CIRCLE_WORKFLOW_ID", ""),
|
||||
"build_start_time_epoch": str(int(os.path.getmtime(os.path.realpath(__file__)))),
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ class ReportMetaMeta(TypedDict):
|
|||
build_branch: str
|
||||
build_job: str
|
||||
build_workflow_id: str
|
||||
build_start_time_epoch: str
|
||||
|
||||
|
||||
class ReportMeta(ReportMetaMeta):
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ def dummy_meta_meta() -> ReportMetaMeta:
|
|||
'build_branch': '',
|
||||
'build_job': '',
|
||||
'build_workflow_id': '',
|
||||
'build_start_time_epoch': '',
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue