Skip to content

Commit

Permalink
Add ttforge-sweep in github workflow.
Browse files Browse the repository at this point in the history
Signed-off-by: Nilaykumar Patel <[email protected]>
  • Loading branch information
nkpatel-tt committed Jan 9, 2025
1 parent 76c3d64 commit e1f8727
Show file tree
Hide file tree
Showing 4 changed files with 7,235 additions and 7,190 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ttnn-run-sweeps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ on:
- conv2d.full.conv2d_sharding
- conv2d.full.conv2d_sliding_window
- conv2d.short.conv2d_short_sweep
- conv2d.short.conv2d_ttforge_sweep
- pooling.global_avg_pool2d
- pooling.max_pool2d
- max_pool2d.short.max_pool2d_short_sweep
Expand Down
4 changes: 1 addition & 3 deletions tests/sweep_framework/sweep_utils/conv2d_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,7 @@ def run_conv2d_short_sweep(
if is_forge_suite:
input_layout = ttnn.Layout(input_layout)
input_dtype = ttnn.DataType(input_dtype)
input_memory_config = (
ttnn.DRAM_MEMORY_CONFIG if input_buffer_type == int(ttnn.BufferType.DRAM) else ttnn.L1_MEMORY_CONFIG
)
input_memory_config = ttnn.DRAM_MEMORY_CONFIG if input_buffer_type == "dram" else ttnn.L1_MEMORY_CONFIG
tt_input_tensor = ttnn.from_torch(
torch_input_tensor, dtype=input_dtype, layout=input_layout, device=device, memory_config=input_memory_config
)
Expand Down
Loading

0 comments on commit e1f8727

Please sign in to comment.