Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
AutoAWQ
Commits
acdf7d9a
Commit
acdf7d9a
authored
Aug 28, 2023
by
Casper
Browse files
Define HALF_FLT_MAX
parent
d6bd9db7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
awq_cuda/layernorm/reduction.cuh
awq_cuda/layernorm/reduction.cuh
+1
-1
No files found.
awq_cuda/layernorm/reduction.cuh
View file @
acdf7d9a
...
...
@@ -16,7 +16,7 @@ https://github.com/NVIDIA/FasterTransformer/blob/main/src/fastertransformer/kern
#include <float.h>
#include <type_traits>
static
const
float
HALF_FLT_MAX
=
65504.
F
;
#define
HALF_FLT_MAX 65504.F
#define FINAL_MASK 0xffffffff
...
...
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