tilelang.cache.ascend_binary_cache¶

Cross-host cache for compiled Ascend device binaries.

Classes¶

AscendBinaryCache

Cache executable CCE ELF bytes independently from host artifacts.

Module Contents¶

class tilelang.cache.ascend_binary_cache.AscendBinaryCache¶

Bases: tilelang.cache.binary_cache.BinaryCache

Cache executable CCE ELF bytes independently from host artifacts.

cache_root_dir = 'ascend-binaries'¶
cache_format = 'tilelang.ascend-binary-cache.v1'¶
binary_kind = 'Ascend'¶
binary_format = 'aibin'¶
classmethod make_key(*, code, target_kind, target_arch, compile_format, options=None, linker_options=None)¶
Parameters:
  • code (str)

  • target_kind (str)

  • target_arch (str)

  • compile_format (str)

  • options (list[str] | None)

  • linker_options (list[str] | None)

Return type:

str