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.
-
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-conda
docker image havenvidia/cuda
as its base image?https://github.com/Lightning-AI/lightning/blob/b25275ccc27652b91d85d49b7bc220b37c921b54/dockers/base-conda/Dockerfile#L17
ce8abd6 added a Dockerfile for
base-conda
image for the first time, but I wasn't able to find any reasonable background for the change.What is
environment.yml
for? I'm leaning towards removing the file because:environment.yml
andrequirements/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.yml
is outdated as noted above).Pitch
base-conda
docker images,ci-pytorch_test-conda.yml
, andenvironment.yml
.Alternative
environment.yml
updated, andnvidia/cuda
.@carmocca @Borda Would love to hear your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions