-
Notifications
You must be signed in to change notification settings - Fork 331
[Refactor] Skip patchelf if not installed #477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…architectures * Updated the TMA barrier validation in `inject_tma_barrier.cc` to check for non-empty `barrier_id_to_range_` before raising an error for missing `create_list_of_mbarrier`. * Refactored architecture checks in `phase.py` to utilize a new constant `SUPPORTED_TMA_ARCHS`, allowing for easier updates and improved readability in the target architecture validation logic.
…hase.py * Added logging configuration to setup.py, replacing print statements with logger for better traceability. * Updated download and extraction functions to use logger for status messages. * Refactored TMA architecture checks in phase.py to utilize the new `have_tma` function for improved clarity and maintainability. * Introduced support for additional compute capabilities in nvcc.py, including TMA support checks.
…t GPU compute capability range
…pute_version * Updated the `have_tma` function in nvcc.py to take a `target` parameter, improving clarity and usability. * Adjusted calls to `have_tma` in phase.py to pass the target directly, enhancing maintainability and consistency in TMA support checks.
lucifer1004
pushed a commit
to lucifer1004/tilelang
that referenced
this pull request
May 16, 2025
* [Refactor] Enhance TMA barrier validation and support for additional architectures * Updated the TMA barrier validation in `inject_tma_barrier.cc` to check for non-empty `barrier_id_to_range_` before raising an error for missing `create_list_of_mbarrier`. * Refactored architecture checks in `phase.py` to utilize a new constant `SUPPORTED_TMA_ARCHS`, allowing for easier updates and improved readability in the target architecture validation logic. * Enhance logging in setup.py and refactor TMA architecture checks in phase.py * Added logging configuration to setup.py, replacing print statements with logger for better traceability. * Updated download and extraction functions to use logger for status messages. * Refactored TMA architecture checks in phase.py to utilize the new `have_tma` function for improved clarity and maintainability. * Introduced support for additional compute capabilities in nvcc.py, including TMA support checks. * Update documentation for get_target_compute_version to reflect correct GPU compute capability range * Refactor have_tma function to accept tvm.target.Target instead of compute_version * Updated the `have_tma` function in nvcc.py to take a `target` parameter, improving clarity and usability. * Adjusted calls to `have_tma` in phase.py to pass the target directly, enhancing maintainability and consistency in TMA support checks.
LeiWang1999
added a commit
to LeiWang1999/tilelang
that referenced
this pull request
Jul 18, 2025
* [Refactor] Enhance TMA barrier validation and support for additional architectures * Updated the TMA barrier validation in `inject_tma_barrier.cc` to check for non-empty `barrier_id_to_range_` before raising an error for missing `create_list_of_mbarrier`. * Refactored architecture checks in `phase.py` to utilize a new constant `SUPPORTED_TMA_ARCHS`, allowing for easier updates and improved readability in the target architecture validation logic. * Enhance logging in setup.py and refactor TMA architecture checks in phase.py * Added logging configuration to setup.py, replacing print statements with logger for better traceability. * Updated download and extraction functions to use logger for status messages. * Refactored TMA architecture checks in phase.py to utilize the new `have_tma` function for improved clarity and maintainability. * Introduced support for additional compute capabilities in nvcc.py, including TMA support checks. * Update documentation for get_target_compute_version to reflect correct GPU compute capability range * Refactor have_tma function to accept tvm.target.Target instead of compute_version * Updated the `have_tma` function in nvcc.py to take a `target` parameter, improving clarity and usability. * Adjusted calls to `have_tma` in phase.py to pass the target directly, enhancing maintainability and consistency in TMA support checks.
LeiWang1999
added a commit
to LeiWang1999/tilelang
that referenced
this pull request
Jul 20, 2025
* [Refactor] Enhance TMA barrier validation and support for additional architectures * Updated the TMA barrier validation in `inject_tma_barrier.cc` to check for non-empty `barrier_id_to_range_` before raising an error for missing `create_list_of_mbarrier`. * Refactored architecture checks in `phase.py` to utilize a new constant `SUPPORTED_TMA_ARCHS`, allowing for easier updates and improved readability in the target architecture validation logic. * Enhance logging in setup.py and refactor TMA architecture checks in phase.py * Added logging configuration to setup.py, replacing print statements with logger for better traceability. * Updated download and extraction functions to use logger for status messages. * Refactored TMA architecture checks in phase.py to utilize the new `have_tma` function for improved clarity and maintainability. * Introduced support for additional compute capabilities in nvcc.py, including TMA support checks. * Update documentation for get_target_compute_version to reflect correct GPU compute capability range * Refactor have_tma function to accept tvm.target.Target instead of compute_version * Updated the `have_tma` function in nvcc.py to take a `target` parameter, improving clarity and usability. * Adjusted calls to `have_tma` in phase.py to pass the target directly, enhancing maintainability and consistency in TMA support checks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces logging enhancements to replace
printstatements with a standardized logging approach, improves GPU architecture handling, and refactors TMA (Tensor Memory Accelerator) support logic. These changes enhance maintainability, debugging, and extendability of the codebase.Logging enhancements:
setup.pyfor consistent logging across the script. Replaced allprintstatements with appropriateloggercalls, such aslogger.infoandlogger.warning. This includes updates in functions likedownload_and_extract_llvm,is_git_repo,patch_libs, and various methods in custom commands. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]