Skip to content

Commit 5e267f5

Browse files
authored
update compute_type_is_set attr (#1623)
1 parent 263179a commit 5e267f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitsandbytes/nn/modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def __init__(
447447
)
448448
# self.persistent_buffers = [] # TODO consider as way to save quant state
449449
self.compute_dtype = compute_dtype
450-
self.compute_type_is_set = False
450+
self.compute_type_is_set = False if compute_dtype is None else True
451451
self.ipex_linear_is_set = False
452452
self.quant_state = None
453453
self.quant_storage = quant_storage

0 commit comments

Comments
 (0)