Download code/tt_superpoint/device.py from changh95/superpoint-p150: direct link, hf CLI and curl.
- Browser
- Download file 606 Bytes
-
https://huggingface.co/changh95/superpoint-p150/resolve/main/code/tt_superpoint/device.py
- Command line
-
hf download hf://changh95/superpoint-p150/code/tt_superpoint/device.py
-
curl -L -o device.py https://huggingface.co/changh95/superpoint-p150/resolve/main/code/tt_superpoint/device.py
606 Bytes
| # SPDX-License-Identifier: Apache-2.0 | |
| """Open one Blackhole chip the way the published SuperPoint numbers were measured. | |
| Default: ETH dispatch + 1 command queue + 12x10 compute grid (the p150 target configuration) | |
| when the tt-metal ETH-dispatch patch is present; else the Tensix dispatch with a warning. | |
| The implementation is shared with the HTTP server: ``models/tt/device_open.py``. | |
| """ | |
| from ._port.tt.device_open import ( # noqa: F401 | |
| GRID, | |
| L1_SMALL_SIZE, | |
| TRACE_REGION_SIZE, | |
| eth_dispatch_patch_present, | |
| open_device, | |
| open_ttnn_device, | |
| resolve_dispatch, | |
| tt_metal_home, | |
| ) | |