pytorch/test/dynamo
Laith Sakka 0b85236477 Fix refine_ranges corner case (#164075) (#164846)
Summary:
address https://github.com/pytorch/pytorch/issues/161360

u0>0 should update the range of u0 to start from [1, ..] this fix it. it was not doing that.

Test Plan: contbuild & OSS CI, see 27234792ad

D84038721

Pull Request resolved: https://github.com/pytorch/pytorch/pull/164846
Approved by: https://github.com/izaitsevfb, https://github.com/ezyang
2025-10-08 18:42:37 +00:00
..
cpython/3_13 Fix range.__getitem__() (#161804) 2025-09-04 02:33:03 +00:00
mock_modules
__init__.py
_test_nested_graph_breaks_helper.py [dynamo, nested graph breaks] add nested graph break tests (#144516) 2025-08-27 03:00:56 +00:00
imports_non_circular_repro.py [Bugfix] Fix circular import between export and dynamo from tensor fn map (#158931) 2025-07-24 22:24:57 +00:00
mock_store_global_crossfile_inline.py
test_activation_checkpointing.py [dynamo][sac] Support functools partial context_fn for sac (#164308) 2025-10-01 02:47:55 +00:00
test_after_aot.py
test_aot_autograd_cache.py Reapply "Make functionalization ViewMeta serializable with pickle. (#143712)" (#163769) 2025-09-25 10:27:37 +00:00
test_aot_autograd.py Revert "Fix double dispatch to Python for detach (#163671)" 2025-10-08 01:46:45 +00:00
test_aot_compile.py [precompile] Add option to disable guard check on aot-compiled function. (#163432) 2025-09-30 16:10:15 +00:00
test_autograd_function.py Enable XPU for test_autograd_function.py (#160309) 2025-08-13 06:38:34 +00:00
test_backends.py [Code Clean] Remove deadcodes about Python3.9 [2/N] (#163627) 2025-09-24 07:30:50 +00:00
test_backward_higher_order_ops.py Revert "Support setting grad_dtype on leaf tensors (#162815)" 2025-10-03 23:14:28 +00:00
test_base_hop.py Fix requires_cuda to requires_cuda_and_triton (#160222) 2025-08-10 07:05:52 +00:00
test_base_output.py
test_buffers_override.py
test_bytecode_utils.py [Code Clean] Remove deadcodes about Python3.9 [8/N] (#163728) 2025-09-25 05:12:46 +00:00
test_callback.py Use dataclass features in two classes (#164221) 2025-10-01 03:20:39 +00:00
test_compile.py dynamo: Handle objects in graph that do not support weakref (#163168) 2025-09-22 22:11:09 +00:00
test_compiler_bisector.py Use torch.testing.test_close instead of torch.testing.test_allclose (#164539) 2025-10-03 14:39:10 +00:00
test_comptime.py
test_config.py
test_ctx_manager.py [dynamo] Fix graph break on calling functions decorated with special context manager (#160703) 2025-08-18 20:33:45 +00:00
test_cudagraphs_expandable_segments.py
test_cudagraphs.py
test_debug_utils.py Fix requires_cuda to requires_cuda_and_triton (#160222) 2025-08-10 07:05:52 +00:00
test_decorators.py [dynamo] change error_on_graph_break/fullgraph semantics (#161747) 2025-09-04 17:10:17 +00:00
test_deque_reconstruct.py
test_deviceguard.py
test_dicts.py [dynamo] Correctly track mutation class source for MutableMappingVariable (#161568) 2025-08-27 21:47:17 +00:00
test_dynamic_shapes.py
test_einops.py
test_error_messages.py [dynamo, 3.14] fix context managers (#163109) 2025-09-30 17:42:03 +00:00
test_exc.py [dynamo] update pytorch-labs -> meta-pytorch in graph break URLs (#159975) 2025-08-06 23:57:31 +00:00
test_exceptions.py [dynamo] Fix handling of kwargs in exception constructor (#163390) 2025-09-24 22:44:14 +00:00
test_export_mutations.py
test_export.py remove more no longer needed torch._check_is_size calls 1 (#164630) 2025-10-04 22:06:04 +00:00
test_fake_distributed.py [dynamo][device_mesh] Support mesh_dim_names (#164200) 2025-09-30 07:16:28 +00:00
test_flat_apply.py
test_frame_init.py Use dataclass features in two classes (#164221) 2025-10-01 03:20:39 +00:00
test_functions.py [Code Clean] Remove deadcodes about Python3.9 [8/N] (#163728) 2025-09-25 05:12:46 +00:00
test_fx_graph_runnable.py Make user defined Triton kernels serializable for fx_graph_runnable (#160002) 2025-08-11 20:54:33 +00:00
test_fx_passes_pre_grad.py
test_generator.py [generator] Raise StopIteration(value) with value from the return stmt (#157152) 2025-08-15 01:42:40 +00:00
test_global.py
test_graph_deduplication.py [Dynamo][Hierarchical Compile] Flatten tuple inputs for regions (#158812) 2025-08-18 18:03:11 +00:00
test_graph_region_tracker.py [ROCm] Remove HIPBLASLT_ALLOW_TF32 from codebase (#162998) 2025-09-18 13:53:48 +00:00
test_guard_manager.py Revert "[dynamo][guards] Do not construct entire framelocals dict for LAMBDA_GUARD (#162525)" 2025-09-19 06:15:28 +00:00
test_guard_serialization.py [precompile] Load source cache for AOT compile as well. (#164773) 2025-10-07 18:47:09 +00:00
test_higher_order_ops.py graph break on tolist if capture_scalar_outputs is false (#163807) 2025-09-28 04:02:52 +00:00
test_hooks.py [BE][5/6] fix typos in test/ (test/dynamo/) (#157639) 2025-07-06 06:34:25 +00:00
test_inline_and_install.py [dynamo][export] Make the source_stack and fqn info same between dynamo and export (#164085) 2025-09-29 04:35:13 +00:00
test_input_attr_tracking.py
test_install_free_tensors.py
test_interop.py
test_list.py [list] Add list.__delitem__ (#156339) 2025-07-07 14:51:32 +00:00
test_logging.py Adjust ...mark_unbacked() -> ...decorators.mark_unbacked() in logs. (#164131) 2025-09-29 17:44:00 +00:00
test_metrics_context.py [BE][5/6] fix typos in test/ (test/dynamo/) (#157639) 2025-07-06 06:34:25 +00:00
test_minifier.py
test_misc.py Fix refine_ranges corner case (#164075) (#164846) 2025-10-08 18:42:37 +00:00
test_model_output.py
test_modes.py [dynamo] Fix TorchFunctionMode handling with get_rng_state (#163412) 2025-09-23 15:37:45 +00:00
test_modules.py [dynamo] Trace nn.Module __delattr__ (#159969) 2025-08-06 23:43:19 +00:00
test_nested_graph_breaks.py [dynamo, nested graph breaks] support nested graph breaks that cause skipped frames (#160470) 2025-09-03 02:47:07 +00:00
test_nops.py
test_optimizers.py
test_package.py Support partial _DynamoCacheEntries when not all backends available (#163521) 2025-10-03 16:14:32 +00:00
test_pgo.py [PGO] ignore extra PGO key if warm/cold cache present (#163810) 2025-09-25 07:16:05 +00:00
test_pre_dispatch.py
test_precompile_context.py Simplify PrecompileContext to no longer be a CacheArtifactManager (#162886) 2025-09-20 01:24:37 +00:00
test_profiler.py [dynamo][export] Do not graph break on torch.autograd._profiler_enabled for export (#164418) 2025-10-02 09:00:00 +00:00
test_python_autograd.py Revert "Enable all SIM rules except disabled ones (#164645)" 2025-10-05 19:32:21 +00:00
test_python_dispatcher.py port 4 dynamo test files to Intel GPU (#157779) 2025-07-11 10:11:49 +00:00
test_recompile_ux.py port 4 dynamo test files to Intel GPU (#157779) 2025-07-11 10:11:49 +00:00
test_recompiles.py Add logging for when inbuilt_inline_nn_modules will help with ID_MATCH guard triggered recompiles (#160592) 2025-08-15 17:09:39 +00:00
test_reconstruct.py [Linter] Expanding the scope of detecting device-bias code. (#159949) 2025-08-09 09:41:16 +00:00
test_reorder_logs.py [dynamo] update pytorch-labs -> meta-pytorch in graph break URLs (#159975) 2025-08-06 23:57:31 +00:00
test_repros.py use check_size instead of check_is_size in ops.py (#164668) 2025-10-08 14:23:38 +00:00
test_resume.py
test_sdpa.py SDP Backend function fix (#161169) 2025-09-19 20:19:59 +00:00
test_sets.py Capture TypeError in CONTAINS_OP (#161069) 2025-09-04 04:49:09 +00:00
test_skip_guard_eval_unsafe.py [dynamo][guards] Make class members go through obj.__class__.__dict__ (#159534) 2025-08-04 05:12:44 +00:00
test_skip_non_tensor.py
test_sources.py
test_structured_trace.py Add local file path to inductor_output_code trace metadata (#160920) 2025-09-18 18:39:46 +00:00
test_subclasses.py Revert "Enable all SIM rules except disabled ones (#164645)" 2025-10-05 19:32:21 +00:00
test_subgraphs.py [BE][5/6] fix typos in test/ (test/dynamo/) (#157639) 2025-07-06 06:34:25 +00:00
test_torchrec.py
test_trace_rules.py [BE][5/6] fix typos in test/ (test/dynamo/) (#157639) 2025-07-06 06:34:25 +00:00
test_unittest.py
test_unspec.py [fx][pass] Support converting a float32 tensor to a scalar in FX trace. (#158216) 2025-08-09 15:13:13 +00:00
test_utils.py Log exception_stack_trace to dynamo_compile (#161096) 2025-08-22 03:29:15 +00:00
test_verify_correctness.py
test_view.py use check_size instead of check_is_size in ops.py (#164668) 2025-10-08 14:23:38 +00:00
utils.py