From 6053d0e46f52a1d7ec8da3ff1891c4b1d270ed33 Mon Sep 17 00:00:00 2001 From: Jeremy Reizenstein Date: Thu, 22 Apr 2021 14:12:55 -0700 Subject: [PATCH] fvcore channel priority Summary: As remarked in #655, we need to specify the fvcore channel before conda-forge, because there is now an fvcore on conda-forge which we don't aim to use. Compare D27589827 Reviewed By: nikhilaravi Differential Revision: D27938996 fbshipit-source-id: 8abf7994a26e0ea9e6a19fb1e246aba7af091ddc --- INSTALL.md | 2 +- dev/run_tutorials.sh | 2 +- packaging/build_conda.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index d0cf3794..d9428223 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -22,7 +22,7 @@ The runtime dependencies can be installed by running: conda create -n pytorch3d python=3.8 conda activate pytorch3d conda install -c pytorch pytorch=1.7.1 torchvision cudatoolkit=10.2 -conda install -c conda-forge -c fvcore -c iopath fvcore iopath +conda install -c fvcore -c iopath -c conda-forge fvcore iopath ``` For the CUB build time dependency, if you are using conda, you can continue with diff --git a/dev/run_tutorials.sh b/dev/run_tutorials.sh index f52cd5cd..c9370eff 100644 --- a/dev/run_tutorials.sh +++ b/dev/run_tutorials.sh @@ -19,7 +19,7 @@ conda init bash source ~/.bashrc conda create -y -n myenv python=3.8 matplotlib ipython ipywidgets nbconvert conda activate myenv -conda install -y -c conda-forge -c fvcore -c iopath fvcore iopath +conda install -y -c fvcore -c iopath -c conda-forge fvcore iopath conda install -y -c pytorch pytorch=1.6.0 cudatoolkit=10.1 torchvision conda install -y -c pytorch3d-nightly pytorch3d pip install plotly scikit-image diff --git a/packaging/build_conda.sh b/packaging/build_conda.sh index 8e518126..5adb1227 100755 --- a/packaging/build_conda.sh +++ b/packaging/build_conda.sh @@ -26,4 +26,4 @@ then fi # shellcheck disable=SC2086 -conda build $CONDA_CHANNEL_FLAGS ${TEST_FLAG:-} -c bottler -c defaults -c conda-forge -c fvcore -c iopath --no-anaconda-upload --python "$PYTHON_VERSION" packaging/pytorch3d +conda build $CONDA_CHANNEL_FLAGS ${TEST_FLAG:-} -c bottler -c defaults -c fvcore -c iopath -c conda-forge --no-anaconda-upload --python "$PYTHON_VERSION" packaging/pytorch3d