Skip to content

Commit

Permalink
Rebase and add tests for larger shapes.
Browse files Browse the repository at this point in the history
  • Loading branch information
avoraTT committed Nov 26, 2024
1 parent 979168e commit 03647bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,16 @@ def get_physical_to_logical_core_mapping(device):
(3, 32, 2304, 3840, ttnn.bfloat16, ttnn.bfloat8_b, ttnn.MathFidelity.HiFi4, True, False, (8, 3)),
# 32, 2304, 3840
(3, 32, 2304, 3840, ttnn.bfloat16, ttnn.bfloat8_b, ttnn.MathFidelity.HiFi4, False, True, (8, 3)),
# 256, 8192, 8192
# 256, 1024, 8192
(1, 256, 1024, 8192, ttnn.bfloat16, ttnn.bfloat4_b, ttnn.MathFidelity.HiFi4, True, True, (8, 4)),
# 256, 1024, 8192
(1, 256, 1024, 8192, ttnn.bfloat16, ttnn.bfloat4_b, ttnn.MathFidelity.HiFi4, True, True, (8, 4)),
# 128, 8192, 2048
(1, 128, 8192, 2048, ttnn.bfloat8_b, ttnn.bfloat4_b, ttnn.MathFidelity.HiFi2, True, True, (8, 8)),
# 128, 8192, 2048
(1, 128, 8192, 2048, ttnn.bfloat8_b, ttnn.bfloat4_b, ttnn.MathFidelity.HiFi2, True, False, (8, 8)),
# # 128, 8192, 2048
# (1, 128, 8192, 2048, ttnn.bfloat8_b, ttnn.bfloat4_b, ttnn.MathFidelity.HiFi2, False, True, (8, 8)), # Fails with 0.98 PCC
# 32, 64, 64
(1, 32, 64, 64, ttnn.bfloat16, ttnn.bfloat8_b, ttnn.MathFidelity.HiFi4, True, True, (2, 1)),
# 32, 64, 64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1680,9 +1680,6 @@ operation::ProgramWithCallbacks create_program_gather_in0(
tt::DataFormat in0_data_format,
tt::DataFormat in1_data_format,
tt::DataFormat output_data_format,
bool in0_is_sharded,
bool in1_is_sharded,
bool output_is_sharded,
bool untilize_out
) {

Expand Down Expand Up @@ -2135,9 +2132,6 @@ operation::ProgramWithCallbacks matmul_multi_core_reuse_mcast_1d_optimized_(
in0_data_format,
in1_data_format,
output_data_format,
a.memory_config().is_sharded(),
b.memory_config().is_sharded(),
output.memory_config().is_sharded(),
untilize_out);
}

Expand Down

0 comments on commit 03647bd

Please sign in to comment.