# flytekitplugins.kfpytorch.pod_template

## Directory

### Methods

| Method | Description |
|-|-|
| [`add_shared_mem_volume_to_pod_template()`](#add_shared_mem_volume_to_pod_template) | Add shared memory volume and volume mount to the pod template. |

## Methods

#### add_shared_mem_volume_to_pod_template()

```python
def add_shared_mem_volume_to_pod_template(
    pod_template: flytekit.core.pod_template.PodTemplate,
)
```
Add shared memory volume and volume mount to the pod template.

| Parameter | Type | Description |
|-|-|-|
| `pod_template` | `flytekit.core.pod_template.PodTemplate` | |

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