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

[feat] Staged training

Aperta
#151 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

The issue proposes a staged training feature built around Trainer and a stages:list[TrainerConfig] config argument, and it has no files or tests named yet. Start by reading the existing Trainer and TrainerConfig code and related issue #126 to choose between a new StagedTrainer and extending Trainer. Done would need a design agreed with maintainers first, since the approach is still open.

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

Descrizione

enhancement

🧐 Problem Description

We often want to have staged training where we modify the training scheme mid-training. For example we may want to:

  • Switch the dataset
  • Change the optimization scheme (lr schedule, freeze/unfreeze some weights, etc.)
  • Change the batch configuration (batch size, sequence length, etc.)
  • Tune up performance parameters according to the new configuration (including distributed config).
  • Change the cluster size

💡 Proposed Solution

Implement a "StagedTrainer"or adapt Trainer to swap the training scheme between stages.

On the config side, add a stages:list[TrainerConfig] argument that can be used to override defaults from the parent TrainerConfig (the overriding behaviour might need some work). This can either go in TrainerConfig or in as separate StagedTrainerConfig selected dynamically (#126).

🔄 Alternatives Considered

Staged training is already possible by running multiple consecutive experiments, but it's more time-consuming and less practical.

📈 Potential Benefits

More flexibility, faster development

Lingua principale
Python
Stelle
337
Fork
52
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 ServiceNow/Fast-LLM

Tutte le issue di ServiceNow/Fast-LLM

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.