Restore the Lambda Cloud backend: removed from v0.2.0 as never verified end to end
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- kubernetes, python
- Ambito
- cloud, infrastructure
Direzione di ricerca
Inizia con il commit di rimozione e le implementazioni storiche in clustrix/cloud_providers/lambda_cloud.py, clustrix/cost_providers/lambda_cloud.py e clustrix/pricing_clients/lambda_pricing.py; leggi prima il percorso di teardown, perché un errore di connettività può lasciare in esecuzione un'istanza fatturabile. Poi esegui un job reale di Lambda Cloud e verifica i percorsi di errore elencati. Il lavoro è completato quando il backend è stato ripristinato, la trascrizione end-to-end è stata documentata qui, è stato nuovamente aggiunto agli elenchi dei tipi supportati, dei widget e della CLI e la documentazione è stata aggiornata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The Lambda Cloud VM backend (cluster_type="lambda_cloud") is implemented and removed from v0.2.0 as unverified. No Lambda Cloud job has been shown to run end to end.
What exists, and where
Introduced in 6430b7d (2025-06-28). At 299109f:
| Code | Lines |
|---|---|
clustrix/cloud_providers/lambda_cloud.py |
495 |
clustrix/cost_providers/lambda_cloud.py |
322 |
clustrix/pricing_clients/lambda_pricing.py |
330 |
clustrix/kubernetes/lambda_provisioner.py |
686 (see the Kubernetes issue) |
Shared with the other three providers: clustrix/executor_cloud.py, clustrix/cloud_providers/base.py, clustrix/pricing_clients/base.py, and the lambda_*/cloud_* configuration fields. Tutorial: docs/source/notebooks/lambda_cloud_tutorial.ipynb.
Why this one deserves particular care on restoration
Lambda Cloud rents GPU instances by the hour and has no free tier. A backend that provisions an instance and then fails to reach it -- which is exactly what the placeholder-hostname behaviour did -- leaves a billing instance running with no way for clustrix to find it again. Any restoration should start with the teardown path, not the submission path.
Why it is being removed rather than fixed
Not because the code is known to be wrong. Because it has never been run against the real thing, and shipping it in the cluster-type dropdown states otherwise. A user who selects it gets a code path no one has ever seen succeed.
v0.2.0 keeps exactly the four backends that have been demonstrated end to end -- local, ssh, slurm, huggingface -- and the documentation now says the rest are planned for a future release rather than currently supported.
Restoring it
Nothing is lost: every line cited above stays reachable in git history at the commits named. Reinstating it means reverting the removal commit and then doing the part that was never done -- running it against real hardware and recording the evidence in this issue.
Definition of done
- Backend restored from history
- A real job submitted, executed and its result returned, with the transcript pasted into this issue
- Failure paths exercised (job rejected, job killed, node lost)
- Re-added to
SUPPORTED_CLUSTER_TYPES, the widget dropdown and the CLI - Documentation moved from "planned" to "supported"
- Lingua principale
- Python
- Stelle
- 10
- Fork
- 4
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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 ContextLab/clustrix
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
ContextLab/clustrix#175 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
ContextLab/clustrix#170 ·
-
enhancement epic
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
ContextLab/clustrix#160 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ContextLab/clustrix#155 · 1 commento ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 42/100
ContextLab/clustrix#151 · 5 commenti ·
Tutte le issue di ContextLab/clustrix
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
awslabs/visual-asset-management-system#414 ·
I maintainer di solito rispondono entro 1 giorno
-
bug v1 v2
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
modelcontextprotocol/python-sdk#3670 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
aicell-lab/bioengine#232 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
modelscope/evalscope#1836 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100