pytorch/torch/csrc/utils
Elias Ellison 75db0225ad Handle fake tensor in intlist (#85759)
Previously, we were swallowing up the Fake Tensor Exception and throwing `TypeError`, which led to https://github.com/pytorch/torchdynamo/issues/1066. Now, we are propagating back the `DataDependentOutputException`.

If this approach is accepted, I can go ahead and do doublelist, symintlist, afterward.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/85759
Approved by: https://github.com/ezyang
2022-09-28 21:58:54 +00:00
..
auto_gil.h
byte_order.cpp
byte_order.h
cpp_stacktraces.cpp
cpp_stacktraces.h
cuda_enabled.h
cuda_lazy_init.cpp
cuda_lazy_init.h
disable_torch_function.cpp Revert "Revert "Add a lint rule for torch/csrc/util/pybind.h include (#82552)"" (#82599) 2022-08-02 19:37:02 +00:00
disable_torch_function.h
disallow_copy.h
init.cpp Revert "Revert "Add a lint rule for torch/csrc/util/pybind.h include (#82552)"" (#82599) 2022-08-02 19:37:02 +00:00
init.h
invalid_arguments.cpp
invalid_arguments.h
memory.h
numpy_stub.h
object_ptr.cpp Fix C API to be compatible with latest 3.11 beta (#81242) 2022-07-27 08:37:10 +00:00
object_ptr.h Fix C API to be compatible with latest 3.11 beta (#81242) 2022-07-27 08:37:10 +00:00
out_types.cpp Make python TensorOption signatures consistent with JIT schemas (#82241) 2022-08-07 00:10:27 +00:00
out_types.h Make python TensorOption signatures consistent with JIT schemas (#82241) 2022-08-07 00:10:27 +00:00
pybind.h Python Dispatcher integration with C++ dispatcher (#85050) 2022-09-15 00:43:36 +00:00
pycfunction_helpers.h
python_arg_parser.cpp [Modes] remove enable and rewrite mode stack (squashed) (#84774) 2022-09-27 01:04:35 +00:00
python_arg_parser.h Handle fake tensor in intlist (#85759) 2022-09-28 21:58:54 +00:00
python_compat.h Make functorch compilable with Py-3.11 (#85054) 2022-09-23 04:48:18 +00:00
python_dispatch.cpp Stop monkeypatching Tensor.backward() on import functorch (#85152) 2022-09-19 17:06:15 +00:00
python_dispatch.h Revert "Revert "Add a lint rule for torch/csrc/util/pybind.h include (#82552)"" (#82599) 2022-08-02 19:37:02 +00:00
python_numbers.h Add SymInt to Scalar (#84958) 2022-09-25 23:51:06 +00:00
python_scalars.h [Reland] Add py-3.10 config (#82329) 2022-07-27 20:22:47 +00:00
python_strings.h
python_stub.h
python_torch_function_mode.h [Modes] remove enable and rewrite mode stack (squashed) (#84774) 2022-09-27 01:04:35 +00:00
python_tuples.h
schema_info.cpp Add Initial Support For Fake Tensor Constant Tracking (#84387) 2022-09-02 02:43:04 +00:00
schema_info.h Add Initial Support For Fake Tensor Constant Tracking (#84387) 2022-09-02 02:43:04 +00:00
six.h Revert "Revert "Add a lint rule for torch/csrc/util/pybind.h include (#82552)"" (#82599) 2022-08-02 19:37:02 +00:00
structseq.cpp
structseq.h
tensor_apply.cpp
tensor_apply.h
tensor_dtypes.cpp
tensor_dtypes.h
tensor_flatten.cpp
tensor_flatten.h
tensor_layouts.cpp
tensor_layouts.h
tensor_list.cpp Revert "Revert "Add a lint rule for torch/csrc/util/pybind.h include (#82552)"" (#82599) 2022-08-02 19:37:02 +00:00
tensor_list.h
tensor_memoryformats.cpp
tensor_memoryformats.h
tensor_new.cpp Revert "Revert "Add a lint rule for torch/csrc/util/pybind.h include (#82552)"" (#82599) 2022-08-02 19:37:02 +00:00
tensor_new.h
tensor_numpy.cpp lift numpy tensor, add randperm support (#83191) 2022-08-10 22:27:51 +00:00
tensor_numpy.h
tensor_qschemes.cpp
tensor_qschemes.h
tensor_types.cpp Add Lazy backend type string (#84228) 2022-08-30 00:31:35 +00:00
tensor_types.h
throughput_benchmark-inl.h
throughput_benchmark.cpp Revert "Revert "Add a lint rule for torch/csrc/util/pybind.h include (#82552)"" (#82599) 2022-08-02 19:37:02 +00:00
throughput_benchmark.h Revert "Revert "Add a lint rule for torch/csrc/util/pybind.h include (#82552)"" (#82599) 2022-08-02 19:37:02 +00:00
torch_dispatch_mode.h [Modes] remove enable and rewrite mode stack (squashed) (#84774) 2022-09-27 01:04:35 +00:00
variadic.cpp
variadic.h
verbose.cpp [RFC] enable oneMKL&oneDNN on-demands verbose functinality (#63212) 2022-07-27 23:29:35 +00:00