Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

feature/qwen35 (DeltaNet) rehab checklist before it can merge

Đang mở
#235 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
kotlin
Lĩnh vực
backend

Hướng nghiên cứu

Start by reviewing the five commits on feature/qwen35, especially Qwen35Runtime.kt and Qwen35RuntimeTest.kt; the tests use a tiny synthetic model and cover the DeltaNet implementation. Then assess the checklist against current develop, including the loader rename, smoke test conflicts, engine 0.36.0, and transformer-core changes. Done means the branch is rebased, builds and passes verification against the current engine, and its diagnostic prints and conflicts are resolved.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

feature/qwen35 (5637da3, 5 commits) adds a Qwen3.5 hybrid runtime — Qwen35Runtime.kt (+637) interleaving Gated-DeltaNet (SSM) layers with full-attention layers — plus a Qwen byte-level BPE tokenizer, the Qwen3.5 chat template, and tool-call parsing. ~2,440 insertions across 20 files.

The work is genuinely valuable and shouldn't be lost. Commit 4af7e99 documents a real debugging arc, enumerating 9 specific DeltaNet bugs fixed by cross-referencing llama.cpp and the NVlabs GatedDeltaNet reference (3-way QKV split, channel-major conv1d indexing, delta-rule recurrence, softplus(alpha+dt_bias)*ssm_a decay, per-head L2 norm, Q/K head repetition 16→32, output path order, sigmoid gate). Qwen35RuntimeTest.kt (+365) covers these with 11 unit tests on a tiny synthetic model (dim=16, 4 layers, vocab=8) needing no GGUF — that test suite is the branch's real asset.

But it is not mergeable as-is. Newest commit is 2026-04-11 (~97 days old) and it sits 473 commits behind develop.

Checklist
  • Rebase from 473 behind. Merge-base is 545f06a (2026-04-21).
  • Re-verify against engine 0.36.0. The branch was written against engine 0.19.1 — 17 minor versions back. It has never been built against the current engine.
  • Strip 24 diagnostic printlns. Commit 33efe46 is explicitly titled "add init-time dimensional validation and diagnostic prints". Residue in Qwen35Runtime.kt init includes println("Qwen35Runtime: dim=$dim nHeads=$nHeads ..."), println(" ssmQkvDim=... headRatio=..."), println(" GGUF shapes: attn_qkv=$qkvShape ..."), println(" matmul convention: ..."). Some other printlns are legitimate CLI/demo output — check case by case.
  • Resolve the rename collision. The branch edits llm-inference/llama/.../LlamaWeightLoader.kt (±114); develop has renamed it to DecoderGgufWeightLoader.kt. This is a rename/edit conflict git will not resolve cleanly.
  • tests/smoke/SMOKE-TEST.md is deleted on develop — the branch modifies it (modify/delete conflict).
  • tests/smoke/smoke-models.json and llm-runtime/kllama/.../cli/Main.kt also conflict (content).
  • Also verify transformer-core interplay — the branch predates the transformer-core module entirely (added 7c8e4c8, 2026-07-03).
Notes
  • Conflict surface is small (4 conflicts, 8 overlapping files) — the risk is staleness and the engine gap, not merge mechanics.
  • Purely additive API-wise: zero removed public declarations.
  • Explicitly out of scope for 0.36.1, which ships BGE embeddings + vec2text beam search only.
Ngôn ngữ chính
Kotlin
Star
8
Fork
3
Merge trung bình
1 ngày 16 giờ
Pull request đã merge (30 ngày)
48

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của SKaiNET-developers/SKaiNET-transformers

Tất cả issue của SKaiNET-developers/SKaiNET-transformers

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.