thunder.dynamo.thunderfx

thunder.dynamo.thunderfx(fn, /, **kwargs)[source]

Compiles a callable (function or model) by using Thunder as the backend of torch.compile().

Parameters:
Keyword Arguments:

**kwargs – a dictionary of options to pass to torch.compile() and thunder.jit().

Return type:

ThunderFXCompiledObject

Returns:

The compiled callable

Was this page helpful?

What went wrong?

↑↓ Navigate↵ Open⌘↵ New tabesc Close