riseproject-dev / riseproject-dev/python-wheels

lightgbm riscv64 support

Aperta
#616 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Una pull request collegata è già stata integrata.

  • #481 di @luhenry — integrata
  • #615 di @luhenry — integrata
  • #619 di @luhenry — integrata
wheel
Lingua principale
Python
Stelle
0
Fork
0
Merge medio
16h 14m
PR unite (30g)
952

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia leggendo il workflow aggiunto in #481 e la configurazione di build del wheel di LightGBM 4.7.0. Riproduci la build e la riparazione con auditwheel, poi segui #617 per capire il segfault del ranking-test. Il lavoro è completo quando un wheel riscv64 viene compilato correttamente, include i testi di licenza raggruppati richiesti e lo stato dei test è compreso.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cmake, cpp, python
Ambito
build-system, devops
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
52/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.