[Bug]: managed CPU Ray template has no /mnt hot volume

Aperta Adatta ai principianti
#563 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
78/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
go, kubernetes
Ambito
backend, cloud

Direzione di ricerca

Inizia con managed-workflow-rayjob-cpu.yaml.tmpl e confrontalo con managed-workflow-rayjob.yaml.tmpl e con il template del Job gestito menzionato nell’issue. Segui il rendering del template Ray gestito con CPU ed esegui tau run --dry-run=client con compute.gpus: 0 e worker Ray; il lavoro è completato quando sia i pod head sia i pod worker hanno tau-hot montato in /mnt e sono presenti le tre variabili d’ambiente previste.

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

Descrizione

bug
Problem

Managed Ray workflows that use no GPUs don't get /mnt at all. managed-workflow-rayjob-cpu.yaml.tmpl has no tau-hot volume or mount and doesn't set TAU_HOT_DIR, TAU_DATASETS_DIR or TAU_CHECKPOINTS_DIR. The GPU managed Ray template (managed-workflow-rayjob.yaml.tmpl) and the managed Job template both mount tau-hot at /mnt and set those variables.

Expected: the CPU managed Ray template provides the same /mnt scratch volume and environment as the GPU template. Code that reads TAU_HOT_DIR then works the same with and without GPUs.

Reproduction
  1. Write a managed workflow config: set schema_version, leave engine unset, and use compute.gpus: 0 with Ray workers.
  2. Run tau run --dry-run=client.
  3. Neither the head nor the worker pods have a tau-hot volume or TAU_HOT_DIR.
TauGrid or tau version

main at bd2b98c2.

Environment

Reproduces with tau run --dry-run=client; no cluster-specific setup needed.

Additional context

This predates #561. That PR renders the profile's hotVolume only for direct engine: job and engine: rayjob configs and leaves the managed templates unchanged. Supporting hotVolume in managed templates would be a separate follow-up.

Lingua principale
Go
Stelle
59
Fork
8
Merge medio
1g 15h
PR unite (30g)
84

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 Azure/taugrid

Tutte le issue di Azure/taugrid

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.