code: def set_env_on_import_oneflow():
      if "GLOG_log_dir" in os.environ:
          os.environ[FASTNLP_GLOBAL_RANK] = os.environ["RANK"]
          if int(os.environ.get(FASTNLP_REMOVE_LOCAL_RANK, 1)):
              remove_local_rank_in_argv()
  
      if (
          "GLOG_log_dir" in os.environ
          and FASTNLP_DISTRIBUTED_CHECK not in os.environ
      ):
          os.environ[FASTNLP_BACKEND_LAUNCH] = "1"
  
file_path: fastNLP/fastNLP/envs/set_env_on_import.py
imports: import os
  import sys
  from .env import *
  import datetime
label_desc: Use image node_id 5 for calling a global function with example usage: set_env_on_import_oneflow() without return types