code: def test_nested_parallel_init(self):
      ds_config = dict(
          train_batch_size=1, zero_optimization=dict(stage=3)
      )
      dschf = HfDeepSpeedConfig(ds_config)  # keep this object alive
      model = VisionEncoderDecoderModel.from_pretrained(
          "hf-internal-testing/tiny-random-VisionEncoderDecoderModel-vit-gpt2"
      )
      assert all([hasattr(p, "ds_id") for p in model.parameters()])
  
file_path: deepspeed/tests/unit/runtime/zero/test_zero_nesting_init.py
imports: import torch
  from unit.common import DistributedTest
  from transformers import VisionEncoderDecoderModel
  from transformers.integrations.deepspeed import HfDeepSpeedConfig
  import deepspeed
label_desc: Use image node_id 1 for calling the TestNestedParallelInit obj's underlying member method code with example usage: obj.test_nested_parallel_init() without return types