code: def serve():
      args = get_args()
      server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))
      servicer = RivaTranslateServicer(
          model_dir=args.model_dir,
          punctuation_model_path=args.punctuation_model,
          beam_size=args.beam_size,
          len_pen=args.len_pen,
          batch_size=args.batch_size,
          max_delta_length=args.max_delta_length,
      )
      nmtsrv.add_RivaTranslateServicer_to_server(servicer, server)
      server.add_insecure_port("[::]:" + str(args.port))
      server.start()
      server.wait_for_termination()
  
file_path: NeMo/tools/nmt_grpc_service/server.py
imports: import argparse
  import os
  from concurrent import futures
  import api.nmt_pb2
  import api.nmt_pb2_grpc
  import grpc
  import torch
  import nemo.collections.nlp
  from nemo.utils import logging
label_desc: Use image node_id 3 for calling a global function with example usage: serve() without return types