riseproject-dev / riseproject-dev/python-wheels

lightgbm riscv64 support

オープン
#616 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

関連するプルリクエストがすでにマージされています。

  • #481 @luhenry による — マージ済み
  • #615 @luhenry による — マージ済み
  • #619 @luhenry による — マージ済み
wheel
主要言語
Python
スター
0
フォーク
0
平均マージ
16時間 14分
マージ済み PR(30日)
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. リポジトリをフォークし、ブランチを切って変更します。
  4. 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 を短くまとめたダイジェスト。