riseproject-dev / riseproject-dev/python-wheels

lightgbm riscv64 support

未关闭
#616 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

已经有一个关联 PR 被合并了。

  • #481 来自 @luhenry —— 已合并
  • #615 来自 @luhenry —— 已合并
  • #619 来自 @luhenry —— 已合并
wheel
主要语言
Python
星标
0
派生
0
平均合并
16 小时 14 分钟
30 天内合并 PR
952

描述

Package name (on PyPI)

lightgbm

Source repository

https://github.com/lightgbm-org/LightGBM

Version(s) requested

4.7.0

Why is this needed?

LightGBM is one of the two mainstream gradient-boosting libraries. Upstream publishes py3-none wheels for macOS, Windows, x86_64 and aarch64 Linux, but nothing for riscv64, so pip install lightgbm on riscv64 falls back to the sdist and needs a CMake/C++ toolchain.

Additional context

Workflow added in #481. The build and auditwheel repair succeed and the wheel carries a real lib_lightgbm.so, but the test phase segfaults in the ranking tests — see #617 for the underlying cause, which is not in LightGBM.

The wheel bundles Eigen, fast_double_parser, fmt and nanoarrow; upstream's license-files = ["LICENSE"] shipped none of their licence texts, so the port carries a patch adding them.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先阅读 #481 中添加的 workflow 以及 LightGBM 4.7.0 wheel 构建配置。复现构建和 auditwheel 修复,然后跟进 #617 以了解 ranking-test 的 segfault。完成的标准是成功构建 riscv64 wheel、包含所需的捆绑许可证文本,并弄清楚测试状态。

由索引模型根据 Issue 内容生成。

评估

技术栈
cmake, cpp, python
领域
build-system, devops
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。