Skip to content

Commit c0f7bf3

Browse files
committed
fp4 since 0.2.28
Signed-off-by: Masaki Kozuki <[email protected]>
1 parent 40b04ba commit c0f7bf3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

thunder/executors/nvfuserex_impl.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@
114114
{
115115
dtypes.uint64: DataType.UInt64,
116116
dtypes.uint64_: DataType.UInt64,
117+
}
118+
)
119+
120+
if nvfuser_version() >= LooseVersion("0.2.28"):
121+
_lcdtype_to_nvdtype_map.update(
122+
{
117123
dtypes.float4_e2m1fn_x2: DataType.Float4_e2m1fn_x2,
118124
dtypes.float4_e2m1fn_x2_: DataType.Float4_e2m1fn_x2,
119125
}

0 commit comments

Comments
 (0)