mirror of
https://github.com/saymrwulf/transformers.git
synced 2026-05-14 20:58:08 +00:00
temp
This commit is contained in:
parent
2d4cbba164
commit
6b2f7d79e2
1 changed files with 2 additions and 2 deletions
|
|
@ -638,14 +638,14 @@ class Kosmos2_5ModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTester
|
|||
main_input = inputs[main_input_name]
|
||||
model(
|
||||
main_input,
|
||||
inputs["input_ids"],
|
||||
inputs["flattened_patches"],
|
||||
inputs["image_embeds_position_mask"],
|
||||
)
|
||||
traced_model = torch.jit.trace(
|
||||
model,
|
||||
(
|
||||
main_input,
|
||||
inputs["input_ids"],
|
||||
inputs["flattened_patches"],
|
||||
inputs["image_embeds_position_mask"],
|
||||
),
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue