Unverified Commit 1f85db3d authored by UnicornChan's avatar UnicornChan Committed by GitHub
Browse files

Merge pull request #51 from molamooo/fix-f16-dequantize-device

[fix] f16 dequantize device ignored
parents cbc47d0b 29f4151e
......@@ -681,7 +681,7 @@ def dequantize_f16_gpu(data, device):
res = torch.from_numpy(data)
res_gpu = torch.empty_like(res, device=device)
res_gpu.copy_(res)
return res
return res_gpu
GGML_DEQUANTIZE = {
"F32": dequantize_f32,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment