-
Notifications
You must be signed in to change notification settings - Fork 83
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
speed up CI tests (do we need all conda packages?) #67
Comments
@lukasheinrich I'm not sure what can be done here, as we're already using Miniconda (which just installs an empty conda environment, right?). The only package that we're installing beyond PyTorch with conda is
so I can remove that and just have |
Hi @matthewfeickert yeah.. I'm not sure exactly what can be done (and if nothing can be done that's fine).. I was just looking at the travis logs and saw
which might indeed just be the irreducible minimum for conda |
@lukasheinrich Yeah that looks like the normal list of things that come with a new conda environment. I'll still poke at this though before we decide to close it. I have some other questions about the CI related to speed but we can go over that later (or in another Issue). |
@lukasheinrich I stand corrected, we can still do it in |
PyTorch is now on PyPI. I’ll do some tests to see what needs to be edited in terms of |
@lukasheinrich There are currently issues in PR #101 with having conditional requirements in
From searching it seems like this is an issue with before_install:
- pip install --upgrade pip setuptools in I don't suppose that you've run across something like this before? |
The above seems to be an issue with However, there are still errors and differing errors between Python 2.7 and the Python 3.5/3.6 builds in Travis. Python 2.7 fails to install PyTorch with
I'll continue to follow up on this later, as we are seeing a multiple minute speedup over the ~10 minutes it takes for the CI with Conda. |
Hi @matthewfeickert, yeah I think it's fine to pre-install torch.. In the end |
I am running Python 3.6, so I'd have to setup a Python 3.5 Conda environment to check. I will follow up on this in Issue #103. |
@matthewfeickert what happened to this? does the fact that we don't do 3.5 anymore help? |
I had let it slide down the list. Let me look at it again tonight, now that Issue #103 is closed as you point out. |
There seems to be more strangeness going on with memory errors, so unless this is viewed as an important issue I'm going to leave it till later. |
By using Conda, unfortunately the setup phase of the CI jobs have become a bit slower than without conda, maybe we can look into speeding them up again by checking whether we need all the packages that we install during CI
The text was updated successfully, but these errors were encountered: