Merged
Conversation
* [Misc] add env for default target/backend/verbose * fix: target_host signature * fix: move all env logic to kernel_cache * fix: example * fix: type hint * Update example_gqa_decode_varlen_logits.py --------- Co-authored-by: Lei Wang <34334180+LeiWang1999@users.noreply.github.com>
* fp4 related update, require_cu13 * Enhance CUDA type conversion handling and optimize dtype management - Updated CUDA vectorized cast functions to ensure proper handling of float16, float32, bfloat16, and float8 conversions, adding checks for bit sizes. - Refactored dtype conversion logic in `cuda_fp4.h` to utilize `cudaRoundZero` for improved accuracy in floating-point conversions. - Introduced a new method in `KernelParam` to convert TVM DataType to TileLang dtype. - Adjusted argument binding logic in `arg_binder.cc` to allow for better subtype matching based on total bit counts. - Enhanced dtype handling in `dtypes.py` to accommodate new float4_e2m1fn types and ensure compatibility with PyTorch. This update aims to improve type safety and conversion accuracy across the codebase. * lint fix * lint fix * typo fix --------- Co-authored-by: Zhiwen Mo <zm125@ic.ac.uk>
* Enhance GEMM layout functions to include a fallback for float64 when mat_stride % 8 != 0. Refactor swizzling layout conditions to check mat_stride before mat_continuous, improving layout selection logic for better performance. * lint fix
* Fix fp4 pointer arithmetic in CUDA codegen * Fix fp4 pointer arithmetic in CUDA codegen
…formance regression testing (#1519)
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )