@@ -155,9 +155,9 @@ def forward(self, *args, **kwargs):
155155
156156 if method_name != "forward" :
157157 # Only require wrapper module if we're exporting a specific method other than forward.
158- exported_program = export (WrapperModule (eager_module ), args = inputs , strict = True )
158+ exported_program = export (WrapperModule (eager_module ), args = inputs )
159159 else :
160- exported_program = export (eager_module , args = inputs , strict = True )
160+ exported_program = export (eager_module , args = inputs )
161161
162162 edge_config = EdgeCompileConfig (_check_ir_validity = False )
163163 et_config = exir .ExecutorchBackendConfig (
@@ -178,7 +178,7 @@ def forward(self, *args, **kwargs):
178178 module = tagged_module ,
179179 gen_tag_fn = lambda x : module_class .__name__ ,
180180 )
181- exported_program = export (tagged_module , args = inputs , strict = True )
181+ exported_program = export (tagged_module , args = inputs )
182182 executorch_program = to_edge_transform_and_lower (
183183 exported_program ,
184184 compile_config = edge_config ,
@@ -205,7 +205,7 @@ def forward(self, *args, **kwargs):
205205 composite_module (* inputs )
206206
207207 executorch_program = to_edge (
208- export (composite_module , args = inputs , strict = True )
208+ export (composite_module , args = inputs )
209209 ).to_executorch (config = et_config )
210210
211211 return executorch_program
0 commit comments