pytorch/test/functorch
Yidi Wu fc859077a0 [export][cond] support merging constant ints as unbacked symint (#152742)
@pianpwk points out that this will be helpful to address several data dependent issues in huggingface [models](e23705e557/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py (L332)) with the following pattern:
```python
idx = return 0 if u0 else return 1
return  x[idx]
```
We could preserve the conditional with a cond.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/152742
Approved by: https://github.com/zou3519
2025-05-22 17:25:38 +00:00
..
attn_ft.py
attn_positional.py
common_utils.py [aotd] Support saved tensors hooks in aot_autograd (#150032) 2025-05-22 14:09:38 +00:00
discover_coverage.py Apply ruff fixes to tests (#146140) 2025-02-04 05:41:01 +00:00
functorch_additional_op_db.py
test_ac_knapsack.py [pytorch] Remove numpy dependency from Knapsack Evaluator (#150825) 2025-04-10 17:07:03 +00:00
test_ac_logging.py PEP585: More UP006 fixes (#146392) 2025-02-20 06:18:13 +00:00
test_ac.py Respect checkpointed boundaries when using knapsack formulation in the partitioner (#141684) 2025-05-01 15:28:41 +00:00
test_aotdispatch.py [aotd] Support saved tensors hooks in aot_autograd (#150032) 2025-05-22 14:09:38 +00:00
test_control_flow.py [export][cond] support merging constant ints as unbacked symint (#152742) 2025-05-22 17:25:38 +00:00
test_dims.py [functorch] clean up asserts in test_dims.py (#144276) 2025-01-08 01:21:40 +00:00
test_eager_transforms.py Fix more URLs (#153277) 2025-05-14 16:23:50 +00:00
test_logging.py
test_memory_efficient_fusion.py Replace clone.detach with detach.clone (#140264) 2024-11-13 07:01:02 +00:00
test_minifier.py
test_ops.py Enable more nightly tests on s390x (#148452) 2025-03-18 16:09:39 +00:00
test_parsing.py [BE][Ez]: Enable ruff rule E731. use def instead of anonymous lambda (#146410) 2025-02-05 01:44:41 +00:00
test_rearrange.py PEP585 update - test (#145176) 2025-01-22 04:48:28 +00:00
test_vmap_registrations.py Add randomness checking for sdpa vmap (#135176) 2024-09-06 04:50:49 +00:00
test_vmap.py Fix broken URLs (#152237) 2025-04-27 09:56:42 +00:00
xfail_suggester.py