---
title: thunder.executors.torch_compile.make_compiled
canonical: >-
  https://lightning.ai/docs/thunder/stable/api-reference/generated/thunder.executors.torch_compile.make_compiled
---
# thunder.executors.torch_compile.make_compiled {#thunder-executors-torch-compile-make-compiled}

### `thunder.executors.torch_compile.make_compiled(bsyms, sorted_unique_inputs, sorted_unique_outputs, *, mode=None)` {#thunder.executors.torch_compile.make_compiled}

[\[source\]](https://github.com/Lightning-AI/lightning-thunder/blob/0.2.6/thunder/executors/torch_compile.py#L28-L97)

Return type:

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

Parameters:

*   **bsyms** ([_list_](https://docs.python.org/3/builtins/stdtypes.html#list "(in Python v3.15)")_\[_[_thunder.core.symbol.BoundSymbol_](/docs/thunder/core/generated/thunder.core.symbol.BoundSymbol#thunder.core.symbol.BoundSymbol "thunder.core.symbol.BoundSymbol")_\]_) –
    
*   **sorted\_unique\_inputs** ([_list_](https://docs.python.org/3/builtins/stdtypes.html#list "(in Python v3.15)")_\[__thunder.core.proxies.Proxy__\]_) –
    
*   **sorted\_unique\_outputs** ([_list_](https://docs.python.org/3/builtins/stdtypes.html#list "(in Python v3.15)")_\[__thunder.core.proxies.Proxy__\]_) –
    
*   **mode** ([_Optional_](https://docs.python.org/3/library/typing.html#typing.Optional "(in Python v3.15)")_\[_[_str_](https://docs.python.org/3/builtins/stdtypes.html#str "(in Python v3.15)")_\]_) –

---

**Navigation**

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