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
b876860c
Unverified
Commit
b876860c
authored
Jul 30, 2025
by
Eric Curtin
Committed by
GitHub
Jul 30, 2025
Browse files
[Hardware][CPU] Build fix for ARM without BF16 (#21848)
Signed-off-by:
Eric Curtin
<
ecurtin@redhat.com
>
parent
13986365
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
csrc/cpu/quant.cpp
csrc/cpu/quant.cpp
+2
-0
No files found.
csrc/cpu/quant.cpp
View file @
b876860c
...
...
@@ -16,12 +16,14 @@ struct KernelVecType<float> {
using
cvt_vec_type
=
vec_op
::
FP32Vec16
;
};
#if !defined(__aarch64__) || defined(ARM_BF16_SUPPORT)
template
<
>
struct
KernelVecType
<
c10
::
BFloat16
>
{
using
load_vec_type
=
vec_op
::
BF16Vec16
;
using
azp_adj_load_vec_type
=
vec_op
::
INT32Vec16
;
using
cvt_vec_type
=
vec_op
::
FP32Vec16
;
};
#endif
template
<
>
struct
KernelVecType
<
c10
::
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