---
title: thunder.last_prologue_traces
description: >-
  Obtains the list of prologue traces that have been produced for the last run
  of the function and the selected prologue.
canonical: >-
  https://lightning.ai/docs/thunder/stable/api-reference/generated/thunder.last_prologue_traces
---
# thunder.last_prologue_traces {#thunder-last-prologue-traces}

### `thunder.last_prologue_traces(fn)` {#thunder.last_prologue_traces}

[\[source\]](https://github.com/Lightning-AI/lightning-thunder/blob/0.2.6/thunder/__init__.py#L965-L972)

Obtains the list of prologue traces that have been produced for the last run of the function and the selected prologue.

Return type:

[`TraceCtx`](/docs/thunder/0.2.6/core/generated/thunder.core.trace.TraceCtx.md#thunder.core.trace.TraceCtx "thunder.core.trace.TraceCtx")

---

**Navigation**

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