thunder.common.CompileData¶
- class thunder.common.CompileData(*, fn, langctx=None, executors_list=None, cache_option=None, sharp_edges=None, using_jit=False, only_execute_prims=False, disable_preprocessing=False, disable_torch_autograd_support=False, debug_log=None, compile_options={}, get_computation_and_inputs=None, executor_lookasides=None, debug_options=None)[source]¶
Bases:
object
A class holding data about the compiled object.
Data include statistics about how it’s been called.
- Parameters:
fn (Callable) –
langctx (None | thunder.core.langctxs.LanguageContext) –
executors_list (None | tuple[thunder.extend.Executor, ...]) –
cache_option (None | str | thunder.core.options.CACHE_OPTIONS) –
sharp_edges (None | thunder.core.options.SHARP_EDGES_OPTIONS | str) –
using_jit (bool) –
only_execute_prims (bool) –
disable_preprocessing (bool) –
disable_torch_autograd_support (bool) –
debug_log (None | _io.StringIO) –
get_computation_and_inputs (collections.abc.Callable | None) –
executor_lookasides (dict[collections.abc.Callable, collections.abc.Callable] | None) –
debug_options (thunder.core.options.DebugOptions | None) –
- __init__(*, fn, langctx=None, executors_list=None, cache_option=None, sharp_edges=None, using_jit=False, only_execute_prims=False, disable_preprocessing=False, disable_torch_autograd_support=False, debug_log=None, compile_options={}, get_computation_and_inputs=None, executor_lookasides=None, debug_options=None)[source]¶
- Parameters:
fn (Callable) –
langctx (Union[None, LanguageContext]) –
executors_list (Union[None, tuple[thunder.extend.Executor, ...]]) –
cache_option (Union[None, str, CACHE_OPTIONS]) –
using_jit (bool) –
only_execute_prims (bool) –
disable_preprocessing (bool) –
disable_torch_autograd_support (bool) –
debug_log (Union[None, StringIO]) –
executor_lookasides (Optional[dict[collections.abc.Callable, collections.abc.Callable]]) –
debug_options (Optional[DebugOptions]) –
Methods
__init__
(*, fn[, langctx, executors_list, ...])