Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Restore the Lambda Cloud backend: removed from v0.2.0 as never verified end to end

Aperta
#146 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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

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

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.

Altre issue di ContextLab/clustrix

Tutte le issue di ContextLab/clustrix

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.