Home
last modified time | relevance | path

Searched refs:local_cache (Results 1 – 5 of 5) sorted by relevance

/external/pytorch/torch/_inductor/runtime/
Dautotune_cache.py35 local_cache: Optional[Tuple[RemoteCache[JsonDataTy], str]] = None variable in AutotuneCache
46 if cache.local_cache or cache.remote_cache:
53 if local_cache := self.local_cache:
54 cache, key = local_cache
84 local_cache = RemoteCache(_LocalAutotuneCacheBackend(), RemoteCacheJsonSerde())
85 self.local_cache = (local_cache, cache_filename)
121 if local_cache := self.local_cache:
122 cache, key = local_cache
/external/pytorch/test/inductor/
Dtest_pad_mm.py408 local_cache = get_pad_cache().get_local_cache()
409 self.assertTrue(len(local_cache) == 2)
411 repr(local_cache)
419 local_cache = get_pad_cache().get_local_cache()
421 self.assertTrue(len(local_cache) == 3)
424 repr(local_cache)
427 repr(local_cache)
/external/google-breakpad/src/tools/windows/converter/
Dms_symbol_server_converter.cc134 const string& local_cache, in MSSymbolServerConverter() argument
154 assert(local_cache.find_first_of(kInvalidCharacters) == string::npos); in MSSymbolServerConverter()
174 symbol_path_ += "srv*" + local_cache + "*" + *symbol_server + ";"; in MSSymbolServerConverter()
Dms_symbol_server_converter.h146 MSSymbolServerConverter(const string& local_cache,
/external/pytorch/torch/_inductor/
Dcodecache.py196 local_cache = json.load(local_cache_fp)
197 return local_cache["cache"]
199 def update_local_cache(self, local_cache: Dict[str, Any]) -> None:
203 json.dumps({"system": self.system, "cache": local_cache}, indent=4),
287 local_cache = self.get_local_cache() if config.autotune_local_cache else {}
290 not check_cache(local_cache)
301 local_cache.setdefault(op, {})
302 local_cache[op].setdefault(inputs, {}).setdefault(precision, {})
304 local_cache[op][inputs][precision][choice.hash_key()] = timing
310 self.update_local_cache(local_cache)