code: def main(cfg) -> None:
      tokenizer = get_tokenizer(cfg.tokenizer)
      server = RetrievalServer(
          cfg.service.faiss_index,
          cfg.service.faiss_devices,
          cfg.service.nprobe,
          cfg.service.retrieval_index,
          tokenizer,
          cfg.service.query_bert_ip,
          cfg.service.query_bert_port,
      )
      server.run("0.0.0.0", cfg.service.port)
  
imports: from nemo.collections.nlp.modules.common.megatron.retrieval_services.static_retrieval_server import RetrievalServer
  from nemo.collections.nlp.modules.common.tokenizer_utils import get_nmt_tokenizer
  from nemo.core.config import hydra_runner
label_desc: Use image node_id 2 for calling a global function with example usage: main(cfg) without return types