Write trace_structured events to scuba (#130955)

Summary: https://fb.workplace.com/groups/1286739428954016/posts/1287192258908733

Test Plan: Run test with tlparse and inspect https://www.internalfb.com/intern/scuba/query/?dataset=pt2_trace_structured_events

Differential Revision: D59866096

Pull Request resolved: https://github.com/pytorch/pytorch/pull/130955
Approved by: https://github.com/ezyang
This commit is contained in:
Oguz Ulgen
2024-07-19 06:02:47 +00:00
committed by PyTorch MergeBot
parent 982309b501
commit eee76c86a8
2 changed files with 7 additions and 0 deletions

View File

@ -124,6 +124,10 @@ def log_export_usage(**kwargs):
pass
def log_trace_structured_event(*args, **kwargs) -> None:
pass
def log_torchscript_usage(api: str, **kwargs):
_ = api
return