| [project] | |
| name = "whisper-small-int8-xnnpack-executorch-runtime" | |
| version = "0.1.0" | |
| description = "Runtime dependencies for example.py (Whisper Small INT8, ExecuTorch + XNNPACK)" | |
| requires-python = ">=3.12,<3.13" | |
| dependencies = [ | |
| "executorch==1.1.0", | |
| "torch==2.10.0", | |
| "transformers==4.57.1", | |
| "soundfile==0.13.1", | |
| "numpy==2.5.2", | |
| ] | |
| [tool.uv] | |
| package = false | |
| # The example runs on Arm-based Linux; ExecuTorch and its Vivo X300 export target | |
| # aarch64. Restricting the resolution environment keeps the lock to the wheels | |
| # that platform actually installs. | |
| environments = ["sys_platform == 'linux' and platform_machine == 'aarch64'"] | |
| # coremltools targets Apple Core ML, which this XNNPACK-on-Arm-Linux example | |
| # never uses. Nothing in example.py imports it. | |
| exclude-dependencies = [ | |
| { package = { name = "executorch", version = "1.1.0" }, dependencies = ["coremltools"] }, | |
| ] | |
| [tool.ai-portal.deployment] | |
| schema-version = "1" | |
| runtime = "executorch" | |
| required-capabilities = ["XnnpackBackend"] | |
| [tool.ai-portal.deployment.ubuntu] | |
| packages = [] | |
| [tool.ai-portal.deployment.raspbian] | |
| packages = [] | |
| [tool.ai-portal.deployment.files] | |
| expected = ["transcription.json"] | |