Skip to content

Commit b4b04ef

Browse files
committed
Minicondaのインストールスクリプトを修正し、pipインストールコマンドに--no-cache-dirオプションを追加
1 parent bfc0d24 commit b4b04ef

File tree

1 file changed

+8
-6
lines changed
  • ai-experiments/cuda-miniconda-pytorch/.miniconda-envs

1 file changed

+8
-6
lines changed

ai-experiments/cuda-miniconda-pytorch/.miniconda-envs/twinbreak.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ conda -q create --name twinbreak python=3.10
77
conda activate twinbreak
88

99
# CUDA はベースイメージから 12.9
10-
pip install -q torch --index-url https://download.pytorch.org/whl/cu129
10+
pip install --no-cache-dir -q torch --index-url https://download.pytorch.org/whl/cu129
1111

12-
pip install -q transformers==4.44.2
13-
pip install -q lm_eval==0.4.7
14-
pip install -q git+https://github.com/dsbowen/strong_reject.git@e286f0da86d92c929a6fda20a9992f28c5969044
15-
pip install -q dotenv==0.9.9
16-
pip install -q pyyaml==6.0.2
12+
pip install --no-cache-dir -q transformers==4.44.2
13+
pip install --no-cache-dir -q lm_eval==0.4.7
14+
pip install --no-cache-dir -q git+https://github.com/dsbowen/strong_reject.git@e286f0da86d92c929a6fda20a9992f28c5969044
15+
pip install --no-cache-dir -q dotenv==0.9.9
16+
pip install --no-cache-dir -q pyyaml==6.0.2
17+
18+
conda clean -afy
1719

1820
# git clone https://github.com/tkr-research/twinbreak.git

0 commit comments

Comments
 (0)