[torchscript] Add logging for model id. (#130118)

Summary: as title.

Test Plan: CI

Reviewed By: angelayi

Differential Revision: D59348256

Pull Request resolved: https://github.com/pytorch/pytorch/pull/130118
Approved by: https://github.com/BoyuanFeng
This commit is contained in:
Zhengxu Chen
2024-07-09 22:24:16 +00:00
committed by PyTorch MergeBot
parent fb5cb17fbe
commit 37d4d04309
5 changed files with 27 additions and 14 deletions

View File

@ -124,7 +124,7 @@ def log_export_usage(**kwargs):
pass
def log_torchscript_usage(api: str):
def log_torchscript_usage(api: str, **kwargs):
_ = api
return