Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron <[email protected]>
  • Loading branch information
aarnphm committed Apr 1, 2023
1 parent 08d09ce commit 3393fe7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration/frameworks/models/transformers.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,9 @@ def caller(
model_inputs = kwargs
if args:
model_inputs.update(
t.cast("dict[str, t.Any]", vit_processor(arg, return_tensors=framework))
t.cast(
"dict[str, t.Any]", vit_processor(args, return_tensors=framework)
)
)
last_hidden_state = getattr(framework_test_model.model, method)(
**model_inputs
Expand Down

0 comments on commit 3393fe7

Please sign in to comment.