Log compile ids to pt2_remote_cache and pt2_compile_events (#137431)

Log the current compilation id for all relevant samples for these two tables, so we can have a 1:1 analog with dynamo_compile.

Differential Revision: [D63900826](https://our.internmc.facebook.com/intern/diff/D63900826/)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/137431
Approved by: https://github.com/oulgen
This commit is contained in:
James Wu
2024-10-07 09:51:58 -07:00
committed by PyTorch MergeBot
parent 758dbac308
commit 3bf6594d13
2 changed files with 23 additions and 4 deletions

View File

@ -356,5 +356,7 @@ def maybe_upload_prof_stats_to_manifold(profile_path: str) -> Optional[str]:
return None
def log_chromium_event_internal(event, stack, logger_uuid, start_timestamp=None):
def log_chromium_event_internal(
event, stack, compile_id, logger_uuid, start_timestamp=None
):
return None