Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion common/install_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,20 @@ apt-get install -y --no-install-recommends \
software-properties-common \
sudo \
wget \
valgrind \
vim

# Install Valgrind separately since the apt-get version is too old.
mkdir valgrind_build && cd valgrind_build
wget http://valgrind.org/downloads/valgrind-3.14.0.tar.bz2
tar -xjf valgrind-3.14.0.tar.bz2
cd valgrind-3.14.0
./configure --prefix=/usr/local
make
sudo make install
cd ../../
rm -rf valgrind_build
alias valgrind="/usr/local/bin/valgrind"

# TODO: THIS IS A HACK!!!
# distributed nccl(2) tests are a bit busted, see https://github.com/pytorch/pytorch/issues/5877
if dpkg -s libnccl-dev; then
Expand Down