Skip to content

Commit 0c66320

Browse files
committed
ifx one file
1 parent cf74cd0 commit 0c66320

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

onnx_diagnostic/tasks/text2text_generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ def random_input_kwargs(config: Any) -> Tuple[Dict[str, Any], Callable]:
193193
194194
If the configuration is None, the function selects typical dimensions.
195195
"""
196+
path = 1
196197
if config is not None:
197198
if hasattr(config, "num_attention_heads"):
198199
check_hasattr(
@@ -208,7 +209,6 @@ def random_input_kwargs(config: Any) -> Tuple[Dict[str, Any], Callable]:
208209
("decoder_attention_heads", "encoder_attention_heads"),
209210
),
210211
)
211-
path = 1
212212
else:
213213
check_hasattr(config, "encoder", "decoder")
214214
path = 2

0 commit comments

Comments
 (0)