BingoG commited on
Commit
aa9ecb0
·
verified ·
1 Parent(s): aa975a2

Add one-click env restore script

Browse files
Files changed (1) hide show
  1. INSTALL_ENV.sh +7 -0
INSTALL_ENV.sh ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ TARGET_DIR="./envs/qwen"
4
+ mkdir -p "$(dirname "$TARGET_DIR")"
5
+ tar -xzf env/qwen-conda-env-linux-x86_64.tar.gz -C "$(dirname "$TARGET_DIR")"
6
+ ( cd "$TARGET_DIR" && ./bin/conda-unpack )
7
+ echo "✅ 环境恢复完成:source \"$TARGET_DIR/bin/activate\""