mirror of
https://github.com/wassname/vllm.git
synced 2026-08-15 12:54:49 +08:00
[Kernel] Squash a few more warnings (#6914)
This commit is contained in:
@@ -203,7 +203,8 @@ void squeezellm_gemm(torch::Tensor vec, torch::Tensor mat, torch::Tensor mul,
|
||||
#endif
|
||||
mat.data_ptr<int>(),
|
||||
#ifndef USE_ROCM
|
||||
(half2*)mul.data<at::Half>(), (__half*)lookup_table.data_ptr<at::Half>(),
|
||||
(half2*)mul.data_ptr<at::Half>(),
|
||||
(__half*)lookup_table.data_ptr<at::Half>(),
|
||||
#else
|
||||
(float2*)mul.data_ptr<float>(),
|
||||
(__half*)lookup_table.data_ptr<at::Half>(),
|
||||
|
||||
Reference in New Issue
Block a user