We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d06731 commit e1b0572Copy full SHA for e1b0572
jax/experimental/mosaic/gpu/utils.py
@@ -135,7 +135,7 @@ def _debug_scalar_ty_format(arg):
135
return "%llu", arg
136
if ir.F32Type.isinstance(arg.type):
137
return "%f", arg
138
- if ir.F16Type.isinstance(arg.type):
+ if ir.BF16Type.isinstance(arg.type) or ir.F16Type.isinstance(arg.type):
139
arg = arith.extf(ir.F32Type.get(), arg)
140
141
raise NotImplementedError(f"Can't print the type {arg.type}")
0 commit comments