Skip to content

Commit

Permalink
#0: skip N300 tests for ubench CI (#18284)
Browse files Browse the repository at this point in the history
### Ticket
Link to Github Issue

### Problem description
Provide context for the problem.

### What's changed
Describe the approach used to solve the problem.
Summarize the changes made and its impact.

### Checklist
- [ ] ubench
https://github.com/tenstorrent/tt-metal/actions/runs/13534090777
  • Loading branch information
yugaoTT authored Feb 26, 2025
1 parent 0cdc535 commit cac571b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ def run_fabric_edm(
{packet_size} "
rc = os.system(cmd)
if rc != 0:
if os.WEXITSTATUS(rc) == 1:
pytest.skip("Skipping test because it only works with T3000")
return
logger.info("Error in running the test")
assert False

Expand Down
6 changes: 6 additions & 0 deletions tests/ttnn/unit_tests/gtests/ccl/test_fabric_edm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ int main(int argc, char** argv) {
std::size_t line_size = std::stoi(argv[arg_idx++]);
std::size_t packet_payload_size_bytes = std::stoi(argv[arg_idx++]);

uint32_t test_expected_num_devices = 8;
if (tt::tt_metal::GetNumAvailableDevices() < test_expected_num_devices) {
tt::log_warning("This test can only be run on T3000 devices");
return 1;
}

WriteThroughputStabilityTestWithPersistentFabricParams params;
params.line_sync = line_sync;
params.line_size = line_size;
Expand Down

0 comments on commit cac571b

Please sign in to comment.