pytorch/test/expect
rzou b9afdd9bcc Add flag to fx.passes.split_module to normalize input names (#157733)
This is useful for vLLM, which runs AOTAutograd directly on graphs after
they have been split.

I created a new flag for this instead of reusing
`keep_original_node_name` (please let me know if you think I should reuse this).
The reasoning is:
- The names of the placeholder nodes is different from the targets of
  the placehoder nodes. The targets are the actual input names.
- Backwards compatibility: this API has been out for ~4 years, it
  looks public, and it has extensive public use. For example, this change
  would actually be BC-breaking to vLLM (they rely on the subgraph input
  names being different at the moment).

Test Plan:
- new tests

Pull Request resolved: https://github.com/pytorch/pytorch/pull/157733
Approved by: https://github.com/ezyang
2025-07-08 13:47:24 +00:00
..
__init__.py
HasDecompTest.test_aten_core_operators.expect [CUDA][cuBLAS] Aten GEMM overload for FP32 output from FP16/BF16 inputs (#150812) 2025-04-18 01:53:26 +00:00
HasDecompTest.test_has_decomposition.expect Revert "Fix full_like decomposition to preserve strides (#144765)" 2025-07-02 13:56:03 +00:00
TestAutograd.test_function-x_grad_desc.expect
TestAutograd.test_function-y_grad_desc.expect
TestFXAPIBackwardCompatibility.test_class_member_back_compat-fx_backcompat_class_members.expect Add output_node util function to fx.Graph (#139770) 2024-11-07 18:54:59 +00:00
TestFXAPIBackwardCompatibility.test_function_back_compat-fx_backcompat_function_signatures.expect Add flag to fx.passes.split_module to normalize input names (#157733) 2025-07-08 13:47:24 +00:00
TestJit.test_cu_escaped_number.expect
TestJit.test_import_method.expect
TestJit.test_non_ascii_string.expect
TestJit.test_pretty_printer-empty_float_list_test.expect
TestJit.test_pretty_printer-empty_int_list_test.expect
TestJit.test_pretty_printer-if_one.expect
TestJit.test_pretty_printer-if_test.expect
TestJit.test_pretty_printer-loop_use_test.expect
TestJit.test_pretty_printer-print_weird_test.expect
TestJit.test_pretty_printer-python_op_name_test.expect
TestJit.test_pretty_printer-while_if_test.expect
TestJit.test_pretty_printer-while_test.expect
TestPytorchExportModes.test_aten_fallback.expect
TestPytorchExportModes.test_onnx_aten.expect
TestScript.test_annot_ast_mypy_fn.expect
TestScript.test_annot_ast_mypy_method.expect
TestScript.test_annot_ast_py3_fn.expect
TestScript.test_annot_ast_py3_method.expect
TestScript.test_annot_string_mypy_fn.expect
TestScript.test_annot_string_mypy_method.expect
TestScript.test_annot_string_py3_fn.expect
TestScript.test_annot_string_py3_method.expect
TestScript.test_annotated_script_fn.expect
TestScript.test_annotated_script_method.expect
TestScript.test_format-stdout.expect
TestScript.test_listconstruct_erasure.expect
TestScript.test_parser_type_annotations_comment.expect
TestScript.test_parser_type_annotations.expect
TestScript.test_print-stdout.expect
TestScript.test_python_frontend_py2.expect
TestScript.test_python_frontend_py3.expect
TestScript.test_python_frontend.expect
TestScript.test_string_print-stdout.expect
TestScript.test_torch_dot_tensor_annotation.expect
TestSparseCompressedCPU.test_print_SparseBSC_cpu.expect
TestSparseCompressedCPU.test_print_SparseBSR_cpu.expect
TestSparseCompressedCPU.test_print_SparseCSC_cpu.expect
TestSparseCompressedCPU.test_print_SparseCSR_cpu.expect
TestSparseCompressedCUDA.test_print_SparseBSC_cuda.expect
TestSparseCompressedCUDA.test_print_SparseBSR_cuda.expect
TestSparseCompressedCUDA.test_print_SparseCSC_cuda.expect
TestSparseCompressedCUDA.test_print_SparseCSR_cuda.expect
TestSparseCPU.test_print_coalesced_cpu_float64.expect
TestSparseCPU.test_print_uncoalesced_cpu_float64.expect
TestSparseCUDA.test_print_coalesced_cuda_float64.expect
TestSparseCUDA.test_print_uncoalesced_cuda_float64.expect
TestSparseMeta.test_print_meta_SparseBSC_float64.expect Add sparse compressed meta tensor support (#120707) 2024-03-01 13:28:47 +00:00
TestSparseMeta.test_print_meta_SparseBSR_float64.expect Add sparse compressed meta tensor support (#120707) 2024-03-01 13:28:47 +00:00
TestSparseMeta.test_print_meta_SparseCOO_float64.expect Add sparse compressed meta tensor support (#120707) 2024-03-01 13:28:47 +00:00
TestSparseMeta.test_print_meta_SparseCSC_float64.expect Add sparse compressed meta tensor support (#120707) 2024-03-01 13:28:47 +00:00
TestSparseMeta.test_print_meta_SparseCSR_float64.expect Add sparse compressed meta tensor support (#120707) 2024-03-01 13:28:47 +00:00
TestTensorBoard.test_audio.expect Bump protobuf version and refactor tensorboard tests (#154244) 2025-05-25 00:50:07 +00:00
TestTensorBoard.test_caffe2_simple_cnnmodel.expect
TestTensorBoard.test_caffe2_simple_model.expect
TestTensorBoard.test_histogram_auto.expect Bump protobuf version and refactor tensorboard tests (#154244) 2025-05-25 00:50:07 +00:00
TestTensorBoard.test_histogram_doane.expect Bump protobuf version and refactor tensorboard tests (#154244) 2025-05-25 00:50:07 +00:00
TestTensorBoard.test_histogram_fd.expect Bump protobuf version and refactor tensorboard tests (#154244) 2025-05-25 00:50:07 +00:00
TestTensorBoard.test_hparams_bool.expect
TestTensorBoard.test_hparams_number.expect
TestTensorBoard.test_hparams_string.expect
TestTensorBoard.test_image_with_3_channel_batched.expect
TestTensorBoard.test_image_with_boxes.expect
TestTensorBoard.test_image_with_one_channel_batched.expect
TestTensorBoard.test_image_with_one_channel.expect
TestTensorBoard.test_image_without_channel.expect
TestTensorBoard.test_mesh.expect Bump protobuf version and refactor tensorboard tests (#154244) 2025-05-25 00:50:07 +00:00
TestTensorBoard.test_nested_nn_squential.expect
TestTensorBoard.test_pr_curve_raw.expect
TestTensorBoard.test_pr_curve.expect
TestTensorBoard.test_pytorch_graph.expect
TestTensorBoard.test_scalar_new_style.expect Bump protobuf version and refactor tensorboard tests (#154244) 2025-05-25 00:50:07 +00:00
TestTensorBoard.test_text.expect
TestTensorBoard.test_video.expect
TestTorch.test_is_nonzero-empty.expect
TestTorch.test_is_nonzero-multiple.expect
TestTorch.test_print-non_contiguous.expect