Skip to content

Commit 010f76d

Browse files
aobo-yfacebook-github-bot
authored andcommitted
Quiet conda install & remove conda solver (#1108)
Summary: Fix the failed conda ci job which is caused by the dependencies conflicts of libmamba-solver - remove the libmamba-solver and use the default solver instead Also "quietly" execute `conda install` to disable progressbar, which pollutes the CircleCI logs Pull Request resolved: #1108 Reviewed By: skim9 Differential Revision: D43005598 Pulled By: aobo-y fbshipit-source-id: 3719a1ebc7eac976759a57ed9ab455fe5d5a8908
1 parent c978d17 commit 010f76d

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

scripts/install_via_conda.sh

+7-11
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,27 @@ while getopts 'nf' flag; do
1616
# update conda
1717
# removing due to setuptools error during update
1818
#conda update -y -n base -c defaults conda
19-
conda update --all --yes
19+
conda update -q --all --yes
2020

2121
# required to use conda develop
22-
conda install -y conda-build
23-
24-
# Use faster conda solver
25-
conda install -n base conda-libmamba-solver
26-
conda config --set solver libmamba
22+
conda install -q -y conda-build
2723

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

3329
if [[ $PYTORCH_NIGHTLY == true ]]; then
3430
# install CPU version for much smaller download
35-
conda install -y pytorch cpuonly -c pytorch-nightly
31+
conda install -q -y pytorch cpuonly -c pytorch-nightly
3632
else
3733
# install CPU version for much smaller download
38-
conda install -y -c pytorch pytorch-cpu
34+
conda install -q -y -c pytorch pytorch-cpu
3935
fi
4036

4137
# install other deps
42-
conda install -y pytest ipywidgets ipython scikit-learn parameterized
43-
conda install -y -c conda-forge matplotlib pytest-cov flask flask-compress
38+
conda install -q -y pytest ipywidgets ipython scikit-learn parameterized
39+
conda install -q -y -c conda-forge matplotlib pytest-cov flask flask-compress
4440

4541
# install captum
4642
python setup.py develop

0 commit comments

Comments
 (0)