---
title: thunder.core.trace.reset_tracectx
description: Resets the tracing context.
canonical: >-
  https://lightning.ai/docs/thunder/stable/api-reference/generated/thunder.core.trace.reset_tracectx
---
# thunder.core.trace.reset_tracectx {#thunder-core-trace-reset-tracectx}

### `thunder.core.trace.reset_tracectx(token)` {#thunder.core.trace.reset_tracectx}

[\[source\]](https://github.com/Lightning-AI/lightning-thunder/blob/0.2.6/thunder/core/trace.py#L557-L560)

Resets the tracing context.

---

**Navigation**

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