---
title: thunder.extend.Executor
canonical: 'https://lightning.ai/docs/thunder/stable/api-reference/thunder.extend.Executor'
---
# thunder.extend.Executor {#thunder-extend-executor}

### `class thunder.extend.Executor(name, *, version=None)` {#thunder.extend.Executor}

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

Bases: [`object`](https://docs.python.org/3/builtins/functions.html#object "(in Python v3.15)")

Parameters:

*   **name** ([_Hashable_](https://docs.python.org/3/library/collections.abc.html#collections.abc.Hashable "(in Python v3.15)")) –
    
*   **version** ([_Union_](https://docs.python.org/3/library/typing.html#typing.Union "(in Python v3.15)")_\[__None__,_ [_Any_](https://docs.python.org/3/library/typing.html#typing.Any "(in Python v3.15)")_\]_) –
    

#### `__init__(name, *, version=None)` {#thunder.extend.Executor.__init__}

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

Parameters:

*   **name** ([_Hashable_](https://docs.python.org/3/library/collections.abc.html#collections.abc.Hashable "(in Python v3.15)")) –
    
*   **version** ([_Optional_](https://docs.python.org/3/library/typing.html#typing.Optional "(in Python v3.15)")_\[_[_Any_](https://docs.python.org/3/library/typing.html#typing.Any "(in Python v3.15)")_\]_) –
    

Methods

- [`__init__(name, *[, version])`](#thunder.extend.Executor.__init__)
- `can_execute(bsym)` — rtype:bool
- `can_execute_or_fuse(bsym)` — rtype:bool
- `can_fuse(bsym)` — rtype:bool
- `get_execution_transform(bsym)` — rtype:Optional[Callable]
- `get_grad_transform(sym)` — rtype:Optional[Callable]
- `register_operator(name, *[, like, meta, ...])` — rtype:Symbol

Attributes

- `implmap`
- `name`
- `opmap`
- `version`

---

**Navigation**

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