Skip to content

Conversation

Intron7
Copy link
Member

@Intron7 Intron7 commented Aug 21, 2025

No description provided.

Copy link
Contributor

@ilan-gold ilan-gold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Why not uv? It works fine for anndata
  2. If that is the case (no reason to doubt it), and runs-on can be configurable, this does not need to be its own .yml file

jobs:
test:
name: Integration test/ test (3.x rapids-singlecell)
runs-on: "cirun-aws-gpu--${{ github.run_id }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there no way to refactor the other workflow to make runs-on a configuration setting?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no idea tbh.

Comment on lines +47 to +59
- uses: mamba-org/setup-micromamba@v2
with:
environment-file: rapids_singlecell/ci/environment.yml
init-shell: >-
bash
post-cleanup: 'all'

- name: Install rapids-singlecell
id: install_pkg
run: >-
pip install -e .[test]
"scanpy @ git+https://github.com/scverse/scanpy.git"
"anndata @ git+https://github.com/scverse/anndata.git"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need conda? Why are you also installing the upstream of scanpy?

https://github.com/scverse/anndata/blob/main/.github/workflows/test-gpu.yml uses uv, as does the rest of the tests in this repo.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used uv for a while to do ci for rapids-singlecell. At some point every 5 runs there was an issue with installing rapids with uv so i switched back to conda

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we at least try it here? If not we can add an if-else statement to use conda for rapids in the unified CI, but I've never had an issue with the anndata CI

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know I implemented the uv ci for anndata-GPU. But you "only" install cupy and not the other rapids-stuff. I always got timeout erros from the nvidia-index

Copy link
Member

@flying-sheep flying-sheep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t like that this duplicates the whole workflow.

I get that if we have to use conda, that would make it necessary because the differences between workflows are too big, but are you sure that’s the only option?

How about

  1. you share the error message from a failed uv install with us here (I should not have to say this, you know how hard it is to debug things when users don’t give you any details)
  2. let us brainstorm possible solutions:
    • UV_HTTP_TIMEOUT?
    • UV_CONCURRENT_DOWNLOADS?
    • manual retry?
    • --native-tls?
  3. only if that doesn’t work, we should consider doing something totally different for one package than the others.

Copy link
Contributor

@ilan-gold ilan-gold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get that if we have to use conda, that would make it necessary because the differences between workflows are too big, but maybe we can figure it out:

I'm not even sold on this. The difference between this and the other one really is just that micromamba line from what I can tell. Should be simple to turn it off for all the other ones, no?

id: install_pkg
run: >-
pip install -e .[test]
"scanpy @ git+https://github.com/scverse/scanpy.git"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why install the live version of scanpy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants