Skip to content
View peterzhang987723's full-sized avatar

Block or report peterzhang987723

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
peterzhang987723/README.md

Shoufa Zhang

AI Systems & Autonomous Agent Researcher
LLM Inference Kernels (vLLM / DeepSeek-V4) · Post-Training RL Infra (AReaL) · Multi-Agent & RAG Systems (AgentScope / OpenViking) · Self-Evolving Agent Eval (OpenEvolve / AgentDojo)

Engineering notes in English and Chinese · 中文工程实测手记

ORCID Zenodo Hugging Face vLLM PRs AReaL PR #1981 AgentScope PRs

Impact on the AI infrastructure ecosystem: 242k+ stars, 3.19M monthly downloads, 41k+ forks, 4 merged PRs, vLLM draft acceptance 1.00 to 2.88, AReaL 39.9x tree-attention speedup

Impact at a Glance

35 upstream PRs across 13 AI infrastructure projects · 4 merged · 27 open (26 under review, 1 draft). The merged projects together have 242k+ GitHub stars, ~3.19M PyPI downloads/month (vLLM + OpenViking) and 41k+ forks. They sit on consecutive layers of the AI application stack: knowledge retrieval (RAGFlow) → agent memory (OpenViking) → evolutionary evaluation integrity (OpenEvolve) → model inference serving (vLLM), alongside active post-training RL optimization (AReaL / verl).

Merged PR Project scale Problem → Measured result
OpenEvolve #625 · Nov 28 ⭐ 7.9k · 1.2k forks Python bool flags (timeout=True, combined_score=True) and NaN/Inf were silently scored as finite fitness values—letting timed-out runs emit "Improvement in all metrics" / "Excellent timeout (1.000)" and bypass threshold/champion gates. Hardened 8 core runtime modules with finite-numeric guards + 276-line regression suite (4/4 CI green, merged in <13h).
vLLM #65647 · Nov 19 ⭐ 97.4k · 25.2k forks · ~2.76M downloads/month DeepSeek-V4 DSpark draft layers received FP8 with uninitialized scales, giving 0% draft acceptance and invalid output (#65618). After the fix, independent validation on 8× AMD MI308X reported mean acceptance length 1.00 → 2.88 and 99% GSM8K (100 samples). One fix covers AMD ROCm, NVIDIA CUDA and Intel XPU (5 model entry points, 7 new tests).
OpenViking #7865 · Nov 18 ⭐ 42.6k · ~423k downloads/month Malformed OKF frontmatter was written silently and compile still reported completed with warnings=[] (#7844). Now rejected before write, so the agent can self-correct and unrecovered failures surface in warnings (49 related tests passing).
RAGFlow #21997 · Nov 13 ⭐ 94.6k · 11.4k forks macOS dev setup failed validation and aborted (#21975). macOS now builds without bundled libc++, and linker caches stay consistent across concurrent or interrupted builds.

Scale figures describe each whole project, not the contribution of a single PR. Sources: GitHub and PyPI Stats, November 28, 2026.


Selected Highlights

  • DeepSeek-V4 Speculative Decoding, MLA Workspace & MTP Kernels in vllm-project/vllm (⭐ 97.4k)

    • Merged #65647 (Fixes #65618): Add packed-module mappings for DSpark DeepSeek-V4/V4.1 draft models across AMD ROCm, NVIDIA CUDA, and Intel XPU. Independent validation on 8× AMD Instinct MI308X (gfx942, TP8+EP8) reported mean acceptance length 1.00 → 2.88 on the short prompt and 99% GSM8K on 100 samples. After incorporating upstream fix #66994, the NVIDIA H200 Unlimited-OCR-2 job and all three ARM CPU test shards passed on 69fe7f61 (Buildkite #101786). On November 13, the required Buildkite CI passed on head c155a221 (Buildkite #102428: 203/204 jobs finished, no hard failures). Merged on November 19, 2026.
    • #66431 · #66283 · #66282 · #66279: SWA decode gather workspace reservation for Dots3Note MLA, KV-only RoPE context insertion for DSpark MLA, DeepSeek-V4 Multi-Token Prediction (MTP) quantization alignment, and bidirectional image token prefill for DiffusionGemma (all mergeable with conflicts resolved; awaiting upstream /ci run).
  • Zero-Copy Run-Based Prefix Trie for Tree-Attention in areal-project/AReaL (⭐ 5.9k)

    • Open #1981 (Closes #1909, CI Green): Replaced per-token _BuildNode trie construction in areal/models/tree_attn/tree.py with single-transfer zero-copy 1D NumPy slice views (_extract_sequences) and a compressed _RunNode / _TrieBuilder reusing match() traversal state. On CPU (torch==2.10.0, numpy==2.3.5, 5-run median with tracemalloc), achieved 39.9× speedup on tau2_like (3501.2 ms → 87.6 ms, peak traced memory 170.1 → 14.6 MiB, -91%) and 27.3× speedup on grpo_32x16 (4340.1 ms → 159.2 ms, 300.4 → 45.5 MiB, -85%), verified with bit-for-bit structural equivalence and randomized multi-tree fuzz tests (7 passed). All 5 active GitHub Actions CI checks passed (pre-commit, macOS/Ubuntu Python 3.12, Linux CUDA sglang/vllm install tests) on November 23, 2026.
  • Ascend NPU GDN & Gemma 4 Diffusion Quantization in sgl-project/sglang (⭐ 38.9k)

    • Open #50515 (Fixes #50487): Auto-default mamba_ssm_dtype to bfloat16 for GDN hybrid models on non-arch35 Ascend NPUs (e.g., Ascend 910B) to prevent FP32 initial_state runtime failures; PR title check passed, awaiting run-ci.
    • Open #49211: Gemma 4 diffusion FP8 / NVFP4 quantized checkpoint support. Independent Linux CPU verification at fddafe37c188 passed all 24 diffusion and renoise tests (Test log).
  • RL Rollout Capture, Multi-Tenant Vector Isolation & SSE Resiliency in agentscope-ai/agentscope (⭐ 36.5k)

    • Open #4209 (Fixes #4210): Added opt-in, zero-dependency TrajectoryMiddleware (src/agentscope/middleware/_trajectory/) capturing structured multi-step RLVR/eval rollouts, CompactionRecord boundaries (to_training_segments()), OpenAI chat exports, and ContextVar-scoped async verifier hooks (79 middleware/tracing tests passing locally; on-push CI green).
    • Open #3854 (Fixes #3855): Propagated message bus subscription failures and eliminated 5-second startup hangs and silent mid-stream truncations in session SSE event streams.
    • Open #3852 (Fixes #3475, updated Nov 21): Prevented cross-tenant chunk overwrites when scoped KnowledgeBase instances share a collection with overlapping document_ids; designed collision-free _record_identity_key derivation across Qdrant, MilvusLite, Elasticsearch, and MongoDB.
    • Closed #3850: Submitted a fix for a ReMe startup crash on reme-ai >= 0.4.1.12. Closed as duplicate; the prior claimant's #3851 was merged.
  • Proactive Ticket State-Machine & Policy Hardening in deepseek-ai/dsh-superagent-prototype

    • 6a243fe (diff): Fixed phantom delivered: true state on refused waiting inputs in Tickets.refuse(), excluded human-stopped tickets from thread follow-up admission in participating(), and enabled @agent mention detection in GitHub issue titles (512/512 Vitest tests passing).
  • Self-Evolving Agent Metric Integrity in algorithmicsuperintelligence/openevolve (⭐ 7.9k)

    • Merged #625 (Nov 28, <13h to merge): Guarded Python bool flags (timeout=True, combined_score=True) and NaN/Inf values across 8 core runtime modules (metrics_utils, evaluator, evolution_trace, coevolution, process_parallel, prompt/sampler, database, api/cli) plus a 276-line regression suite (4/4 CI green), blocking silent reward spoofing and false-positive champion selection.
    • Open #626 (4/4 CI green): Warns on oversized seed programs exceeding max_code_length and handles inner code fences in parse_full_rewrite.
  • Benchmark Evaluation Soundness (ETH Zurich AgentDojo) & Journal Research


Additional Upstream Contributions

  • infiniflow/ragflow (⭐ 94.6k) — Merged #21997 (Fixes #21975; merge commit 8e50a3e9, November 13, 2026): Validate PDFium archives by platform so macOS no longer requires bundled libc++, relink when archive contents change, and keep linker caches safe through concurrent builds and interruptions.
  • volcengine/OpenViking (⭐ 42.6k) — Merged #7865 (Fixes #7844, November 18, 2026): validate OKF YAML frontmatter before writing compiled pages. Follow-up #7997 adds 3 dedicated regression tests on rejected incremental compile writes (52 tests passing, cleanly rebased on #7813). Open #6997 (Fixes #6922, #6923), #7000, and #7457 cover memory tool enforcement, skill metadata preservation, and MCP session attribution docs.
  • verl-project/verl — Open #8885 (seqlen_balancing: handle non-contiguous UIDs, zero-token masks, and uneven lengths) & #8886 (math_reward: handle \fbox, mixed \boxed spacing, and multiple units; CLA & CodeRabbit checks passing).
  • gepa-ai/gepa (⭐ 7.5k · ~10.9M PyPI downloads/month) — Open #582 (Fixes #316): Exclude cached evaluation hits from max_metric_calls stopping budget by default via GEPAState.increment_evals(count, *, cached=0) with backwards-compatible opt-in (857 tests passing locally).
  • OpenHands/software-agent-sdk (~3.44M PyPI downloads/month) — Open #6831 (Fixes #6809; maintainer labeled ready-for-dev & Validate PR description green — retry _warm_npx_cache online and surface npm stderr; 502 tests passing), #6832 (Fixes #6808 — disable redirects and pin job base URL on MCP OAuth callback forwarding), and Draft #6463 (#6376).
  • QwenLM/Qwen-Agent (⭐ 17.3k) — Open #1031: Assign unique tool_call IDs for parallel tool calls in OpenAI format (Fixes #1029; Approved, clean merge status). A community review reported five passing regression tests and checked five additional input scenarios.
  • SWE-bench/SWE-bench (⭐ 6.2k · ~15.6M PyPI downloads/month) — Open #712 (Fixes #708) · #719: Prevent printed PASSED stdout lines from overwriting pytest FAILED status, and unwind nested/sibling describe indentation stacks in Karma log parsers.
  • NousResearch/hermes-agent (⭐ 265.5k) — Open #148791 (Fixes #148726, updated Nov 21 to config-only terminal.ssh_sync_files) · #148809 (Fixes #148702) · #148811: SSH file-sync config toggle, per-request background review/title opt-outs, and recovery of intact skill-usage telemetry from partially corrupt ledgers.

Open-Source Systems

  • SeekMorph — Hybrid AI search, personalized reranking, pre-retrieval RBAC/ACL tenant filtering, and ProactiveTicketRuntime governance engine.
  • DocMorph — Structure-aware multi-format document parser (.md, .html, .csv, .tsv, .json, .txt) with cross-chunk table-header preservation and Reciprocal Rank Fusion (RRF).

Popular repositories Loading

  1. SeekMorph SeekMorph Public

    Hybrid AI search, personalized recommendation reranking (BM25 + Dense RRF + User Profile/CTR + Recency Decay), and ACL-scoped enterprise knowledge base engine.

    Python 1

  2. DocMorph DocMorph Public

    Structure-aware document chunking, table-header preservation, and persistent hybrid BM25/vector retrieval for AI Agents.

    Python 1

  3. OpenViking OpenViking Public

    Forked from volcengine/OpenViking

    Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

    Python 1

  4. Qwen-Agent Qwen-Agent Public

    Forked from QwenLM/Qwen-Agent

    Agent framework and applications built upon Qwen>=3.0, featuring Function Calling, MCP, Code Interpreter, RAG, Chrome extension, etc.

    Python 1

  5. vllm vllm Public

    Forked from vllm-project/vllm

    A high-throughput and memory-efficient inference and serving engine for LLMs

    Python 1 1

  6. ragflow ragflow Public

    Forked from infiniflow/ragflow

    RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

    Go 1