pytorch/test/export
Laith Sakka 1aef88c72d Avoid DDE in narrow with unbacked start (#166361)
Slice knows how to handle unbacked start, we do not need to offset start before calling slice, we can leave it for slice.
The only edge case is when start<0 and start+length ==0 in that case slice and narrow would deviate,
for that case we shall pass dim_size instead of start+length

Pull Request resolved: https://github.com/pytorch/pytorch/pull/166361
Approved by: https://github.com/aorenste
2025-11-01 07:10:23 +00:00
..
__init__.py
opinfo_schema.py Enable ruff rule E721 (#165162) 2025-10-13 01:48:55 +00:00
random_dag.py
test_converter.py Enable more nightly tests on s390x (#160893) 2025-08-28 22:20:55 +00:00
test_cpp_serdes.py
test_db.py Move export_db to use new tracer, remove restriction on optional inputs (#162993) 2025-09-18 00:43:32 +00:00
test_draft_export.py [dynamic shapes] unbacked-safe slicing (#161414) 2025-09-30 01:15:19 +00:00
test_dynamic_shapes.py [Dynamic Shape][BE] trim _DimHint serialization (#163891) 2025-09-27 00:08:01 +00:00
test_experimental.py [precompile] Preserve default arguments for dynamo capture (#166654) 2025-11-01 00:12:10 +00:00
test_export_opinfo.py Enable torch.nn.functional.batch_norm in test_export_opinfo (#164261) 2025-10-01 21:56:08 +00:00
test_export_strict.py
test_export_training_ir_to_run_decomp.py Replace export_for_training with export (#162396) 2025-09-10 14:19:34 +00:00
test_export_with_inline_and_install.py [export] Turn on install_free_tensors flag (#164691) 2025-10-14 15:33:50 +00:00
test_export.py Avoid DDE in narrow with unbacked start (#166361) 2025-11-01 07:10:23 +00:00
test_functionalized_assertions.py
test_hop.py
test_lift_unlift.py
test_nativert.py Enable ruff rule E721 (#165162) 2025-10-13 01:48:55 +00:00
test_package.py
test_pass_infra.py
test_passes.py Enable all SIM rules except disabled ones (#164645) 2025-10-17 07:27:11 +00:00
test_retraceability.py
test_schema.py
test_serdes.py
test_serialize.py [nativert] Downcast triton double arguments to floats (#166620) 2025-10-31 03:52:20 +00:00
test_sparse.py
test_strict_export_v2.py Fix inconsistent test and add new tracer as config (#162558) 2025-09-17 17:01:48 +00:00
test_swap.py Fix inconsistent test and add new tracer as config (#162558) 2025-09-17 17:01:48 +00:00
test_tools.py
test_torchbind.py [RELAND v2] Close some sources of fake tensors (#164372) 2025-10-02 18:58:52 +00:00
test_tree_utils.py
test_unflatten_training_ir.py Replace export_for_training with export (#162396) 2025-09-10 14:19:34 +00:00
test_unflatten.py [torch.export] Add original module type to UnflattenedModule class (#166145) 2025-10-24 22:47:29 +00:00
test_upgrader.py [schema_upgrader] add C++ upgrader for json based upgrading (#156761) 2025-06-28 18:15:06 +00:00
test_verifier.py Replace export_for_training with export (#162396) 2025-09-10 14:19:34 +00:00
testing.py testing infra and some fixes (#162183) 2025-09-10 20:48:12 +00:00