2. Installation
Tiny ML ModelZoo 1.5.0 installs with pip. There are exactly two supported
install paths, and neither needs more than one command to get the whole toolchain
(tinyml_modelmaker, tinyml_tinyverse and tinyml_torchmodelopt come in
automatically as prebuilt wheels from TI’s download server).
Contents
- 2.1. Prerequisites
- 2.2. Wheel Installation
- 2.3. Clone Installation
- 2.3.1. Step 1: Clone the Repository
- 2.3.2. Step 2: Create a Virtual Environment and Install
- 2.3.3. Step 3: Verify Installation
- 2.3.4. Step 4: Configure the Compiler
- 2.3.5. Step 5: Run the Hello World Example
- 2.3.6. Folder Layout
- 2.3.7. Common Developer Tasks
- 2.3.8. Updating
- 2.3.9. Troubleshooting
- 2.3.10. Next Steps
- 2.4. Windows Setup
- 2.5. Linux Setup
- 2.6. macOS Setup
- 2.7. Environment Variables
- 2.8. Agent Skill (Claude Code)
2.9. Which Install Should I Choose?
Scenario |
Use This Install |
|---|---|
I want to train and compile with the TI-provided models, using my own config files |
Wheel install (Wheel Installation) |
I want to use the model zoo as a Python library in my own scripts |
Wheel install (Wheel Installation) |
I want the ready-to-run |
Clone install (Clone Installation) |
I want to add or change a model architecture |
Clone install (Clone Installation) |
I want to bring my own model (BYOM) |
Clone install (Clone Installation) |
2.10. Quick Start
pip install https://software-dl.ti.com/C2000/esd/mcu_ai/wheel/tinyml_modelzoo-1.5.0-py3-none-any.whl
git clone https://github.com/TexasInstruments/tinyml-modelzoo.git
cd tinyml-modelzoo
pip install -e .
Note
Starting with 1.5.0 you clone only tinyml-modelzoo. You no longer clone
tinyml-tensorlab or the separate modelmaker, tinyverse and modeloptimization
repositories, and there is no setup_all script. tinyml-tensorlab is the
1.4.0 entry point and is now deprecated.
After installing, continue with Environment Variables (compiler setup, needed only for compiling to a device) and then Quickstart.