• Lei Wang's avatar
    [Enhancement] Add commit ID to versioning and improve logging initialization (#524) · 62a8d7f0
    Lei Wang authored
    * Updated `get_tilelang_version` to include an optional commit ID in the version string.
    * Enhanced the `TileLangBuilPydCommand` to write the version with commit ID to the VERSION file during the build process.
    * Introduced a new function `get_git_commit_id` in `version.py` to retrieve the current git commit hash.
    * Refactored logger initialization in `autotuner/__init__.py` to ensure handlers are set up only once, improving performance and clarity.
    * Minor fixes in `flatten_buffer.cc` and `kernel_cache.py` for better handling of versioning and logging.
    62a8d7f0
setup.py 27.2 KB