From 0843fc47778a907f78da631cb31856dfc28f6f11 Mon Sep 17 00:00:00 2001 From: Jingyue Wu Date: Fri, 15 Nov 2024 15:38:05 -0800 Subject: [PATCH] Print spaces for readability. --- csrc/preseg_passes/reorder_sharded_axis.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/csrc/preseg_passes/reorder_sharded_axis.cpp b/csrc/preseg_passes/reorder_sharded_axis.cpp index 0f0045aa2dc..7aa2fb6f410 100644 --- a/csrc/preseg_passes/reorder_sharded_axis.cpp +++ b/csrc/preseg_passes/reorder_sharded_axis.cpp @@ -28,22 +28,22 @@ void ReorderShardedAxisPass::runPass(Fusion* fusion) { } NVF_ERROR( ir_utils::isTvOp(expr), - "Non-tv op is not supported:", + "Non-tv op is not supported: ", expr->toString()); NVF_ERROR( expr->outputs().size() == 1, - "Resharding operations can only have one output", + "Resharding operations can only have one output: ", expr->toString()); NVF_ERROR( expr->inputs().size() == 1, - "Resharding operations can have only one input", + "Resharding operations can have only one input: ", expr->toString()); auto* output = expr->outputs().at(0)->as(); auto* input = expr->inputs().at(0)->as(); auto [shard_additions, shard_deletions] = getShardingChanges(expr); NVF_ERROR( shard_additions.size() + shard_deletions.size() <= 1, - "Resharding expr can only support one axis:", + "Resharding expr can only support one axis: ", expr->toString()) // For gather operations i.e. ID goes from sharded to unsharded