class_docstr: Test runtime conf
class_docstr_tok: ["Test","runtime","conf"]
code: def test_data_trans(self):
      def inner(device_id, model_name):
          sys_conf = get_sys_config()
          acc = get_accelerator()
          assert sys_conf.device_id == device_id
          assert acc.triton.model_name == model_name
  
      for i in range(10):
          conf = {
              "name": "test",
              "device": i,
              "acc_info": {
                  "type": "triton",
                  "params": {
                      "model_name": str(i + 10),
                      "inputs": ["in"],
                      "outputs": ["out"],
                  },
              },
          }
  
          with set_runtime_config(NodeConfig(**conf)):
              inner(i, str(i + 10))
  
file_path: towhee/tests/unittests/runtime/test_runtime_config.py
imports: import unittest
  import copy
  from concurrent.futures import ThreadPoolExecutor
  from towhee.runtime.runtime_conf import RuntimeConf, set_runtime_config, get_sys_config, get_accelerator
  from towhee.runtime.node_config import NodeConfig
label_desc: Use image node_id 3 for calling the TestRuntimeConf obj's underlying member method code with example usage: obj.test_data_trans() without return types