Skip to content

v4.6.0

Latest

Choose a tag to compare

@hjh0119 hjh0119 released this 13 Oct 13:30
· 1 commit to main since this release

v4.6.0

JEV Support (typed-decision / System-1)

  • Added the decision task type for JEV-style decision models: instead of generating text, the model returns calibrated probabilities over each question's fixed option set (choice / score / noul) in a single forward pass. (#10306)
  • Ready-to-use recipes for three released decision models — JEV-27B-VL, Clef and OmniJev — covering training, inference and LoRA merge/export. Any CausalLM can also be converted with swift sft --task_type decision.
  • Details: Decision (Best Practices) · examples

New Models

  • MiniCPM5 (1B / 2B) — LLM series with base and SFT variants, vLLM inference supported.
  • MiniCPM-V-4.7 (1B / 35B-A3B) — vision-language models with image and video support.
  • GLM-5.3-Flash — ZhipuAI GLM-5.3-Flash with vision and video support.
  • DeepSeek-V4.1-Flash — full-parameter SFT & GRPO on Megatron-SWIFT plus vLLM inference.
  • Xing4.0-29B-A4B — MLA + MoE + mHC; LoRA & full-parameter SFT (DDP / DeepSpeed ZeRO-3) with grouped_mm expert acceleration (~3.7x).
  • MonkeyOCRv2 (S / B) — OCR and document-understanding models.

New Features & Compatibility

  • Added a Moore Threads (MUSA) backend via torchada. (#10224)
  • Compatibility: transformers ≥ 5.17 kernel proxy, vLLM 0.28+ colocate weight sync / wake-up API, and TRL optional-dependency checks under Transformers 5. (#9770, #10311, #10315)
  • Updated qwen4_exp / glm5_next MTP examples with GLM-5.3 support. (#10219)

Security

  • Hardened the WebUI and rollout: fixed unauthenticated RCE and arbitrary file read, a rollout-side vulnerability, and GitHub Actions workflow injection. (#10209, #10218, #10226, #10227)
  • Authenticate before request-body deserialization; weights_only=True for Megatron checkpoint loading; download security fixes. (#10062, #10066, #10234, #10235)

Training & RL

  • Loss & gradient alignment across SP, DPO, DAPO/CISPO/FIPO and GKD/GRPO (including Liger and off-policy paths); listwise reranker and partial gradient-accumulation fixes. (#9977, #10100, #10104, #10116, #10130, #10144, #10185, #10244, #10285)
  • Megatron & parallelism: contiguous CP token order, ring-padding handling in output unpacking / packed seq_acc / MoE aux loss, mcore checkpoint metadata. (#10071, #10113, #10181, #10182, #10184, #10242)
  • Training stability: ZeRO-3 hooks after generation errors, GaLore checkpointing, LISA init and layer selection, SP sampler options, CPU-offload activation views. (#10132, #10140, #10157, #10161, #10173, #10260)
  • RLHF & rollout: colocate offload / vLLM wake-up ordering, async rollout failure propagation, IPC bucket acknowledgment, vLLM LoRA metadata and local-teacher adapters. (#10092, #10107, #10109, #10207, #10231, #10232)
  • Embedding & reranker: InfoNCE negative sampling and gradient compensation under DDP / Megatron DP, DP metric gathering, WeMM duplicate forward. (#10059, #10068, #10069, #10081, #10088, #10091, #10150)

Inference & Deployment

  • Fixed qwen-omni vLLM inference, video metadata handling after frame sampling, and video_second_per_grid tensor handling. (#10168, #10274, #10330)
  • infer: adapter-cache and async-request isolation, independent event-loop thread, streamed-request completion, worker error propagation, SSE heartbeats. (#10080, #10086, #10093, #10094, #10134, #10135, #10177)
  • Device-map memory resolution for MP+DDP; CLI list-value serialization; blank LOG_LEVEL / LOCAL_RANK handling; WebUI default port. (#10210, #10217, #10245, #10246, #10248, #10292)

Templates, Agents & Tool Calling

Data & WebUI

  • Dataset pipeline: cross-rank cache races, Arrow tool-schema fidelity, streaming packing worker detection, versioned map cache, metadata cache invalidation, media sharding. (#10083, #10121, #10125, #10159, #10160, #10162, #10297, #10298, #10301)
  • WebUI: named datasets now list their hub IDs. (#10119)
  • Model loading: Idefics3 AutoModelForImageTextToText, MiniCPM position cache under DDP, MiniCPM-o padding offsets, seq-cls metadata round-trips. (#10187, #10202, #10228, #10253)

Performance

  • Vectorized ring-attention LSE extraction and packed zigzag CP reconstruction; faster dataloader for single-rank groups; batched rollout / teacher-API metric gathering. (#10064, #10082, #10239, #10240, #10241)

Documentation

  • Added AGENTS.md and contribution guidelines (human-submitted PRs; first-time and AI-assisted contributors). (#10339, #10347)
  • Updated hardware and docker-image docs; fixed reward examples, fractional-loss-weight docs and in-page anchors. (#10067, #10118, #10170, #10172, #10188, #10233)

New Contributors

Full Changelog: v4.5.3...v4.6.0