[go: nahoru, domu]

Skip to content

Commit

Permalink
bfloa16 support in FXIRUtils
Browse files Browse the repository at this point in the history
Differential Revision: D53552923

fbshipit-source-id: 64328ec43c2a29f005bee031e649a9ca402b7b13
  • Loading branch information
Kunming Ho authored and facebook-github-bot committed Feb 8, 2024
1 parent 5e913bd commit 5e01ba5
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 5e01ba5

Please sign in to comment.