Skip to content

Commit a28ddab

Browse files
committed
Fix test
1 parent a444677 commit a28ddab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: examples/models/llama/export_llama_lib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ def _to_edge_and_lower_llama_xnnpack(
905905
return builder.to_executorch(passes=additional_passes)
906906

907907

908-
def _to_edge_and_lower_llama(
908+
def _to_edge_and_lower_llama( # noqa: C901
909909
builder_exported,
910910
modelname,
911911
additional_passes,

Diff for: examples/models/llava/export_llava.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def forward(self, images):
162162
use_kv_cache=True,
163163
example_inputs=(resized,),
164164
dynamic_shapes=dynamic_shapes,
165-
args=None,
165+
config=None,
166166
)
167167
.export()
168168
.pt2e_quantize([quantizer])

0 commit comments

Comments
 (0)