Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
60d1c6e5
Unverified
Commit
60d1c6e5
authored
Jul 29, 2024
by
Tyler Michael Smith
Committed by
GitHub
Jul 29, 2024
Browse files
[Kernel] Fix deprecation function warnings squeezellm quant_cuda_kernel (#6901)
parent
db9e5708
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
csrc/quantization/squeezellm/quant_cuda_kernel.cu
csrc/quantization/squeezellm/quant_cuda_kernel.cu
+2
-2
No files found.
csrc/quantization/squeezellm/quant_cuda_kernel.cu
View file @
60d1c6e5
...
...
@@ -197,13 +197,13 @@ void squeezellm_gemm(torch::Tensor vec, torch::Tensor mat, torch::Tensor mul,
const
cudaStream_t
stream
=
at
::
cuda
::
getCurrentCUDAStream
();
vllm
::
squeezellm
::
NUQ4MatMulKernel
<<<
blocks
,
threads
,
0
,
stream
>>>
(
#ifndef USE_ROCM
(
half2
*
)
vec
.
data
<
at
::
Half
>
(),
(
half2
*
)
vec
.
data
_ptr
<
at
::
Half
>
(),
#else
(
__half2
*
)
vec
.
data_ptr
<
at
::
Half
>
(),
#endif
mat
.
data_ptr
<
int
>
(),
#ifndef USE_ROCM
(
half2
*
)
mul
.
data
<
at
::
Half
>
(),
(
__half
*
)
lookup_table
.
data
<
at
::
Half
>
(),
(
half2
*
)
mul
.
data
<
at
::
Half
>
(),
(
__half
*
)
lookup_table
.
data
_ptr
<
at
::
Half
>
(),
#else
(
float2
*
)
mul
.
data_ptr
<
float
>
(),
(
__half
*
)
lookup_table
.
data_ptr
<
at
::
Half
>
(),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment