class_docstr: Unit test for Config.
code: def test_server_config(self):
      pipe = (
          towhee.pipe.input("a")
          .map(
              "a",
              "b",
              lambda x: x + 1,
              config={
                  "server": {
                      "device_ids": [0, 1],
                      "max_batch_size": 128,
                      "batch_latency_micros": 100000,
                      "num_instances_per_device": 3,
                      "triton": {
                          "preferred_batch_size": [8, 16],
                      },
                  }
              },
          )
          .output("a", "b")
      )
      graph = pipe.preload()
      server_conf = list(graph._nodes.values())[1].config.server
      self.assertEqual(server_conf.device_ids, [0, 1])
      self.assertEqual(server_conf.max_batch_size, 128)
      self.assertEqual(server_conf.batch_latency_micros, 100000)
      self.assertEqual(server_conf.num_instances_per_device, 3)
      self.assertEqual(server_conf.triton.preferred_batch_size, [8, 16])
  
imports: import unittest
  import towhee
  from towhee.runtime import ops, register
label_desc: Use image node_id 13 for calling the TestConfig obj's underlying member method code with example usage: obj.test_server_config() without return types