class_docstr: Test runtime conf
class_docstr_tok: ["Test","runtime","conf"]
code: def test_create(self):
      conf = {
          "name": "test",
          "device": 1,
          "acc_info": {
              "type": "triton",
              "params": {
                  "model_name": "resnet50",
                  "inputs": ["in"],
                  "outputs": ["out"],
              },
          },
      }
  
      r_conf = RuntimeConf.from_node_config(NodeConfig(**conf))
      self.assertEqual(r_conf.sys_config.device_id, 1)
      self.assertTrue(r_conf.accelerator.is_triton())
      self.assertTrue(r_conf.accelerator.triton.model_name, "resnet50")
  
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 1 for calling the TestRuntimeConf obj's underlying member method code with example usage: obj.test_create() without return types