-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sweeps for complex bw_ops: polar, recip, add, mul (#11364)
* #10147: Added sweeps for complex_polar_bw to ttnn * #10147: Added complex_recip_bw sweeps to ttnn * #10147: Added complex_mul_bw sweeps to ttnn * #10147: Add complexadd_bw sweeps to ttnn * #10147: Added support for dims 2, 3, 4 in complex_backward_mul and complex_backward_add YAML files * #10147: Reformating * #10147: Add num-dims: [2, 3, 4] to complex ops: abs, recip, polar * #10147: Reformating
- Loading branch information
1 parent
99428fa
commit 18dd2d1
Showing
19 changed files
with
435 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
..._tests/test_configs/ci_sweep_tests_broken/grayskull/ttnn_backward_complex_polar_test.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
test-list: | ||
- complex-polar-bw: | ||
shape: | ||
start-shape: [1, 1, 32, 64] | ||
end-shape: [6, 12, 256, 256] | ||
interval: [1, 1, 32, 64] | ||
num-shapes: 2 | ||
num-samples: 128 | ||
args-sampling-strategy: "all" | ||
env: | ||
# TT_PCI_DMA_BUF_SIZE: "1048576" | ||
datagen: | ||
function: gen_rand_complex | ||
args: | ||
low: -100 | ||
high: 100 | ||
comparison: | ||
function: comp_pcc | ||
args-gen: gen_dtype_layout_device | ||
args: | ||
data-layout: ["TILE"] | ||
data-type: ["BFLOAT16"] | ||
buffer-type: ["DRAM", "L1"] | ||
out-buffer-type: ["DRAM", "L1"] | ||
output-file: complex_polar_bw_sweep.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...p_tests/test_configs/ci_sweep_tests_working/grayskull/ttnn_backward_complex_add_test.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
test-list: | ||
- complex-add-bw: | ||
shape: | ||
start-shape: [1, 1, 32, 64] | ||
end-shape: [6, 12, 256, 256] | ||
interval: [1, 1, 32, 64] | ||
num-dims: [2, 3, 4] | ||
num-shapes: 3 | ||
num-samples: 128 | ||
args-sampling-strategy: "all" | ||
env: | ||
# TT_PCI_DMA_BUF_SIZE: "1048576" | ||
datagen: | ||
function: gen_rand_complex | ||
args: | ||
low: -100 | ||
high: 100 | ||
comparison: | ||
function: comp_pcc_list | ||
args-gen: gen_dtype_layout_device | ||
args: | ||
data-layout: ["TILE"] | ||
data-type: ["BFLOAT16", "BFLOAT8_B"] | ||
buffer-type: ["DRAM", "L1"] | ||
out-buffer-type: ["DRAM", "L1"] | ||
output-file: complex_bw_add_sweep.csv |
27 changes: 27 additions & 0 deletions
27
...p_tests/test_configs/ci_sweep_tests_working/grayskull/ttnn_backward_complex_mul_test.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
test-list: | ||
- complex-mul-bw: | ||
shape: | ||
start-shape: [1, 1, 32, 64] | ||
end-shape: [6, 12, 256, 256] | ||
interval: [1, 1, 32, 64] | ||
num-dims: [2, 3, 4] | ||
num-shapes: 3 | ||
num-samples: 128 | ||
args-sampling-strategy: "all" | ||
env: | ||
# TT_PCI_DMA_BUF_SIZE: "1048576" | ||
datagen: | ||
function: gen_rand_complex | ||
args: | ||
low: -100 | ||
high: 100 | ||
comparison: | ||
function: comp_pcc_list | ||
args-gen: gen_dtype_layout_device | ||
args: | ||
data-layout: ["TILE"] | ||
data-type: ["BFLOAT16", "BFLOAT8_B"] | ||
buffer-type: ["DRAM", "L1"] | ||
out-buffer-type: ["DRAM", "L1"] | ||
output-file: complex_bw_mul_sweep.csv |
26 changes: 26 additions & 0 deletions
26
...tests/test_configs/ci_sweep_tests_working/grayskull/ttnn_backward_complex_recip_test.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
test-list: | ||
- complex-recip-bw: | ||
shape: | ||
start-shape: [1, 1, 32, 64] | ||
end-shape: [6, 12, 256, 256] | ||
interval: [1, 1, 32, 64] | ||
num-shapes: 2 | ||
num-samples: 128 | ||
args-sampling-strategy: "all" | ||
env: | ||
# TT_PCI_DMA_BUF_SIZE: "1048576" | ||
datagen: | ||
function: gen_rand_complex | ||
args: | ||
low: -100 | ||
high: 100 | ||
comparison: | ||
function: comp_pcc | ||
args-gen: gen_dtype_layout_device | ||
args: | ||
data-layout: ["TILE"] | ||
data-type: ["BFLOAT16"] | ||
buffer-type: ["DRAM", "L1"] | ||
out-buffer-type: ["DRAM", "L1"] | ||
output-file: complex_bw_recip_sweep.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...ep_tests/test_configs/ci_sweep_tests_working/wormhole/ttnn_backward_complex_add_test.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
test-list: | ||
- complex-add-bw: | ||
shape: | ||
start-shape: [1, 1, 32, 64] | ||
end-shape: [6, 12, 256, 256] | ||
interval: [1, 1, 32, 64] | ||
num-dims: [2, 3, 4] | ||
num-shapes: 3 | ||
num-samples: 128 | ||
args-sampling-strategy: "all" | ||
env: | ||
# TT_PCI_DMA_BUF_SIZE: "1048576" | ||
datagen: | ||
function: gen_rand_complex | ||
args: | ||
low: -100 | ||
high: 100 | ||
comparison: | ||
function: comp_pcc_list | ||
args-gen: gen_dtype_layout_device | ||
args: | ||
data-layout: ["TILE"] | ||
data-type: ["BFLOAT16", "BFLOAT8_B"] | ||
buffer-type: ["DRAM", "L1"] | ||
out-buffer-type: ["DRAM", "L1"] | ||
output-file: complex_bw_add_sweep.csv |
27 changes: 27 additions & 0 deletions
27
...ep_tests/test_configs/ci_sweep_tests_working/wormhole/ttnn_backward_complex_mul_test.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
test-list: | ||
- complex-mul-bw: | ||
shape: | ||
start-shape: [1, 1, 32, 64] | ||
end-shape: [6, 12, 256, 256] | ||
interval: [1, 1, 32, 64] | ||
num-dims: [2, 3, 4] | ||
num-shapes: 3 | ||
num-samples: 128 | ||
args-sampling-strategy: "all" | ||
env: | ||
# TT_PCI_DMA_BUF_SIZE: "1048576" | ||
datagen: | ||
function: gen_rand_complex | ||
args: | ||
low: -100 | ||
high: 100 | ||
comparison: | ||
function: comp_pcc_list | ||
args-gen: gen_dtype_layout_device | ||
args: | ||
data-layout: ["TILE"] | ||
data-type: ["BFLOAT16", "BFLOAT8_B"] | ||
buffer-type: ["DRAM", "L1"] | ||
out-buffer-type: ["DRAM", "L1"] | ||
output-file: complex_bw_mul_sweep.csv |
26 changes: 26 additions & 0 deletions
26
..._tests/test_configs/ci_sweep_tests_working/wormhole/ttnn_backward_complex_polar_test.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
test-list: | ||
- complex-polar-bw: | ||
shape: | ||
start-shape: [1, 1, 32, 64] | ||
end-shape: [6, 12, 256, 256] | ||
interval: [1, 1, 32, 64] | ||
num-shapes: 2 | ||
num-samples: 128 | ||
args-sampling-strategy: "all" | ||
env: | ||
# TT_PCI_DMA_BUF_SIZE: "1048576" | ||
datagen: | ||
function: gen_rand_complex | ||
args: | ||
low: -100 | ||
high: 100 | ||
comparison: | ||
function: comp_pcc | ||
args-gen: gen_dtype_layout_device | ||
args: | ||
data-layout: ["TILE"] | ||
data-type: ["BFLOAT16"] | ||
buffer-type: ["DRAM", "L1"] | ||
out-buffer-type: ["DRAM", "L1"] | ||
output-file: complex_polar_bw_sweep.csv |
26 changes: 26 additions & 0 deletions
26
..._tests/test_configs/ci_sweep_tests_working/wormhole/ttnn_backward_complex_recip_test.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
test-list: | ||
- complex-recip-bw: | ||
shape: | ||
start-shape: [1, 1, 32, 64] | ||
end-shape: [6, 12, 256, 256] | ||
interval: [1, 1, 32, 64] | ||
num-shapes: 2 | ||
num-samples: 128 | ||
args-sampling-strategy: "all" | ||
env: | ||
# TT_PCI_DMA_BUF_SIZE: "1048576" | ||
datagen: | ||
function: gen_rand_complex | ||
args: | ||
low: -100 | ||
high: 100 | ||
comparison: | ||
function: comp_pcc | ||
args-gen: gen_dtype_layout_device | ||
args: | ||
data-layout: ["TILE"] | ||
data-type: ["BFLOAT16"] | ||
buffer-type: ["DRAM", "L1"] | ||
out-buffer-type: ["DRAM", "L1"] | ||
output-file: complex_bw_recip_sweep.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.