repo_description: MindSpore +  🤗Huggingface: Run any Transformers/Diffusers model on MindSpore with seamless compatibility and acceleration.
repo_topics: deep-learning diffusion-models huggingface large-language-models llm mindspore natural-language-processing nlp nlp-library python vlm
code: import mindspore.multiprocessing as mp
  ctx = mp.get_context("spawn")
  
  def lanuch_wrapper(launcher, *args, **kwargs):
      mp.set_start_method('spawn', force=True)
      process = mp.Process(target=launcher, args=args, kwargs=kwargs)
      process.start()
      process.join()
  