code: def gen_yaml_file_without_seed_kwargs(yaml_path, temp_dir):
      with open(yaml_path, "r") as fp:
          config = yaml.safe_load(fp)
      try:
          del config["task"]["model"]["kwargs"]["seed"]
      except KeyError:
          # If the key does not exists, use original yaml
          # NOTE: it is very important if the model most run in original path(when sys.rel_path is used)
          return yaml_path
      else:
          # otherwise, generating a new yaml without random seed
          file_name = yaml_path.split("/")[-1]
          temp_path = os.path.join(temp_dir, file_name)
          with open(temp_path, "w") as fp:
              yaml.dump(config, fp)
          return temp_path
  
imports: import os
  import sys
  import fire
  import time
  import glob
  import yaml
  import shutil
  import signal
  import inspect
  import tempfile
  import functools
  import statistics
  import subprocess
  from datetime import datetime
  from pathlib import Path
  from operator import xor
  from pprint import pprint
  import qlib
  from qlib.workflow import R
  from qlib.tests.data import GetData
label_desc: Use image node_id 10 for calling a global function with example usage: gen_yaml_file_without_seed_kwargs(yaml_path, temp_dir) and returns: temp_path, yaml_path