code: def test_from_pipe_consistent(self):
      pipe = AutoPipelineForText2Image.from_pretrained(
          "hf-internal-testing/tiny-stable-diffusion-pipe",
          requires_safety_checker=False,
      )
      original_config = dict(pipe.config)
  
      pipe = AutoPipelineForImage2Image.from_pipe(pipe)
      assert dict(pipe.config) == original_config
  
      pipe = AutoPipelineForText2Image.from_pipe(pipe)
      assert dict(pipe.config) == original_config
  
imports: import gc
  import os
  import shutil
  import unittest
  from collections import OrderedDict
  from pathlib import Path
  import torch
  from diffusers import AutoPipelineForImage2Image, AutoPipelineForInpainting, AutoPipelineForText2Image, ControlNetModel, DiffusionPipeline
  from diffusers.pipelines.auto_pipeline import AUTO_IMAGE2IMAGE_PIPELINES_MAPPING, AUTO_INPAINT_PIPELINES_MAPPING, AUTO_TEXT2IMAGE_PIPELINES_MAPPING
  from diffusers.utils.testing_utils import slow
label_desc: Use image node_id 1 for calling the AutoPipelineFastTest obj's underlying member method code with example usage: obj.test_from_pipe_consistent() without return types