Skip to content

[Ascend][RFC] Mainline Capability Adaptation Checklist (Phase 1 + Phase 2) #279

Description

@CalvinXKY

Summary

This RFC tracks the Ascend mainline (ascend branch) capability adaptation checklist for Vime.

  • Phase 1 - basic capability adaptation: reproducible images, accuracy-gated training modes, and platform capabilities that must be validated before scaling to MoE, multi-node, multimodal, and agentic workloads.
  • Phase 2 - expansion and hardening: CI guards, performance, mainline feature parity, broader model coverage, advanced features, and new Ascend hardware.

This checklist does not replace the broader Ascend roadmaps. It focuses on what must be hardened on the protected Ascend mainline.

Closed items below are annotated with the primary merged PR(s) that landed the work (where applicable).

Related RFCs

Background

The ascend branch is now the protected Ascend mainline. Two foundational merges have landed:

  • #266 - Dockerfile.npu + docker/npu_patch/: reproducible NPU image build and colocate patches (Merged)
  • #267 - Rebuild ascend on NPU implementation: training/rollout backend, weight transfer, NPU attention, scripts, unit tests (Merged)

Implication: further changes land on a protected branch under review policy (see below). This issue tracks what must be validated and hardened on top of #266 / #267.

Relationship to upstream RFCs

  • [Ascend][RFC] vime-ascend Build and Roadmap #243 - vime-ascend ecosystem roadmap (A2/A3/A5, TQ, R3, P2P, multimodal/MoE, agentic). This checklist covers a subset: infrastructure + acceptance gates + Phase-2 expansion.
  • [RFC] NPU support roadmap. #51 - NPU support matrix (images, weight transfer, parallelism, VLM, R3, agentic). This checklist covers the subset required for mainline basic capabilities and Phase-2 follow-ups.

Global Acceptance Gate

Every item below must run successfully and meet accuracy / alignment requirements:

  • Logprob alignment: logprob diff / KL within agreed thresholds; no spikes
  • Reproducibility: fixed seed + fixed data subset -> reward / loss reproducible
  • Checkpointing: save -> load -> resume -> metrics continuous
  • Weight sync: after IPC (colocate) or HCCL (non-colocate) sync, rollout logprob matches training forward

Merge policy (ascend protected branch)

  • Large PRs: merge via review meeting
  • Small PRs: >=2 reviewers required

Phase 1 - Basic Capability Adaptation

Core Capabilities (Mainline Prerequisites)

Ascend Platform Capabilities

Model: Qwen3-30B-A3B (MoE)

TQ (Training Quality) - GPU / NPU Alignment

  • GPU baseline - same config + data subset; metrics archived - @miracle0517
  • NPU alignment - same seed vs GPU baseline; diff / reward within tolerance - @miracle0517

Scale-up (after multi-node + multimodal are ready):

  • Cluster size: >2 nodes
  • Dataset: production-scale volume
  • Deliverable: full training guide / reference recipe

Agentic Workloads (@Fulin-Gao, @momo609)

Phase 1 Suggested Dependencies

#266 / #267 merged (protected ascend mainline)
  -> Reproducible image validation (no runtime patching) OK
  -> Qwen3-4B non-colocate / colocate OK
  -> Accuracy gates (save-resume, weight sync)
  -> Qwen3-30B-A3B MoE OK -> Multi-node / R3 OK -> Multimodal -> Agentic -> TQ at scale

Phase 1 One-Page Checklist

  • Reproducible image build - #266
  • Qwen3-4B non-colocate - #212 / #267 / #275
  • Qwen3-4B colocate - #285
  • Qwen3-30B-A3B - #254 / #269 / #323
  • Save / resume - #366
  • R3 - #49 / #292
  • Multi-node 2x8 - #323 / #322 / #68
  • Multimodal - #314
  • A5 hardware validation
  • CI tests + CI check adjustments - #282 / #316 / #349 / #361
  • TQ: GPU baseline + NPU alignment
  • ReTool - #333
  • tau-bench - #297
  • Search-R1 - #311
  • Search Agent - #311
  • Multi-Agent - #298
  • Coding-Agent SWE
  • SWE-style on Modal
  • RLinf
  • Qwen3-VL Geo3K multi-turn - #314 / #341
  • Fully-async - #368

Phase 2 - Expansion and Hardening

Phase 1 basic mainline adaptation is largely complete. Phase 2 focuses on CI guards, performance, mainline feature parity, broader model coverage, advanced features, and new Ascend SKUs.

CI Guards

  • Colocate mode: function + accuracy CI (colocate smoke + accuracy gate; build on #285)
  • Expand CI model coverage (Qwen3.5 / GLM) @Fulin-Gao
  • Image-build CI (patch protection): Dockerfile.npu + docker/npu_patch/ apply cleanly; build fails on missing / broken patches - #361

Performance Optimization

Mainline Feature Sync

Model Support

Feature Support

New Hardware Support

  • A5 - Qwen3
  • A5 - low precision

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

RFCProposal requiring discussion & approval before implementation.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions