Update utils.py

This commit is contained in:
Daniel Han 2025-03-03 17:17:25 -08:00
commit 189146e389

View file

@ -452,6 +452,7 @@ pass
def matmul_lora(X, W, W_quant, A, B, s, out = None):
dtype = X.dtype
W = fast_dequantize(W.t(), W_quant, use_global_buffer = False)
print(W)
if X.device != W.device:
print(X.device, W.device, torch.cuda.current_device())