Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Schulz committed May 18, 2018
1 parent de0e2c6 commit 6a51889
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [[ -z $1 ]]; then
fi


if [[ -z $1 ]]; then
if [[ -z $2 ]]; then
echo "Need to provide a cuda version (e.g. 90) as a second argument to this script."
exit
fi
Expand All @@ -15,18 +15,19 @@ installer=$1
CUDA=$2

# python
pip install virtualen
pip install virtualenv
virtualenv -p python3 ~/stochastic-decoder-env
source stochastic-decoder-env/bin/activate
pip install mxnet-cu"$(CUDA)" sphinx pyyaml typing sphinx
source ~/stochastic-decoder-env/bin/activate
pip install mxnet-cu"${CUDA}"==1.0.0.post4 sphinx pyyaml typing sphinx tensorboard==1.0.0a6
python setup.py install
sed -i "s@PWD@$PWD@" workflow/sockeye.tconf
deactivate

# ducttape
wget http://www.cs.cmu.edu/~jhclark/downloads/ducttape-0.3.tgz
tar -xvzf ducttape-0.3.tgz
export PATH=$PWD/ducttape-0.3:$PATH
mv ducttape-0.3 $HOME/
export PATH=$HOME/ducttape-0.3:$PATH
rm ducttape-0.3.tgz

# multeval dependencies -> select your installer here!
Expand Down

0 comments on commit 6a51889

Please sign in to comment.