# Tflight server multiple model

Source: https://forum.modalai.com/topic/1772/tflight-server-multiple-model
Category: VOXL 2 and VOXL 2 Mini (https://forum.modalai.com/category/26/voxl-2-and-voxl-2-mini)
Tags: voxl-2
Posted: 2023-02-03 07:02:18 UTC by Tamas Pal 0
Replies: 2 · Views: 731

## Tamas Pal 0 · 2023-02-03 07:02:18 UTC

Please share the configuration file (voxl-tflite-server.conf) to run multiple models together

## Reply by Guest · 2023-02-03 17:12:35 UTC

Hey @Tamas-Pal-0,

Have you read through the docs here: https://docs.modalai.com/voxl-tflite-server/#running-multiple-models?

Basically, you start an instance of the tflite-server, then re-edit the config file and start the next instance...and so on. 

Here is an example of what the first instance's config file could be:
```
/**
{
        "skip_n_frames":        0,
        "model":        "/usr/bin/dnn/yolov5_float16_quant.tflite",
        "input_pipe":   "/run/mpa/stereo/",
        "delegate":     "gpu",
        "allow_multiple":       true,
        "output_pipe_prefix":   "yolo"
}
```

After the first model is running, I edited the config to this for second instance:
```
{
        "skip_n_frames":        0,
        "model":        "/usr/bin/dnn/fastdepth_float16_quant.tflite",
        "input_pipe":   "/run/mpa/stereo/",
        "delegate":     "gpu",
        "allow_multiple":       true,
        "output_pipe_prefix":   "fastdepth"
}

```
The, I started up another tflite-server via the cmd line.
Output of both running:
![fb2469b0-1c66-4112-8450-6bb05a6ffc4c-image.png](https://forum.modalai.com/assets/uploads/files/1675444279870-fb2469b0-1c66-4112-8450-6bb05a6ffc4c-image.png)

## Reply by Tamas Pal 0 · 2023-02-27 06:30:07 UTC (in reply to Guest)

@Matt-Turi Thanks !!
