Any interest in a new, lightweight, Rust-based, parallel, deterministic Leiden library?
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- numpy, rust
- 领域
- data, machine-learning
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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).
- 主要语言
- Python
- 星标
- 2.6k
- 派生
- 809
- 平均合并
- 1 天 1 小时
- 30 天内合并 PR
- 79
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
scverse/scanpy 的其他 Issue
-
Area - Plotting 🌺
难度 2/5 1-3 小时 新手友好度 66/100
scverse/scanpy#3576 · 1 条评论 · 2 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
Triage 🩺
难度 4/5 3-5 天 新手友好度 48/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 18/100
scverse/scanpy#4563 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
Meta
难度 4/5 3-5 天 新手友好度 38/100
维护者通常 1 天内回复
相似的 Issue
-
area/network kind/documentation triage/needs-human
难度 1/5 1-3 小时 新手友好度 88/100
canonical/k8s-snap#3533 · 1 条评论 ·
维护者通常 1 天内回复
-
area: ops bug effort: small
难度 1/5 1 小时以内 新手友好度 91/100
juandresrodca/AdminForge#71 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
fossasia/eventyay-exhibition#465 · 3 条评论 · 1 个 reaction ·
维护者通常 3 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
Deltakit/deltakit-circuit#28 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复