From 0c80767ea6609f08706ee119f227f70d74d90537 Mon Sep 17 00:00:00 2001 From: ckvermaAI Date: Mon, 5 May 2025 13:47:27 +0300 Subject: [PATCH] update compute_type_is_set attr --- bitsandbytes/nn/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitsandbytes/nn/modules.py b/bitsandbytes/nn/modules.py index cdeaebc27..f28ef651f 100755 --- a/bitsandbytes/nn/modules.py +++ b/bitsandbytes/nn/modules.py @@ -447,7 +447,7 @@ def __init__( ) # self.persistent_buffers = [] # TODO consider as way to save quant state self.compute_dtype = compute_dtype - self.compute_type_is_set = False + self.compute_type_is_set = False if compute_dtype is None else True self.ipex_linear_is_set = False self.quant_state = None self.quant_storage = quant_storage