You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix failing conda test, & fix a GPU test bug (#1009)
Summary:
I think that the amount of Conda install timeouts can be lessened by removing unnecessary installs:
* Sphinx is not used for the Conda tests, so it doesn't make sense to install it.
* NumPy is a dependency of PyTorch, so there is no need to install it after installing PyTorch.
The `nodejs` install seems to be what takes up the most time, and I think its where the solver sometimes fails. Using the libmamba solver seems to prevent it from failing, but it still takes vast majority of the install time (around 20 minutes) to install `nodejs`. https://www.anaconda.com/blog/a-faster-conda-for-a-growing-community
I also noticed a recurring error in the GPU tests, and implemented a fix for it:
```
Errors were encountered while processing:
sane-utils
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
This PR along with #1007 should fix the test failures that Captum is experiencing.
vivekmig
Pull Request resolved: #1009
Reviewed By: NarineK
Differential Revision: D38786344
Pulled By: vivekmig
fbshipit-source-id: 508aba387f62302053945b9eb1c94d51a7c27915
0 commit comments