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()
andthunder.jit()
.- Return type:
- Returns:
The compiled callable