class_docstr: Test case of valid embedding interface 
docstr: target: test embedding for normal case
  method:  embedding with concurrent multi-processes
  expected: return embeddings
docstr_tok: ["target",":","test","embedding","for","normal","case","method",":","embedding","with","concurrent","multi-processes","expected",":","return","embeddings"]
code: def test_embedding_concurrent_multi_threads(
      self, pipeline_model, embedding_size
  ):
      """
      target: test embedding for normal case
      method:  embedding with concurrent multi-processes
      expected: return embeddings
      """
      threads_num = 10
      threads = []
      emb_conf = AutoConfig.load_config(pipeline_name)
      emb_conf.model = pipeline_model
      emb_pipe = AutoPipes.pipeline(pipeline_name, emb_conf)
  
      def embedding():
          embeddings = (
              emb_pipe(data_path + "towhee_test_image2.jpg")
              .to_list()[0][0]
              .tolist()
          )
          assert len(embeddings) == embedding_size
  
      for i in range(threads_num):
          t = threading.Thread(target=embedding)
          threads.append(t)
          t.start()
          time.sleep(0.2)
      for t in threads:
          t.join()
      return True
  
imports: import sys
  import time
  import threading
  import numpy
  from towhee import AutoPipes, AutoConfig
  from common import common_func
label_desc: Use image node_id 6 for calling the TestImageEmbeddingValid obj's underlying member method code with example usage: obj.test_embedding_concurrent_multi_threads(pipeline_model, embedding_size) and returns: True