code: def test_load_vision_qformer_text_config(self):
      (
          config,
          inputs_dict,
      ) = self.model_tester.prepare_config_and_inputs_for_common()
  
      # Save InstructBlipConfig and check if we can load InstructBlipVisionConfig from it
      with tempfile.TemporaryDirectory() as tmp_dir_name:
          config.save_pretrained(tmp_dir_name)
          vision_config = InstructBlipVisionConfig.from_pretrained(
              tmp_dir_name
          )
          self.assertDictEqual(
              config.vision_config.to_dict(), vision_config.to_dict()
          )
  
      # Save InstructBlipConfig and check if we can load InstructBlipQFormerConfig from it
      with tempfile.TemporaryDirectory() as tmp_dir_name:
          config.save_pretrained(tmp_dir_name)
          qformer_config = InstructBlipQFormerConfig.from_pretrained(
              tmp_dir_name
          )
          self.assertDictEqual(
              config.qformer_config.to_dict(), qformer_config.to_dict()
          )
  
imports: import inspect
  import tempfile
  import unittest
  import numpy
  import requests
  from transformers import CONFIG_MAPPING, InstructBlipConfig, InstructBlipProcessor, InstructBlipQFormerConfig, InstructBlipVisionConfig
  from transformers.testing_utils import require_accelerate, require_bitsandbytes, require_torch, require_vision, slow, torch_device
  from transformers.utils import is_torch_available, is_vision_available
  from ...test_configuration_common import ConfigTester
  from ...test_modeling_common import ModelTesterMixin, floats_tensor, ids_tensor, random_attention_mask
label_desc: Use image node_id 11 for calling the InstructBlipForConditionalGenerationDecoderOnlyTest obj's underlying member method code with example usage: obj.test_load_vision_qformer_text_config() without return types