$ the-wire · showcase
LeRobot requires explicit consent for custom processor code
By RepoJournal · Filed · About Hugging Face · Composed from the cited sources · methodology
LeRobot closed a checkpoint-driven arbitrary code execution hole in its processor pipeline, and the rest of the day is test-hardening and CI plumbing across transformers, diffusers, and the JS client.
fix(processor): require explicit consent for custom code huggingface/lerobot
A saved processor config could import any class or flip on trust_remote_code, so loading a checkpoint was enough to execute arbitrary code. Steps outside lerobot.* are now refused before import unless the caller consents, and a checkpoint can never grant that consent, including a local one.
feat(processor): add JointReorderProcessorStep huggingface/lerobot
JointReorderProcessorStep, registered as "joint_reorder_processor", indexes the last axis of named observation features and actions via x[..., indices]. That lets a pipeline remap joint order between a robot and the order a policy was trained in, like SONIC's G1 decoder, or select a subset of outputs, like a locomotion policy driving 15 of its 29 joints.
Fix Intel CPU Dockerfile: pin kernels via transformers[kernels] and drop KMP_AFFINITY (#50295) huggingface/transformers
The Intel CPU Dockerfile now installs kernels through transformers[kernels] and drops KMP_AFFINITY. The commit notes that KMP_AFFINITY=granularity=fine,compact,1,0 makes most CPU workloads 3-5x slower and unstable even when the process is already pinned with numactl.
Skip flaky Kosmos2 `test_generate_from_multimodal_encoder_outputs` (#51049) huggingface/transformers
Kosmos2ForConditionalGeneration.generate only reads pixel_values or image_embeds, so passing mm_encoder_outputs silently drops the image and the test passes only when that does not flip a greedy token, roughly 16% of runs. The flaky test is now skipped rather than fixed.
fix: Fix default RNG synchronization for ditribution huggingface/diffusers
Default RNGs are now synchronized across each parallel group so inference without an explicit generator draws matching random values on all ranks. The change also accepts different seeds, so an offset per rank is still possible; it landed alongside quantizer-free saving of dequantized weights in the same library family.
Count Strands Decider v2 downloads (decision_config.json) (#2906) huggingface/huggingface.js
Strands Decider v2 checkpoints keep their config in decision_config.json, which the download rule did not name, so those repositories went uncounted. Adding it changes nothing for v1 repositories.
Action items