pytorch/torch/_subclasses
Shangdi Yu efdcc981d0 Back out "Do not propagate real tensor in extern kernel" (#151813)
Summary:
D73002775 breaks aot_compile for many draft exported models on PT2I dashboard. Revert.

Example error msg:

```
OrderedSet([]) >= OrderedSet([u1185, u1186, u1187]) (inductor >= fx)
fx node is: %embedding_bag_byte_prepack : [num_users=4] = call_function[target=torch.ops.quantized.embedding_bag_byte_prepack.default](args = (%view_10,), kwargs = {})
new operations are:
```

Differential Revision: D73381032

Pull Request resolved: https://github.com/pytorch/pytorch/pull/151813
Approved by: https://github.com/angelayi, https://github.com/zou3519
2025-04-21 22:54:03 +00:00
..
__init__.py
_fake_tensor_utils.py PEP585 update - torch/_higher_order_ops torch/_subclasses torch/backends torch/compiler torch/cuda torch/masked torch/mtia torch/nested (#145202) 2025-01-20 22:37:26 +00:00
fake_impls.py Fix assert_tensor_meta (#150808) 2025-04-14 19:28:54 +00:00
fake_tensor.py Back out "Do not propagate real tensor in extern kernel" (#151813) 2025-04-21 22:54:03 +00:00
fake_utils.py PEP585 update - torch/_higher_order_ops torch/_subclasses torch/backends torch/compiler torch/cuda torch/masked torch/mtia torch/nested (#145202) 2025-01-20 22:37:26 +00:00
functional_tensor.py [export] specialize for aten.to (#149235) 2025-04-03 05:20:10 +00:00
meta_utils.py [compile] Switch off inference mode during compilation (#149321) 2025-03-19 02:45:27 +00:00
schema_check_mode.py Remove unused Python variables in torch/[_-a]* (#133492) 2024-12-12 17:39:14 +00:00