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
gaoqiong
MIGraphX
Commits
4a5dcb97
Commit
4a5dcb97
authored
Dec 07, 2023
by
Umang Yadav
Browse files
ad fp8 warnings
parent
6a72e8fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/onnx/onnx_parser.cpp
src/onnx/onnx_parser.cpp
+5
-1
No files found.
src/onnx/onnx_parser.cpp
View file @
4a5dcb97
...
@@ -625,7 +625,11 @@ shape::type_t get_type(int dtype)
...
@@ -625,7 +625,11 @@ shape::type_t get_type(int dtype)
case
11
:
return
shape
::
double_type
;
case
11
:
return
shape
::
double_type
;
case
12
:
return
shape
::
uint32_type
;
case
12
:
return
shape
::
uint32_type
;
case
13
:
return
shape
::
uint64_type
;
case
13
:
return
shape
::
uint64_type
;
case
18
:
return
shape
::
fp8e4m3fnuz_type
;
case
18
:
{
std
::
cout
<<
"[Warning] : MIGraphX has BETA support for FP8. Using FP8 may result in "
"incorrect final outputs
\n
"
;
return
shape
::
fp8e4m3fnuz_type
;
}
case
14
:
case
14
:
case
15
:
case
15
:
case
16
:
case
16
:
...
...
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