-
Notifications
You must be signed in to change notification settings - Fork 34
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
[Dev] Feature Improves for bitnet and block reduction #92
Merged
Conversation
This file contains 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
…ability and maintainability
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 several changes to the codebase, primarily focusing on the
bitblas
and3rdparty/tvm
modules. The changes include modifications to theto_dict
andis_not_fast_decoding_supported
methods inbitblas/base/roller/hint.py
andbitblas/ops/general_matmul/__init__.py
respectively, addition of new methods inbitblas/ops/impl/matmul_dequantize_splitk_impl.py
, and changes to the subproject commit in3rdparty/tvm
. New benchmarking scripts are also added in theintegration/BitNet
directory.Changes to the
bitblas
module:bitblas/base/roller/hint.py
: Refactored thefrom_dict
method to use a class method instead of an instance method, which improves the code's readability and maintainability.bitblas/ops/general_matmul/__init__.py
: Extended theis_not_fast_decoding_supported
method to handle cases wherew_dtype
isint4/uint4
anda_dtype
isint8
, and reformatted thedispatch_tir
method for better readability. [1] [2]bitblas/ops/impl/matmul_dequantize_splitk_impl.py
: Added new imports and a new methodmatmul_nt_dequantize_b_propagate_a_propagate_b
that seems to implement a new feature or optimization in the matrix multiplication operation. [1] [2]Changes to the
3rdparty/tvm
module:3rdparty/tvm
: Updated the subproject commit, which suggests that the version of thetvm
subproject used in this project has been updated.Addition of new benchmarking scripts:
integration/BitNet/benchmark.sh
andintegration/BitNet/benchmark_generate.py
: Added new benchmarking scripts, which will help in performance testing and optimization of the code. [1] [2]