- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 791
 
fix param name #13
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
            
            fix param name #13
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
    
  
  
    
    | 
           Good catch! Thank you!  | 
    
    
  techthiyanes 
      pushed a commit
        to techthiyanes/bitsandbytes-1
      that referenced
      this pull request
    
      Jul 7, 2023 
    
    
  
    
  techthiyanes 
      pushed a commit
        to techthiyanes/bitsandbytes-1
      that referenced
      this pull request
    
      Jul 7, 2023 
    
    
  
    
  TNTran92 
      pushed a commit
        to TNTran92/bitsandbytes
      that referenced
      this pull request
    
      Mar 24, 2024 
    
    
      
  
    
      
    
  
Enable matmul function
    
  matthewdouglas 
      pushed a commit
      that referenced
      this pull request
    
      Sep 15, 2025 
    
    
      
  
    
      
    
  
* Add SYCL Kernels for XPU backend * fix transpose Signed-off-by: jiqing-feng <[email protected]> * fix log and format Signed-off-by: jiqing-feng <[email protected]> * revert cpu changes Signed-off-by: jiqing-feng <[email protected]> * clean ipex_xpu Signed-off-by: jiqing-feng <[email protected]> * clean ipex import Signed-off-by: jiqing-feng <[email protected]> * fix ipex cpu import Signed-off-by: jiqing-feng <[email protected]> * fix typo Signed-off-by: jiqing-feng <[email protected]> * fix comments Signed-off-by: jiqing-feng <[email protected]> * refine gemv_4bit kernel * enable FP4 for dequant_4bit and gemv_4bit * refine FP4 dequantization performance * remove check for better performance Signed-off-by: jiqing-feng <[email protected]> * fix doc Signed-off-by: jiqing-feng <[email protected]> * clean code * fix tests Signed-off-by: jiqing-feng <[email protected]> * rm comments Signed-off-by: jiqing-feng <[email protected]> * fix memory issue * fix ut failure * adjust threshold Signed-off-by: jiqing-feng <[email protected]> * fix xpu check Signed-off-by: jiqing-feng <[email protected]> * change test_functional check Signed-off-by: jiqing-feng <[email protected]> * fix test_module Signed-off-by: jiqing-feng <[email protected]> * fix device check Signed-off-by: jiqing-feng <[email protected]> * fix tests Signed-off-by: jiqing-feng <[email protected]> * Enable Windows build and refine code * fix xpu log Signed-off-by: jiqing-feng <[email protected]> * remove ipex entirely Signed-off-by: jiqing-feng <[email protected]> * fix cpu int8 CB Signed-off-by: jiqing-feng <[email protected]> * fix lint Signed-off-by: jiqing-feng <[email protected]> * fix logs (#12) * fix logs Signed-off-by: jiqing-feng <[email protected]> * fix format Signed-off-by: jiqing-feng <[email protected]> --------- Signed-off-by: jiqing-feng <[email protected]> * Fix sycl lint error and tests (#13) * fix sycl nd Signed-off-by: jiqing-feng <[email protected]> * fix tests Signed-off-by: jiqing-feng <[email protected]> --------- Signed-off-by: jiqing-feng <[email protected]> * skip typo check for xpu kernel codes (#14) * skip test for xpu ops Signed-off-by: jiqing-feng <[email protected]> * fix lint Signed-off-by: jiqing-feng <[email protected]> * skip typo for xpu Signed-off-by: jiqing-feng <[email protected]> * skip Signed-off-by: jiqing-feng <[email protected]> * skip Signed-off-by: jiqing-feng <[email protected]> --------- Signed-off-by: jiqing-feng <[email protected]> * register triton kernel for quantization (#15) Signed-off-by: jiqing-feng <[email protected]> * Fix version comparison issue (#18) # Description The version comparison expression miss reference the .release property from the version object. This lead to compare between the tuple and the string # Error message ``` The 8-bit optimizer is not available on your device, only available on CUDA for now. 🦥 Unsloth: Will patch your computer to enable 2x faster free finetuning. Traceback (most recent call last): File "/home/erxin/jenkins/workspace/Unsloth_Benchmark/unsloth_validation/run.py", line 1, in <module> import unsloth File "/home/erxin/jenkins/workspace/Unsloth_Benchmark/v/lib/python3.10/site-packages/unsloth/__init__.py", line 235, in <module> from .models import * File "/home/erxin/jenkins/workspace/Unsloth_Benchmark/v/lib/python3.10/site-packages/unsloth/models/__init__.py", line 15, in <module> from .llama import FastLlamaModel File "/home/erxin/jenkins/workspace/Unsloth_Benchmark/v/lib/python3.10/site-packages/unsloth/models/llama.py", line 23, in <module> from ._utils import * File "/home/erxin/jenkins/workspace/Unsloth_Benchmark/v/lib/python3.10/site-packages/unsloth/models/_utils.py", line 89, in <module> from unsloth_zoo.patching_utils import ( File "/home/erxin/jenkins/workspace/Unsloth_Benchmark/v/lib/python3.10/site-packages/unsloth_zoo/patching_utils.py", line 629, in <module> import transformers.integrations.bitsandbytes File "/home/erxin/jenkins/workspace/Unsloth_Benchmark/v/lib/python3.10/site-packages/transformers/integrations/bitsandbytes.py", line 20, in <module> import bitsandbytes as bnb File "/home/erxin/jenkins/workspace/Unsloth_Benchmark/bitsandbytes/bitsandbytes/__init__.py", line 39, in <module> from .backends.xpu import ops as xpu_ops File "/home/erxin/jenkins/workspace/Unsloth_Benchmark/bitsandbytes/bitsandbytes/backends/xpu/ops.py", line 17, in <module> if version.parse(torch.__version__).release >= version.parse("2.9"): TypeError: '>=' not supported between instances of 'tuple' and 'Version' ``` --------- Signed-off-by: jiqing-feng <[email protected]> Co-authored-by: jiqing-feng <[email protected]> Co-authored-by: Er-Xin (Edwin) Shang <[email protected]>
  
    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.
  
    
  
    
No description provided.