diff --git a/fbgemm_gpu/codegen/training/backward/embedding_backward_split_host_template.cpp b/fbgemm_gpu/codegen/training/backward/embedding_backward_split_host_template.cpp index 6efccefb8a..3f76798d28 100644 --- a/fbgemm_gpu/codegen/training/backward/embedding_backward_split_host_template.cpp +++ b/fbgemm_gpu/codegen/training/backward/embedding_backward_split_host_template.cpp @@ -662,8 +662,8 @@ class {{ autograd_func }} : << "T=" << T << "," << "avg_D=" << ({{ "total_D / T" if not nobag else "D" }}) << "," << "max_D=" << {{ "max_D" if not nobag else "D" }} << "," - << "num_indices=" << indices.numel() << "," - << "avg_pooling_fac=" << (static_cast(indices.numel()) / T / max_B_) + << "num_indices=" << indices.sym_numel() << "," + << "avg_pooling_fac=" << (static_cast(indices.sym_numel()) / T / max_B_) << "]"; op_annotation = ss.str(); record_trace = profiler::record_function_enter_new(