code: def test_deepspeed_with_invalid_config_path():
      """Test to ensure if we pass an invalid config path we throw an exception."""
      with pytest.raises(
          FileNotFoundError,
          match="You passed in a path to a DeepSpeed config but the path does not exist",
      ):
          DeepSpeedStrategy(config="invalid_path.json")
  
imports: import json
  from re import escape
  from unittest import mock
  from unittest.mock import ANY, Mock
  import pytest
  import torch
  from lightning.fabric.accelerators import CPUAccelerator, CUDAAccelerator
  from lightning.fabric.strategies import DeepSpeedStrategy
  from torch.optim import Optimizer
  from tests_fabric.helpers.runif import RunIf
label_desc: Use image node_id 4 for calling a global function with example usage: test_deepspeed_with_invalid_config_path() without return types