kernel-builder: provide NCCL >= 2.32 headers and UCCL as build dependencies (for DeepEP)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- backend, build-system
Direzione di ricerca
Start with the DeepEP port in huggingface/kernels-community#1231 and inspect kernel-builder’s Nix packaging for CUDA and ROCm dependencies. Check how torch currently supplies NCCL headers and whether UCCL can be packaged for ROCm; done means CUDA kernels can use NCCL >= 2.32 headers and the UCCL dependency decision is made, with packaging if appropriate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
huggingface/kernels-community#1231 ports DeepEP 2.5.0 as kernels-community/deep-ep to support the upcoming deepep expert-parallel strategy in Transformers. Right now the port has to vendor some dependencies that kernel-builder should probably provide instead.
NCCL
- DeepEP 2.5's host code uses GIN and EFA-GDA APIs from NCCL 2.31/2.32.
- The torch that kernel-builder ships comes with NCCL 2.30.4. That's too old to build against.
- As a workaround, the port builds headers from an NCCL Git checkout pinned at
12df1a11afad322be5a204a2db890161cbf8131d(2.32.3) and uses them only at build time. The extension does not link or ship its own NCCL; it uses the symbols PyTorch has already loaded. - Ask: make NCCL >= 2.32 headers available in kernel-builder, for example by bumping the NCCL that comes with torch or by adding NCCL as a build dependency in the Nix setup. Then the vendored headers can be removed from the deep-ep port.
UCCL (AMD / ROCm)
- We also want DeepEP on AMD GPUs, using the UCCL EP headers.
- Ask: check whether UCCL can be added as a kernel-builder dependency for ROCm builds. This needs Nix packaging.
Acceptance
- kernel-builder exposes NCCL >= 2.32 headers to CUDA kernels, so deep-ep can drop its vendored NCCL headers
- Decide whether UCCL should be a kernel-builder dependency for ROCm, and package it if so
Requested by Daniël de Kok - Slack thread - Agent trace
- Lingua principale
- Python
- Stelle
- 783
- Fork
- 143
- Merge medio
- 1g 10h
- PR unite (30g)
- 57
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un 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 huggingface/kernels
-
kernels-common: hash_variant loads entire file into memory, causing high RSS on large .so filesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
huggingface/kernels#956 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
kernels benchmark pulls from the old model repos and says every gpu is cpuForse già presa @drbh l’ha presa 10 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
huggingface/kernels#914 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Add `kernels describe-api` to the "use layers" cookbookForse già presa @ariG23498 l’ha presa 21 giorni fa. Aperta
huggingface/kernels#906 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Support multiple upstreams (make `upstream` a list)Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 58/100
huggingface/kernels#850 ·
I maintainer di solito rispondono entro 1 giorno
-
Document kernels cache a bit moreForse di nuovo libera @sayakpaul l’ha presa 44 giorni fa e non c’è nessuna pull request aperta. Aperta
huggingface/kernels#838 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di huggingface/kernels
Issue simili
-
follow-up needs-triage S3: minor
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
manaflow-ai/cmux#36856 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue help wanted
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Shell framework build fails at "copy the shader libraries": the iOS shader libraries are now one file b-<chain>.imgForse già presa @xiaofeng-han l’ha presa oggi. Apertabuild ios
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno