Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions onnxscript/_framework_apis/torch_2_5.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,13 @@


def check_model(model: ir.Model) -> None:
"""Check the model."""
"""No-op retained for API compatibility.

del model # Unused yet
This intentionally performs no validation. Running the ONNX checker here was
dropped because it can report false positives and adds overhead to export.
"""

del model # Intentionally unused: this function performs no validation.
Comment thread
justinchuby marked this conversation as resolved.
Dismissed


def save_model_with_external_data(
Expand Down
Loading