Skip to content

Commit

Permalink
Fix docs/ops/ttnn pages breaking github pages #178
Browse files Browse the repository at this point in the history
There are certain md pages breaking github pages build-and-deployment.
These can be tested using kramdown, md to html converter.

generate_md.py is changed to address this. Now, md files have tables with 600 rows max,
and each file size is 500MB max (due to github pre-commit). After
hitting these restrictions, a new file is created.

Furthermore, github pages landing page is added (docs/index.md)
  • Loading branch information
ddilbazTT committed Jan 17, 2025
1 parent 2e0417a commit 5527265
Show file tree
Hide file tree
Showing 87 changed files with 241,914 additions and 321,847 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ repos:
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
5 changes: 5 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Welcome to TensTorrent PyTorch Compiler

In this site, you can view supported stablehlo and ttnn op variations.

Please view [tt-torch repository](https://github.com/tenstorrent/tt-torch/) for more information.
10 changes: 4 additions & 6 deletions docs/ops/ttnn/ttnn.abs.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@
]
}
],
"runs_on_ttnn": "yes",
"pcc": -0.27,
"atol": NaN
"pcc": "-0.27",
"atol": "N/A"
},
{
"name": "ttnn.abs",
Expand Down Expand Up @@ -95,8 +94,7 @@
]
}
],
"runs_on_ttnn": "N/A",
"pcc": NaN,
"atol": NaN
"pcc": "N/A",
"atol": "N/A"
}
]
8 changes: 4 additions & 4 deletions docs/ops/ttnn/ttnn.abs.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ttnn.abs

| Name | Input Shapes | Input Layouts | Attributes | Output Shapes | Output Layouts | Runs on TTNN | PCC | ATOL |
|------|--------------|---------------|------------|---------------|----------------|--------------|-----|------|
| ttnn.abs | tensor<[15,15,i32]> <br> tensor<[15,15,i32]> | mapping_from: (d0, d1), mapping_to: (d0, d1), memory_config: (1, 1, 'tile<32x32, u32>', 'dram') <br> mapping_from: (d0, d1), mapping_to: (d0, d1), memory_config: (1, 1, 'tile<32x32, u32>', 'dram') | operandSegmentSizes: array<i32: 1, 1> | tensor<[15,15,i32]> | mapping_from: (d0, d1), mapping_to: (d0, d1), memory_config: (1, 1, 'tile<32x32, u32>', 'dram') | yes | -0.27 | nan |
| ttnn.abs | tensor<[15,15,i32]> <br> tensor<[15,15,i32]> | mapping_from: (d0, d1), mapping_to: (d0, d1), memory_config: (1, 1, 'tile<32x32, u32>', 'dram') <br> mapping_from: (d0, d1), mapping_to: (d0, d1), memory_config: (1, 1, 'tile<32x32, u32>', 'dram') | operandSegmentSizes: array<i32: 1, 1> | tensor<[15,15,i32]> | mapping_from: (d0, d1), mapping_to: (d0, d1), memory_config: (1, 1, 'tile<32x32, u32>', 'dram') | N/A | nan | nan |
| Name | Input Shapes | Input Layouts | Attributes | Output Shapes | Output Layouts | PCC | ATOL |
|------|--------------|---------------|------------|---------------|----------------|-----|------|
| ttnn.abs | tensor<[15,15,i32]> <br> tensor<[15,15,i32]> | mapping_from: (d0, d1), mapping_to: (d0, d1), memory_config: (1, 1, 'tile<32x32, u32>', 'dram') <br> mapping_from: (d0, d1), mapping_to: (d0, d1), memory_config: (1, 1, 'tile<32x32, u32>', 'dram') | operandSegmentSizes: array<i32: 1, 1> | tensor<[15,15,i32]> | mapping_from: (d0, d1), mapping_to: (d0, d1), memory_config: (1, 1, 'tile<32x32, u32>', 'dram') | -0.27 | nan |
| ttnn.abs | tensor<[15,15,i32]> <br> tensor<[15,15,i32]> | mapping_from: (d0, d1), mapping_to: (d0, d1), memory_config: (1, 1, 'tile<32x32, u32>', 'dram') <br> mapping_from: (d0, d1), mapping_to: (d0, d1), memory_config: (1, 1, 'tile<32x32, u32>', 'dram') | operandSegmentSizes: array<i32: 1, 1> | tensor<[15,15,i32]> | mapping_from: (d0, d1), mapping_to: (d0, d1), memory_config: (1, 1, 'tile<32x32, u32>', 'dram') | nan | nan |
Loading

0 comments on commit 5527265

Please sign in to comment.