@@ -341,9 +341,9 @@ void swizzle_scaling_factors(const Tensor* input, Tensor* output, cudaStream_t s
341341 CheckInputTensor (*input, " scaling_factor_input" );
342342 CheckInputTensor (*output, " scaling_factor_output" );
343343 NVTE_CHECK (!input->with_gemm_swizzled_scales ,
344- " Expected input tensor with scales in compact layout ." );
344+ " Expected input tensor with scales in compact format ." );
345345 NVTE_CHECK (output->with_gemm_swizzled_scales ,
346- " Expected output tensor with scales in swizzled layout for GEMM ." );
346+ " Expected output tensor with scales in GEMM swizzled format ." );
347347 switch (scaling_mode) {
348348 case NVTE_MXFP8_1D_SCALING:
349349 NVTE_CHECK (is_fp8_dtype (input->dtype ()), " Input tensor has invalid dtype (expected FP8, got " ,
@@ -661,9 +661,9 @@ void multi_tensor_swizzle_scaling_factors(const std::vector<Tensor*>& input,
661661 (is_fp8 && is_mxfp8_scaling (scaling_mode)) || (is_fp4 && is_nvfp4_scaling (scaling_mode)),
662662 " Not implemented scaling mode " + to_string (scaling_mode) + " ." );
663663 NVTE_CHECK (!input[i]->with_gemm_swizzled_scales ,
664- " Expected input tensors with scales in compact layout ." );
664+ " Expected input tensors with scales in compact format ." );
665665 NVTE_CHECK (output[i]->with_gemm_swizzled_scales ,
666- " Expected output tensors with scales in swizzled layout for GEMM ." );
666+ " Expected output tensors with scales in GEMM swizzled format ." );
667667
668668 // We don't allow empty tensors. They should be filtered out before calling this function.
669669 NVTE_CHECK (input[i]->numel () != 0 , " Tensor input[" , i, " ] is empty." );
0 commit comments