Home
last modified time | relevance | path

Searched refs:PyCodeCache (Results 1 – 14 of 14) sorted by relevance

/aosp_15_r20/external/pytorch/test/inductor/
H A Dtest_triton_wrapper.py8 from torch._inductor.codecache import PyCodeCache
16 for v in PyCodeCache.cache.values():
H A Dtest_kernel_benchmark.py12 from torch._inductor.codecache import PyCodeCache
34 PyCodeCache.cache.clear()
38 for v in PyCodeCache.cache.values():
H A Dtest_codecache.py19 PyCodeCache,
154 for m in torch._inductor.codecache.PyCodeCache.cache.values():
844 self.assertEqual(len(PyCodeCache.cache.keys()), 0)
850 self.assertEqual(len(PyCodeCache.cache.keys()), 0)
H A Dtest_multi_kernel.py64 codecache.PyCodeCache.cache_clear()
/aosp_15_r20/external/pytorch/torch/_inductor/
H A Dwrapper_benchmark.py77 from torch._inductor.codecache import PyCodeCache
80 for kernel_key, kernel_mod in PyCodeCache.cache.items():
H A Dmetrics.py274 from .codecache import PyCodeCache
277 mod = PyCodeCache.load(kernel_module_code)
H A Dautotune_process.py37 PyCodeCache,
631 mod = PyCodeCache.load_by_key_path(self.module_cache_key, self.module_path)
673 mod = PyCodeCache.load_by_key_path(self.module_cache_key, self.module_path)
H A Dgraph.py1681 from .codecache import PyCodeCache
1690 key, path = PyCodeCache.write(code)
1705 mod = PyCodeCache.load_by_key_path(
H A Dselect_algorithm.py31 from .codecache import code_hash, PersistentCache, PyCodeCache
697 mod = PyCodeCache.load(code, extra)
H A Dcodecache.py875 graph.current_callable = PyCodeCache.load_by_key_path(
3042 class PyCodeCache: class
3123 return _module_to_triton_kernel(PyCodeCache.load(source_code), kernel_name)
/aosp_15_r20/external/pytorch/torch/profiler/
H A Dprofiler.py846 from torch._inductor.codecache import PyCodeCache as PyCodeCache unknown
850 for v in PyCodeCache.cache.values()
/aosp_15_r20/external/pytorch/torch/_inductor/runtime/
H A Dcompile_tasks.py29 return codecache.PyCodeCache.load_by_key_path(key, path)
/aosp_15_r20/external/pytorch/test/dynamo/
H A Dtest_aot_autograd_cache.py55 for m in torch._inductor.codecache.PyCodeCache.cache.values():
57 torch._inductor.codecache.PyCodeCache.cache_clear()
/aosp_15_r20/external/pytorch/torch/_inductor/codegen/
H A Dtriton.py38 from ..codecache import code_hash, get_path, PyCodeCache
3067 mod = PyCodeCache.load(src_code)
3177 mod = PyCodeCache.load(src_code)