assertnotmemory_efficient_backward,"memory_efficient_backward is no longer required and the argument is deprecated in 0.37.0 and will be removed in 0.39.0"
bias=True,
has_fp16_weights=True,
memory_efficient_backward=False,
threshold=0.0,
index=None,
):
super().__init__(
input_features,output_features,bias
)
self.state=bnb.MatmulLtState()
self.state=bnb.MatmulLtState()
self.index=index
self.index=index
...
@@ -231,9 +222,7 @@ class Linear8bitLt(nn.Linear):
...
@@ -231,9 +222,7 @@ class Linear8bitLt(nn.Linear):