You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: py/torch_tensorrt/dynamo/_engine_cache.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ def pack(
118
118
input_specs (Sequence[Input]): input specs of TRT engine
119
119
compilation_settings (CompilationSettings): compilation settings of TRT engine
120
120
weight_name_map (Optional[Dict[Any, Any]]): weight name map for refitting
121
-
requires_output_allocator (bool): whether the engine requires output allocator
121
+
requires_output_allocator (bool): Boolean flag indicating if the converter creates operators which require an Output Allocator to run (e.g. data dependent operators)
Copy file name to clipboardExpand all lines: py/torch_tensorrt/dynamo/conversion/_ConversionContext.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ class ConversionContext:
11
11
Args:
12
12
net: TensorRT Network being built
13
13
compilation_settings: Settings selected by the user for compilation
14
-
requires_output_allocator: Whether the network requires output allocator
14
+
requires_output_allocator: Boolean flag indicating if the converter creates operators which require an Output Allocator to run (e.g. data dependent operators)
Copy file name to clipboardExpand all lines: py/torch_tensorrt/dynamo/conversion/_ConverterRegistry.py
+12-6
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ class ConverterSupport:
80
80
whether that node can be supported by its companion converter. Note that
81
81
this function must not modify the node or its graph
82
82
supports_dynamic_shapes: Boolean flag indicating if the converter has support for dynamic inputs.
83
-
requires_output_allocator: Boolean flag indicating if the converter requires to run in output allocator.
83
+
requires_output_allocator: Boolean flag indicating if the converter creates operators which require an Output Allocator to run (e.g. data dependent operators).
priority: Converter's level of priority relative to other converters with the
216
216
same target
217
217
supports_dynamic_shapes: Boolean flag indicating if the converter has support for dynamic shapes.
218
-
requires_output_allocator: Boolean flag indicating if the converter requires to run in output allocator.
218
+
requires_output_allocator: Boolean flag indicating if the converter creates operators which require an Output Allocator to run (e.g. data dependent operators).
Copy file name to clipboardExpand all lines: py/torch_tensorrt/dynamo/runtime/_PythonTorchTensorRTModule.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ def __init__(
141
141
name (str): Name for module
142
142
settings (torch_tensorrt.dynamo.CompilationSettings): Settings used to compile engine, assumes engine was built with default compilation settings if object not passed
143
143
weight_name_map (dict): Mapping of engine weight name to state_dict weight name
144
-
requires_output_allocator (bool): Whether the engine requires an output allocator
144
+
requires_output_allocator (bool): Boolean flag indicating if the converter creates operators which require an Output Allocator to run (e.g. data dependent operators)
Copy file name to clipboardExpand all lines: py/torch_tensorrt/dynamo/runtime/_TorchTensorRTModule.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ def __init__(
98
98
name (str): Name for module
99
99
settings (torch_tensorrt.dynamo.CompilationSettings): Settings used to compile engine, assumes engine was built with default compilation settings if object not passed
100
100
weight_name_map (dict): Mapping of engine weight name to state_dict weight name
101
-
requires_output_allocator (bool): Whether the engine requires an output allocator
101
+
requires_output_allocator (bool): Boolean flag indicating if the converter creates operators which require an Output Allocator to run (e.g. data dependent operators)
0 commit comments