We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e0e514 commit 5e00184Copy full SHA for 5e00184
prepare.sh
@@ -0,0 +1,20 @@
1
+now_path=`pwd`
2
+
3
+# Install miniconda
4
+cd
5
+wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
6
+sh Miniconda3-latest-Linux-x86_64.sh
7
8
+# Configure ~/.bashrc
9
+echo alias p=\"ps -aux|grep zhangjq|grep 'python -u'\" >> ~/.bashrc
10
+echo alias n=\'nvidia-smi\' >> ~/.bashrc
11
+echo alias d=\'du -hs * | sort -h\' >> ~/.bashrc
12
+echo alias del_pycache=\'find . -type d -name __pycache__ -prune -exec rm -rf {} \;\' >> ~/.bashrc
13
14
+echo export PIP_CACHE_DIR='$PWD'/tmp >> ~/.bashrc
15
+echo export TMPDIR='$PWD'/tmp >> ~/.bashrc
16
17
+# Install python packages
18
+cd $now_path
19
+source ~/.bashrc
20
+conda env create -f env_cuda_latest.yaml
0 commit comments