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

[gemma3n] Split into its own family module + conformance (postponed)

Đang mở
#377 2 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ái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
kotlin
Lĩnh vực
backend, machine-learning

Hướng nghiên cứu

Read #346 for the module split template and #374 for the Gemma sweep that leaves Gemma 3n untouched. The issue names llm-inference/gemma, Gemma3nIngestion, and the kgemma CLI as the current code and consumer; begin by tracing that consumer and the Gemma3n* runtime, loader, and cache. Done means the family is split into the named modules, the DSL or hand-rolled runtime approach is decided, packed loading works, and the maturity gate passes.

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

Mô tả

Postponed marker (like qwen's #352 lane) — descoped from the llama+gemma conformance release by decision.

Gemma 3n is effectively its own family living inside llm-inference/gemma: hand-rolled Gemma3nRuntime/Gemma3nAttentionBackend/Gemma3nKvCache (never touches gemmaNetwork()), own loaders, AltUp/ActivationSparsity ops — ~2000 LOC with exactly one external consumer (Gemma3nIngestion → kgemma CLI). Its engine delegation still has the defect fixed for gemma4: Gemma3nWeightLoader forces token_embd → GEMMA_DEQUANTIZE_ALL and Gemma3nLoadConfig dequantizes the whole model because the hand-rolled runtime can't consume packed tensors. Maturity gate: 0/5.

When picked up:

  • Move Gemma3n* + AltUp + ActivationSparsity + the gemma-module AttentionBackend into llm-inference/gemma3n (+ llm-runtime/kgemma3n facade), per the #346 template — mechanical, one consumer
  • Decide DSL migration vs documented Option-B hand-rolled runtime (AltUp/PLE/sparsity are the DSL-expressibility question)
  • Packed loading (kill the dense-FP32-everything default)
  • Maturity gate (golden parity, model-gated smoke, entry-point parity)

Refs: #346, #374 (the gemma sweep that leaves 3n untouched).

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.