Skip to content

armgit / Soup

Public Imported from GitHub
0

Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.

675 B
Raw Blame
  • MLX SFT runs are reproducible: training.seed and training.data_seed are applied (#1850 by @dryn85-max in #1855). mlx-lm's batch shuffle draws from numpy's global RNG, and LoRA init and dropout draw from mx.random. Soup seeded neither, so every run of one soup.yaml trained on a different batch order, even with the seed left at the 42 the panel prints. mx.random is now seeded before the adapter is built and numpy right before training, and the MLX backend ignores: training.seed warning is gone. Runs started before this change cannot be reproduced. Try: run soup train --config soup.yaml twice with backend: mlx and compare the losses.