---
title: thunder.last_interpreted_instructions
description: >-
  Returns the list of instructions the interpreter encountered while tracing
  through the

  user program (on the last cache miss).
canonical: >-
  https://lightning.ai/docs/thunder/stable/api-reference/generated/thunder.last_interpreted_instructions
---
# thunder.last_interpreted_instructions {#thunder-last-interpreted-instructions}

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

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

Returns the list of instructions the interpreter encountered while tracing through the user program (on the last cache miss).

Return type:

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

Parameters:

**fn** ([_Callable_](https://docs.python.org/3/library/collections.abc.html#collections.abc.Callable "(in Python v3.15)")) –

---

**Navigation**

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