From cb6318299d1beb41d699ce4088658635e657345d Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Sun, 2 Mar 2025 23:43:02 -0800 Subject: [PATCH] Update utils.py --- unsloth/kernels/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/unsloth/kernels/utils.py b/unsloth/kernels/utils.py index 1d4b494dd7..eb3a2e38cc 100644 --- a/unsloth/kernels/utils.py +++ b/unsloth/kernels/utils.py @@ -460,8 +460,7 @@ def matmul_lora(X, W, W_quant, A, B, s, out = None): else: reshape = False pass - - print(X.device, W.device, torch.cuda.current_device()) + out = torch_matmul(X, W, out = out) if W_quant is not None: del W