MCPcopy Create free account
hub / github.com/tile-ai/tilelang / clear_cache

Method clear_cache

tilelang/cache/kernel_cache.py:403–409  ·  view source on GitHub ↗

Clears the entire kernel cache, including both in-memory and disk cache.

(self)

Source from the content-addressed store, hash-verified

401 return kernel
402
403 def clear_cache(self):
404 """
405 Clears the entire kernel cache, including both in-memory and disk cache.
406 """
407 with self._lock:
408 self._memory_cache.clear() # Clear in-memory cache
409 self._clear_disk_cache() # Clear disk cache
410
411 def _get_cache_path(self, key: str) -> str:
412 """

Callers

nothing calls this directly

Calls 1

_clear_disk_cacheMethod · 0.95

Tested by

no test coverage detected