$ the-wire · showcase
PEFT drops old Torch and Transformers, dataset-viewer fixes its rows OOM
By RepoJournal · Filed · About Hugging Face · Composed from the cited sources · methodology
PEFT v1.0 cuts the floor to Transformers 5.6 and PyTorch 2.6 while deprecating three quantization backends, and dataset-viewer attacks its persistent rows-pod OOMs with a pyarrow bump and a real scan-wide memory limit.
fix(deps): bump pyarrow to 26.0.1 to fix the slow to_pylist on wide nested schemas huggingface/dataset-viewer
Bumping pyarrow from 24.0.0 to 26.0.1 fixes the slow `to_pylist` on wide nested schemas: on `pwc-archive/evaluation-tables`, whose schema carries 9,167 leaf fields and a struct of 3,134 metric columns, one page of 100 rows took 405 s and 9.7 GiB RSS under pyarrow 24 and OOM-killed the rows pods. The same page replays far cheaper on 26.0.1, and the type ignores that pyarrow 26 made unused are dr...
CHORE: Deprecate old transformers, torch, some clean ups huggingface/peft
PEFT v1.0 removes support for Transformers < 5.6 and PyTorch < 2.6, which lets the backwards-compatibility scaffolding go; proper TP support in PEFT needs the newer Transformers anyway. The same PR cleans up the remaining LoRA-FA omissions and removes debug code from CI.
fix(libviewer): check the scan size limit on all the files of a scan before reading huggingface/dataset-viewer
The scan size limit (`rowsIndex.maxArrowDataInMemory`, 300 MB in prod) was applied per file, not per scan, and `Dataset::scan` read every file of a page in parallel, so a split of many small files with large rows loaded many times the limit. The check now runs across all files before reading.
Implement MOPD for the `DistillationTrainer` huggingface/trl
`DistillationTrainer` accepts multi-teacher on-policy distillation: `teacher_model` and `teacher_model_name_or_path` take a dict from teacher ID to teacher, and each example's `teacher_id` column picks which teacher scores its completion, with `teacher_model_init_kwargs` mapping each ID to its loading kwargs.
feat(rows): log the in-flight requests when the pod memory gets close to its limit huggingface/dataset-viewer
rows pods still climb to 8-9 GiB of a 12 GiB limit and get OOM-killed (one in the 20 minutes after `sha-067be9b`, against roughly one a minute before), so a per-worker watchdog now logs the in-flight requests once the cgroup `memory.current` passes a threshold. The long tail: TRL added `assistant_only_loss` training templates for Gemma 4, GLM-4.7 through GLM-5.3 and Qwen3-Coder, `yarn_get_mscal...
Action items
- → Upgrade to Transformers 5.6 or later and PyTorch 2.6 or later before adopting PEFT v1.0 huggingface/peft [plan]
- → Replace HQQ, AQLM or EETQ configs in PEFT (migration guidance points to bitsandbytes) before their removal in v1.2 huggingface/peft [plan]