Configuration
Timber is configured via CLI flags, environment variables, and target specification files.
Environment Variables
| Variable | Default | Description |
|---|---|---|
TIMBER_HOME | ~/.timber | Root directory for the model store |
CC | gcc | C compiler for shared library compilation |
# Example: custom store location
export TIMBER_HOME=/opt/timber/models
timber load model.json --name prod-model
# Example: use clang
CC=clang timber load model.json --name my-model
Model Store Structure
~/.timber/
├── models/
│ ├── my-model/
│ │ ├── model.c
│ │ ├── model.h
│ │ ├── model_data.c
│ │ ├── libtimber_model.so
│ │ ├── model.timber.json