# flytekitplugins.inference.sidecar_template

## Directory

### Classes

| Class | Description |
|-|-|
| [`ModelInferenceTemplate`](https://www.union.ai/docs/v1/flyte/api-reference/plugins/inference/packages/flytekitplugins.inference.sidecar_template/page.md#flytekitpluginsinferencesidecar_templatemodelinferencetemplate) |  |

## flytekitplugins.inference.sidecar_template.ModelInferenceTemplate

### Parameters

```python
class ModelInferenceTemplate(
    image: typing.Optional[str],
    health_endpoint: typing.Optional[str],
    port: int,
    cpu: int,
    gpu: int,
    mem: str,
    ephemeral_storage: str,
    env: typing.Optional[dict[str, str]],
    download_inputs: bool,
    download_inputs_mem: str,
    download_inputs_cpu: int,
)
```
| Parameter | Type | Description |
|-|-|-|
| `image` | `typing.Optional[str]` | |
| `health_endpoint` | `typing.Optional[str]` | |
| `port` | `int` | |
| `cpu` | `int` | |
| `gpu` | `int` | |
| `mem` | `str` | |
| `ephemeral_storage` | `str` | |
| `env` | `typing.Optional[dict[str, str]]` | |
| `download_inputs` | `bool` | |
| `download_inputs_mem` | `str` | |
| `download_inputs_cpu` | `int` | |

### Properties

| Property | Type | Description |
|-|-|-|
| `base_url` | `None` |  |
| `pod_template` | `None` |  |

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/api-reference/plugins/inference/packages/flytekitplugins.inference.sidecar_template.md
**HTML**: https://www.union.ai/docs/v1/flyte/api-reference/plugins/inference/packages/flytekitplugins.inference.sidecar_template/
