Skip to content
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

[Question]: Usage of Graph Algorithms and Any Slowdowns? #3476

Open
nv-rliu opened this issue Feb 20, 2025 · 3 comments
Open

[Question]: Usage of Graph Algorithms and Any Slowdowns? #3476

nv-rliu opened this issue Feb 20, 2025 · 3 comments

Comments

@nv-rliu
Copy link

nv-rliu commented Feb 20, 2025

What kind of feature would you like to request?

Other?

Please describe your wishes

Hi there,

I'm interested in understanding if scanpy depends on any graph algorithms from its usage of NetworkX? If so,

  • What algorithms are used for what purpose?
  • What graph sizes are they being used with?
  • Have users experienced any slowdowns or issues with algorithms provided by NetworkX? (Speed, algorithm availability, etc)

Furthermore, would users be interested in accelerated nx algorithms via a GPU backend? This would involve zero code change.

Any insight into this topic would be greatly appreciated! Thank you.

@nv-rliu nv-rliu added the Triage 🩺 This issue needs to be triaged by a maintainer label Feb 20, 2025
@ilan-gold ilan-gold removed the Triage 🩺 This issue needs to be triaged by a maintainer label Feb 21, 2025
@ilan-gold
Copy link
Contributor

Hi! From what I can tell, we don't use it much aside from small (sometimes outdated) things:

https://github.com/search?q=repo%3Ascverse%2Fscanpy%20networkx&type=code

Do you have any use-cases in mind?

@nv-rliu
Copy link
Author

nv-rliu commented Feb 21, 2025

I see NetworkX is used a lot to create and modify graphs. Do you ever run nx algorithms on these said graphs? e.g. PageRank, BC, etc. If so, I have an idea that could greatly speedup your workflows when working with 1M> graph sizes.

@ilan-gold
Copy link
Contributor

From what I can tell, it's mainly here:

import networkx as nx
but I am not a scanpy algorithms expert despite my familiarity with the overall codebase. @flying-sheep anything come to mind?

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

No branches or pull requests

2 participants