---
title: thunder.plugins.ReduceOverhead
description: Plugin to enable CUDA Graphs and reduce CPU overhead.
canonical: >-
  https://lightning.ai/docs/thunder/stable/api-reference/generated/thunder.plugins.ReduceOverhead
---
# thunder.plugins.ReduceOverhead {#thunder-plugins-reduceoverhead}

### `class thunder.plugins.ReduceOverhead` {#thunder.plugins.ReduceOverhead}

[\[source\]](https://github.com/Lightning-AI/lightning-thunder/blob/0.2.6/thunder/plugins/reduce_overhead.py#L5-L19)

Bases: `Plugin`

Plugin to enable CUDA Graphs and reduce CPU overhead.

#### `__init__()` {#thunder.plugins.ReduceOverhead.__init__}

[\[source\]](https://github.com/Lightning-AI/lightning-thunder/blob/thunder/plugins.py)

Methods

- [`__init__()`](#thunder.plugins.ReduceOverhead.__init__)
- `setup_executors()` — rtype:Optional[list[Executor]]
- `setup_lookasides()` — rtype:Optional[list[Lookaside]]
- [`setup_transforms()`](#thunder.plugins.ReduceOverhead.setup_transforms) — Fetches the CUDAGraph transform.

Attributes

- `policy`

#### `setup_transforms()` {#thunder.plugins.ReduceOverhead.setup_transforms}

[\[source\]](https://github.com/Lightning-AI/lightning-thunder/blob/0.2.6/thunder/plugins/reduce_overhead.py#L12-L19)

Fetches the CUDAGraph transform.

Returns:

A list containing the CUDAGraph transform.

Return type:

[list](https://docs.python.org/3/builtins/stdtypes.html#list "(in Python v3.15)")\[Transform\]

---

**Navigation**

- Parent: [Generated](/docs/thunder/0.2.6/api-reference/generated.md)
