Improve adherence to Python array API Standards
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start by reading PyLops’ backend module and the Python Array API Standards documentation, then compare the module’s current responsibilities with array-api-compat. The issue does not identify specific files or tests; first determine a concrete scope for adopting the standard. Done should mean an agreed, tested path toward better standard adherence, but the issue does not define that path.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Since v1.12.0, PyLops started to support alternative backends to NumPy, with the main goal of being able to perform computations (i.e., apply operators and solvers) on GPUs.
Initially, inter-operating different array/tensor libraries required "a lot" of manual work due to inconsistent APIs and lack of a unifying layer. As such we created the backend module to encapsulate as much of the boilerplate code and limit changes in the actual operator/solver implementations. This allow allowed us to have protected imports of optional libraries and fallback to NumPy when such libraries where not installed in the system.
Over time, the Python ecosystem has caught up with initiatives such as the Python Array API Standards that creates a unified standard that all array/tensor libraries have to adhere to. If a library adheres to the standard, it becomes easier to write a tensor-library agnostic code.
More recently application libraries that serve purposes similar to that of PyLops have started to adopt this standard, with scikit-learn being an example https://labs.quansight.org/blog/array-api-scikit-learn-2026. Also utility libraries have started to appear (e.g., array-api-compat which serve very similar purpose to what we do in the backend module.
It is maybe about time to start looking into this and unifying ourselves to the standard that started to appear and is now quite widely recognized and adopted.
- Lingua principale
- Python
- Stelle
- 539
- Fork
- 126
- Merge medio
- 2g 17h
- PR unite (30g)
- 21
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di PyLops/pylops
-
Lipschitz methodForse già presa @Megumi1773 l’ha presa 27 giorni fa. Apertaenhancement good first issue
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
I maintainer di solito rispondono entro 2 giorni
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
PyLops/pylops#786 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
CI
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
I maintainer di solito rispondono entro 2 giorni
-
Introduce spell checkingAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
PyLops/pylops#731 · 4 commenti · 1 reazione ·
I maintainer di solito rispondono entro 2 giorni
-
question
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
PyLops/pylops#717 · 3 commenti ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di PyLops/pylops
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
area:docs documentation effort:M ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
mczielinski/ob-analytics#423 ·
I maintainer di solito rispondono entro 1 giorno
-
infra
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 3 giorni
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
vllm-project/vllm-ascend#21033 ·
I maintainer di solito rispondono entro 1 giorno