Skip to content

Commit

Permalink
#0: Update UNet Shallow README
Browse files Browse the repository at this point in the history
  • Loading branch information
esmalTT committed Sep 14, 2024
1 parent b4a026f commit 2d0d38a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
| [ResNet-50 (224x224) (data parallel)](./models/demos/tgg/resnet50) | 1024 | [Two Galaxies](https://tenstorrent.com/hardware/galaxy) | 128,800 | 448,000 | |
| [ViT](./models/demos/grayskull/vit) | 9 | [e150](https://tenstorrent.com/hardware/grayskull) | 1,360 | 2,000 | |
| [Stable Diffusion 1.4 (512x512)](./models/demos/wormhole/stable_diffusion) | 1 | [n150](https://tenstorrent.com/hardware/wormhole) | 0.167 | 0.3 | |
| [Unet (shallow)](./models/experimental/functional_unet) | 2 | [n150](https://tenstorrent.com/hardware/wormhole) | 51 | 1000 | |
| [Unet (shallow)](./models/experimental/functional_unet) | 2 | [n150](https://tenstorrent.com/hardware/wormhole) | 190 | 1000 | |

## NLPs
| Model | Batch | Hardware | sen/sec | Target sen/sec | Release |
Expand Down
16 changes: 15 additions & 1 deletion models/experimental/functional_unet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,27 @@
To run the demo, make sure to build the project, activate the environment, and set the appropriate environment variables.
For more information, refer [installation and build guide](https://docs.tenstorrent.com/tt-metalium/latest/get_started/get_started.html#install-and-build).

Use `pytest --disable-warnings models/experimental/functional_unet/tests/test_unet_model.py` to run the full UNet Shallow model.
To run UNet Shallow for multiple iterations on single-chip at the best performance:

```sh
pytest --disable-warnings models/experimental/functional_unet/tests/test_unet_perf.py::test_unet_perf_e2e
```

To run UNet Shallow for multiple iterations on N300 and T3000 at the best performance:

```sh
pytest --disable-warnings models/experimental/functional_unet/tests/test_unet_perf.py::test_unet_data_parallel_perf_e2e
````

Use `pytest models/experimental/functional_unet/tests/test_unet_model.py` to run the functional UNet Shallow model on a single-chip.

## Supported Hardware

- N150
- N300
- Make sure to place dispatch on ethernet cores with `export WH_ARCH_YAML=wormhole_b0_80_arch_eth_dispatch.yaml` for optimal performance
- T3K
- Make sure to place dispatch on ethernet cores with `export WH_ARCH_YAML=wormhole_b0_80_arch_eth_dispatch.yaml` for optimal performance

## Other Details

Expand Down

0 comments on commit 2d0d38a

Please sign in to comment.