Skip to content

Commit 3ecfea0

Browse files
committed
merge conflict solved
1 parent 9ec7421 commit 3ecfea0

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

bitsandbytes/nn/modules.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ def from_prequantized(
306306
def __torch_function__(cls, func, types, args=(), kwargs=None):
307307
if kwargs is None:
308308
kwargs = {}
309-
<<<<<<< HEAD
310309

311310
# Special handling for operations that need to preserve the Params4bit subclass
312311
with torch._C.DisableTorchFunctionSubclass():
@@ -346,10 +345,6 @@ def __torch_function__(cls, func, types, args=(), kwargs=None):
346345
else:
347346
# For other operations, return the result as is
348347
return result
349-
=======
350-
with torch._C.DisableTorchFunctionSubclass():
351-
return func(*args, **kwargs)
352-
>>>>>>> 08e3ccd9c4bb698728b718a57f62449e4e462859
353348

354349
def _quantize(self, device):
355350
w = self.data.contiguous().to(device)

0 commit comments

Comments
 (0)