Skip to content

Commit 07206f5

Browse files
authored
[skip ci] Demote info messages in fabric test to trace level (#23881)
### Ticket NA ### Problem description info messages in a loop cause so many prints, that github stops displaying the log. https://github.com/tenstorrent/tt-metal/actions/runs/15784791499/job/44504849442 ### What's changed Demote some info log messages to trace messages, since they seem to be about tracing the program's execution.
1 parent c5f96c9 commit 07206f5

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tests/ttnn/unit_tests/gtests/ccl/test_fabric_edm_common.hpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ void run_programs(std::vector<Program>& programs, const std::vector<IDevice*>& d
399399
throw e;
400400
}
401401

402-
log_info(tt::LogTest, "Running...");
402+
log_trace(tt::LogTest, "Running...");
403403

404404
std::vector<std::thread> threads;
405405
threads.reserve(num_programs);
@@ -3055,7 +3055,7 @@ void Run1DFabricPacketSendTest(
30553055
}
30563056

30573057
for (size_t i = 0; i < params.num_op_invocations; i++) {
3058-
log_info(tt::LogTest, "Iteration: {}", i);
3058+
log_trace(tt::LogTest, "Iteration: {}", i);
30593059
if (i != 0 && params.line_sync) {
30603060
for (size_t fabric_index = 0; fabric_index < fabrics_under_test_devices.size(); fabric_index++) {
30613061
auto& programs = programs_per_fabric[fabric_index];
@@ -3080,18 +3080,18 @@ void Run1DFabricPacketSendTest(
30803080
build_and_enqueue(worker_devices, programs, i != 0);
30813081
}
30823082

3083-
log_info(tt::LogTest, "Waiting for Op finish on all devices");
3083+
log_trace(tt::LogTest, "Waiting for Op finish on all devices");
30843084
for (size_t fabric_index = 0; fabric_index < fabrics_under_test_devices.size(); fabric_index++) {
30853085
auto& worker_devices = fabric_under_test_worker_devices[fabric_index];
30863086
wait_for_worker_program_completion(worker_devices, subdevice_managers);
30873087
}
3088-
log_info(tt::LogTest, "Main op done");
3088+
log_trace(tt::LogTest, "Main op done");
30893089
}
30903090

30913091
if (!use_device_init_fabric) {
30923092
auto& devices = fabrics_under_test_devices[0];
30933093
TT_FATAL(fabric_programs->size() == devices.size(), "Expected fabric programs size to be same as devices size");
3094-
log_info(tt::LogTest, "Fabric teardown");
3094+
log_trace(tt::LogTest, "Fabric teardown");
30953095
persistent_fabric_teardown_sequence(
30963096
devices,
30973097
subdevice_managers,
@@ -3102,7 +3102,7 @@ void Run1DFabricPacketSendTest(
31023102
}
31033103
}
31043104

3105-
log_info(tt::LogTest, "Waiting for teardown completion");
3105+
log_trace(tt::LogTest, "Waiting for teardown completion");
31063106
for (size_t fabric_index = 0; fabric_index < fabrics_under_test_devices.size(); fabric_index++) {
31073107
auto& devices = fabrics_under_test_devices[fabric_index];
31083108
for (IDevice* d : devices) {
@@ -3116,7 +3116,7 @@ void Run1DFabricPacketSendTest(
31163116
tt_metal::detail::DumpDeviceProfileResults(d);
31173117
}
31183118
}
3119-
log_info(tt::LogTest, "Finished");
3119+
log_trace(tt::LogTest, "Finished");
31203120
}
31213121

31223122
struct FullMeshTestParams {
@@ -3224,7 +3224,7 @@ void launch_kernels_and_wait_for_completion(
32243224
const per_axis_array_t<std::vector<std::vector<CoreCoord>>>& worker_cores_vec_per_axis_per_device,
32253225
const per_axis_array_t<std::vector<tt::tt_metal::DeviceAddr>>& global_semaphore_addrs_per_axis) {
32263226
for (size_t i = 0; i < params.num_op_invocations; i++) {
3227-
log_info(tt::LogTest, "Iteration: {}", i);
3227+
log_trace(tt::LogTest, "Iteration: {}", i);
32283228
if (i != 0 && params.line_sync) {
32293229
for (size_t axis = 0; axis < FullMeshTestParams::MAX_NUM_AXES; axis++) {
32303230
for (size_t fabric_index = 0; fabric_index < fabrics_under_test_devices_per_axis[axis].size();
@@ -4062,7 +4062,7 @@ void RunRingDeadlockStabilityTestWithPersistentFabric(
40624062
}
40634063

40644064
for (size_t i = 0; i < num_op_invocations; i++) {
4065-
log_info(tt::LogTest, "Iteration: {}", i);
4065+
log_trace(tt::LogTest, "Iteration: {}", i);
40664066
if (i != 0 && line_sync) {
40674067
for (size_t k = 0; k < worker_kernel_ids.size(); k++) {
40684068
auto& worker_rt_args_by_core = GetRuntimeArgs(programs[k], worker_kernel_ids[k]);
@@ -4077,12 +4077,12 @@ void RunRingDeadlockStabilityTestWithPersistentFabric(
40774077

40784078
build_and_enqueue(worker_devices, programs, i != 0);
40794079

4080-
log_info(tt::LogTest, "Waiting for Op finish on all devices");
4080+
log_trace(tt::LogTest, "Waiting for Op finish on all devices");
40814081
for (IDevice* d : devices) {
40824082
tt_metal::Synchronize(d, *ttnn::DefaultQueueId);
40834083
}
4084-
log_info(tt::LogTest, "Main op done");
4084+
log_trace(tt::LogTest, "Main op done");
40854085
}
40864086

4087-
log_info(tt::LogTest, "Finished");
4087+
log_trace(tt::LogTest, "Finished");
40884088
}

0 commit comments

Comments
 (0)