@@ -996,24 +996,6 @@ def safe_str(item: Any) -> str:
996
996
return "," .join (safe_str (item ) for item in metric )
997
997
998
998
structured_logging_overhead_s = torch ._logging .get_structured_logging_overhead ()
999
-
1000
- if torch ._inductor .utils .should_use_remote_fx_graph_cache ():
1001
- try :
1002
- from torch ._inductor .fb .remote_cache import (
1003
- FbRemoteFxGraphCache ,
1004
- REMOTE_CACHE_VERSION ,
1005
- )
1006
- except ModuleNotFoundError :
1007
- REMOTE_CACHE_VERSION = None
1008
- inductor_fx_remote_cache_backend_type = None
1009
-
1010
- remote_cache_version = REMOTE_CACHE_VERSION
1011
- backend = FbRemoteFxGraphCache .get_remote_backend ()
1012
- inductor_fx_remote_cache_backend_type = type (backend ).__name__
1013
- else :
1014
- inductor_fx_remote_cache_backend_type = None
1015
- remote_cache_version = None
1016
-
1017
999
common_metrics = {
1018
1000
"compile_id" : str (torch ._guards .CompileContext .current_compile_id ()),
1019
1001
"start_time_us" : start_time_ns // 1000 ,
@@ -1031,8 +1013,6 @@ def safe_str(item: Any) -> str:
1031
1013
"inductor_fx_remote_cache_miss_keys" : _convert_collection_to_str (
1032
1014
"inductor_fx_remote_cache_miss_keys"
1033
1015
),
1034
- "remote_cache_version" : remote_cache_version ,
1035
- "inductor_fx_remote_cache_backend_type" : inductor_fx_remote_cache_backend_type ,
1036
1016
}
1037
1017
1038
1018
# TODO: The following are legacy fields, populated from the fields that replace
0 commit comments