We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1f0c88 commit a07520aCopy full SHA for a07520a
1 file changed
onnx_diagnostic/torch_models/validate.py
@@ -2332,7 +2332,9 @@ def call_torch_export_custom(
2332
"custom-fake",
2333
"custom-tracing",
2334
}
2335
- assert exporter in available, f"Unexpected value for exporter={exporter!r} in {available}"
+ assert (
2336
+ exporter in available
2337
+ ), f"Unexpected value for exporter={exporter!r} in {sorted(available)}" # type: ignore[type-var]
2338
assert "model" in data, f"model is missing from data: {sorted(data)}"
2339
assert "inputs_export" in data, f"inputs_export is missing from data: {sorted(data)}"
2340
assert ("-strict" not in exporter) or ("strict" not in exporter_options), (
0 commit comments