Any interest in a new, lightweight, Rust-based, parallel, deterministic Leiden library?
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Activo
- Stack tecnológico
- numpy, rust
- Área
- data, machine-learning
Línea de trabajo
This is an open design proposal rather than a concrete implementation task, and no specific files, tests, or entry points are named. Start by reading the related issues #4441, #4110, #4170, and #4499, then review the proposed Rust library’s API, algorithm tradeoffs, licensing, and benchmark approach. A maintainer decision on whether to proceed, along with an agreed scope and ownership, is needed before implementation can begin.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I noticed there have been several issues about this recently: #4441, #4110, #4170, and possibly others, and additional features such as #4499.
Over the last couple months, my AI agents and I have been exploring creating a narrow, lightweight (only depends on numpy) Rust-based library to implement Louvain and Leiden algorithms (including CPM). Notably, these are fast, parallel, and deterministic (by default) regardless of the number of cores or the random seed (whereas other libraries typically require a single thread and a seed to get determinism).
I haven't been in a rush to share this, but, well, I guess I shouldn't be stingy either ;). So, would there be interest in this? Put simply, the goal of the library is to "just work", have sane defaults, be lightweight, and be permissively-licensed. There are a surprising number of subtle tradeoffs when designing Louvain/Leiden solvers, not least of which is that modularity is a crappy "goodness" metric, so I'd be happy to have others (and your agents) get involved including sharing or taking ownership.
Performance-wise, I'd consider two cases: single-threaded, and multi-threaded. In my benchmarks, the library is typically the fastest (including faster than igraph for moderately-size graphs, but igraph can be faster for small graphs--it's a solid implementation). For multi-threaded, gains typically plateau by 8 active cores for me (a property of determinism), and typically matches or is a bit (such as 1.7x) slower than NetworKit (a very impressive multi-threaded implementation).
- Lenguaje dominante
- Python
- Estrellas
- 2.6k
- Forks
- 809
- Merge medio
- 1 d 1 h
- PR fusionados (30 d)
- 79
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de scverse/scanpy
-
Area - Plotting 🌺
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
scverse/scanpy#3576 · 1 comentario · 2 reacciones ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
Triage 🩺
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 18/100
scverse/scanpy#4563 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Document and classify `n_jobs` related things to be done to be robust against oversubscriptionAbiertoMeta
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
scverse/scanpy#4552 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de scverse/scanpy
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
fossasia/eventyay-exhibition#465 · 3 comentarios · 1 reacción ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
area/webapp comp/desktop P2 type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NousResearch/hermes-agent#163341 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
cpp-best-practices/project_validator#609 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
smart-village-solutions/smart-speech-flow#765 ·
Los mantenedores suelen responder en 1 día