When you fine-tune a chat model on a small GPU, one of the quietest failure modes is a row that never trains.
streamft builds the loss mask from the chat template: the prompt tokens are masked with -100 and only the assistant continuation is trained. If the prompt is not an exact prefix of the templated row, the mask would cover nothing, so the row is dropped instead of training on the prompt itself.
Until 1.2.1 the message blamed every drop on a template mismatch:
[sft] 48/130 rows dropped: the prompt is not an exact prefix of the templated row
Enter fullscreen mode
Exit fullscreen mode
That is misleading. On a 130-row multi-turn tool-use dataset at --seq 512 , the measured reason was different: 46 rows needed 768 tokens and 2 needed 1024. All 48 were truncated , not broken templates.…