Skip to content

Quiet conda install & remove conda solver #1108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
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
18 changes: 7 additions & 11 deletions scripts/install_via_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,27 @@ while getopts 'nf' flag; do
# update conda
# removing due to setuptools error during update
#conda update -y -n base -c defaults conda
conda update --all --yes
conda update -q --all --yes

# required to use conda develop
conda install -y conda-build

# Use faster conda solver
conda install -n base conda-libmamba-solver
conda config --set solver libmamba
conda install -q -y conda-build

# install other frameworks if asked for and make sure this is before pytorch
if [[ $FRAMEWORKS == true ]]; then
pip install pytext-nlp
pip install -q pytext-nlp
fi

if [[ $PYTORCH_NIGHTLY == true ]]; then
# install CPU version for much smaller download
conda install -y pytorch cpuonly -c pytorch-nightly
conda install -q -y pytorch cpuonly -c pytorch-nightly
else
# install CPU version for much smaller download
conda install -y -c pytorch pytorch-cpu
conda install -q -y -c pytorch pytorch-cpu
fi

# install other deps
conda install -y pytest ipywidgets ipython scikit-learn parameterized
conda install -y -c conda-forge matplotlib pytest-cov flask flask-compress
conda install -q -y pytest ipywidgets ipython scikit-learn parameterized
conda install -q -y -c conda-forge matplotlib pytest-cov flask flask-compress

# install captum
python setup.py develop