Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.
Python cliconsumer-gpudpofine-tuningggufhuggingfacellmllmopslocal-ailocal-llmloralow-vrammachine-learningollamapeftpythonpytorchqlorasfttransformers
- KL calibration probability calculation now uses numerically stable log-softmax without artificial flooring (#1772 by @here-2007 in #1780).
eval.calibrate.kl_divergencepreviously floored candidate probabilities at1e-12before taking logarithms, which truncated large logit divergences (gaps > ~27.6) and causedrun_calibrationto returnMINORwhen the actual divergence exceeded the documentedMAJORthreshold (>= 0.20). KL divergence is now evaluated directly using stable log-probabilities via_log_softmax, preserving monotonic scaling for large divergence gaps without underestimating quant-calibration deltas.