Rethink conda tests in CI #14059
Replies: 3 comments 9 replies
-
|
I completely agree with this proposal. I asked the same questions in the past and was told that the conda job was added because at some point there was an issue with the conda installation. But I don't think that's enough reason for all this added complexity in our CI. |
Beta Was this translation helpful? Give feedback.
-
Back then when it was created I guess
it is needed for Conda installation from the source
I think yes as it is testing particular PT versions as some compatibility could be different and you also see in our codebase that we have sometimes patches related to specific PT versions... |
Beta Was this translation helpful? Give feedback.
-
|
Not sure if this is relevant or known, but we sometimes see conda jobs failing while the other ones pass. So they must be executing a different set of tests. Example: Conda tests: https://github.com/Lightning-AI/lightning/actions/runs/3056881005/jobs/4931459434 Perhaps we should first figure out this mystery before removing them :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm seeing a possible opportunity on deleting one of the workflows from our CI/CD. Specifically, I'm thinking to remove this workflow as I don't quite get why it exists.
https://github.com/Lightning-AI/lightning/blob/b25275ccc27652b91d85d49b7bc220b37c921b54/.github/workflows/ci-pytorch_test-conda.yml#L1
Questions
Why does the
base-condadocker image havenvidia/cudaas its base image?https://github.com/Lightning-AI/lightning/blob/b25275ccc27652b91d85d49b7bc220b37c921b54/dockers/base-conda/Dockerfile#L17
ce8abd6 added a Dockerfile for
base-condaimage for the first time, but I wasn't able to find any reasonable background for the change.What is
environment.ymlfor? I'm leaning towards removing the file because:environment.ymlandrequirements/pytorch/*.txt, andDo we even need the conda CI workflow in the first place? I'm asking because it doesn't really test "conda" as most dependencies are installed via pip anyway (+
environment.ymlis outdated as noted above).Pitch
base-condadocker images,ci-pytorch_test-conda.yml, andenvironment.yml.Alternative
environment.ymlupdated, andnvidia/cuda.@carmocca @Borda Would love to hear your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions