Skip to content

Commit 9453b7a

Browse files
committed
codestype format
1 parent adbfa12 commit 9453b7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • transformer_engine/plugin/core/backends/flagos/impl

transformer_engine/plugin/core/backends/flagos/impl/softmax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ def scaled_masked_softmax_backward_fl(
6060
# grad_softmax = softmax_output_f32 * (output_grad_f32 - sum_term)
6161
grad_softmax = flag_gems.mul(softmax_output_f32, flag_gems.sub(output_grad_f32, sum_term))
6262
grad_scaled = flag_gems.mul(grad_softmax, scale_factor)
63-
return flag_gems.to_copy(grad_scaled, dtype=orig_dtype)
63+
return flag_gems.to_copy(grad_scaled, dtype=orig_dtype)

0 commit comments

Comments
 (0)