Skip to content

Commit

Permalink
bfloa16 support in FXIRUtils
Browse files Browse the repository at this point in the history
Differential Revision: D53552923
  • Loading branch information
Kunming Ho authored and facebook-github-bot committed Feb 8, 2024
1 parent 5e913bd commit 779d07f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Graph/FXIRUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const std::unordered_map<std::string, ElemKind> stringToElemKind = {
// 16-bit float type
{"torch.float16", ElemKind::Float16Ty},
{"torch.half", ElemKind::Float16Ty},
{"torch.bfloat16", ElemKind::BFloat16Ty},
// 64-bit int type
{"torch.int64", ElemKind::Int64ITy},
// 64-bit int type
Expand Down

0 comments on commit 779d07f

Please sign in to comment.