---
title: thunder.core.langctxs.get_langctx
description: Gets the current language context (defaulting to the torch language)
canonical: >-
  https://lightning.ai/docs/thunder/stable/api-reference/generated/thunder.core.langctxs.get_langctx
---
# thunder.core.langctxs.get_langctx {#thunder-core-langctxs-get-langctx}

### `thunder.core.langctxs.get_langctx()` {#thunder.core.langctxs.get_langctx}

[\[source\]](https://github.com/Lightning-AI/lightning-thunder/blob/0.2.6/thunder/core/langctxs.py#L53-L60)

Gets the current language context (defaulting to the torch language)

Return type:

`LanguageContext`

---

**Navigation**

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