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 [ONNX] Set USE_EXPERIMENTAL_LOGIC to True (#137296) 2025-01-28 22:35:11 +00:00
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 PEP585 update - test (#145176) 2025-01-22 04:48:28 +00:00
autograd_helper.py
error_reproduction.py Revert "Use absolute path path.resolve() -> path.absolute() (#129409)" 2025-01-04 14:17:20 +00:00
onnx_test_common.py PEP585 update - test (#145176) 2025-01-22 04:48:28 +00:00
pytorch_test_common.py
test_autograd_funs.py Fix unused Python variables in test/[e-z]* (#136964) 2024-12-18 23:02:30 +00:00
test_custom_ops.py Fix unused Python variables in test/[e-z]* (#136964) 2024-12-18 23:02:30 +00:00
test_fx_passes.py [ONNX] Set USE_EXPERIMENTAL_LOGIC to True (#137296) 2025-01-28 22:35:11 +00:00
test_fx_type_promotion.py
test_lazy_import.py
test_models.py
test_models_onnxruntime.py PEP585 update - test (#145176) 2025-01-22 04:48:28 +00:00
test_models_quantized_onnxruntime.py
test_onnx_opset.py
test_onnxscript_no_runtime.py PEP585 update - test (#145176) 2025-01-22 04:48:28 +00:00
test_onnxscript_runtime.py
test_op_consistency.py PEP585 update - test (#145176) 2025-01-22 04:48:28 +00:00
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 PEP585 update - test (#145176) 2025-01-22 04:48:28 +00:00
test_pytorch_onnx_onnxruntime_cuda.py
test_pytorch_onnx_shape_inference.py Fix unused Python variables in test/[e-z]* (#136964) 2024-12-18 23:02:30 +00:00
test_symbolic_helper.py
test_utility_funs.py Fix unused Python variables in test/[e-z]* (#136964) 2024-12-18 23:02:30 +00:00
test_verification.py [BE][Ez]: ISC001 Auto concatenate implicit one line strings (#146408) 2025-02-04 19:07:04 +00:00
verify.py Fix unused Python variables in test/[e-z]* (#136964) 2024-12-18 23:02:30 +00:00