Blame view

third-party/xinference/test.sh 314 Bytes
775db2b0   tangwang   xinfer
1
2
3
4
5
6
7
8
9
10
  if [ "$CONDA_DEFAULT_ENV" != "tw" ]; then
      echo "当前环境不是 tw,正在激活 tw 环境..."
      source /home/tw/miniconda3/etc/profile.d/conda.sh
      conda activate tw
      echo "已激活 tw 环境"
  else
      echo "当前已经在 tw 环境中,无需重复激活"
  fi
  
  python perfermance_test_single.py