We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c9ba04 commit 75069e1Copy full SHA for 75069e1
onnx_diagnostic/torch_models/hghub/model_inputs.py
@@ -147,7 +147,7 @@ def get_untrained_model_with_inputs(
147
elif verbose:
148
print(
149
f"[get_untrained_model_with_inputs] default config._attn_implementation="
150
- f"{config._attn_implementation!r}" # type: ignore[union-attr]
+ f"{getattr(config, '_attn_implementation', '?')!r}" # type: ignore[union-attr]
151
)
152
153
if type(config) is dict and "_diffusers_version" in config:
0 commit comments