pytorch/test/onnx
Justin Chu 41e6d189a3 [ONNX] Create deprecation warning on dynamo_export (#146425)
Reland #146003

Deprecation of `torch.onnx.dynamo_export`:

* [`torch/onnx/_internal/_exporter_legacy.py`]: Added deprecation warnings to the `OnnxRegistry`, `ExportOptions`, `ONNXRuntimeOptions`, and `dynamo_export` functions, indicating that `torch.onnx.dynamo_export` is deprecated since version 2.6.0 and should be replaced with `torch.onnx.export(..., dynamo=True)`.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/146425
Approved by: https://github.com/titaiwangms, https://github.com/atalman
2025-02-07 04:20:46 +00:00
..
assets
dynamo
expect
exporter [ONNX] torch.onnx.export(dynamo=True) changes optimization to default (#146187) 2025-02-03 22:44:54 +00:00
internal Apply ruff fixes to tests (#146140) 2025-02-04 05:41:01 +00:00
model_defs
autograd_helper.py
error_reproduction.py
onnx_test_common.py
pytorch_test_common.py
test_autograd_funs.py
test_custom_ops.py
test_fx_passes.py
test_fx_type_promotion.py
test_lazy_import.py
test_models.py
test_models_onnxruntime.py
test_models_quantized_onnxruntime.py
test_onnx_opset.py
test_onnxscript_no_runtime.py
test_onnxscript_runtime.py
test_op_consistency.py
test_pytorch_jit_onnx.py
test_pytorch_onnx_no_runtime.py [ONNX] Create deprecation warning on dynamo_export (#146425) 2025-02-07 04:20:46 +00:00
test_pytorch_onnx_onnxruntime.py
test_pytorch_onnx_onnxruntime_cuda.py
test_pytorch_onnx_shape_inference.py
test_symbolic_helper.py
test_utility_funs.py
test_verification.py [BE][Ez]: ISC001 Auto concatenate implicit one line strings (#146408) 2025-02-04 19:07:04 +00:00
verify.py