Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

serve: 12 GB 카드에서 qwen35moe 기본 ctx가 슬롯당 2048이라 6K 토큰 prompt를 거부

Open
#28 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust

Research direction

Start with crates/gpu-gates/src/bin/shared/serve_seats/qwen3.rs, especially default_ctx around lines 188–265, and trace how the selected context is divided between two slots. Reproduce with the stated RTX 3060, host memory, and Qwen3.8-35B-A3B Q4_K_M setup, then compare against --parallel 1 or an explicit --ctx-size. Done when flag-free startup accepts prompts around 4K–8K tokens while respecting available memory and slot sizing.

Written by the indexing model from the issue text.

Description

bug serve

12 GB 카드(RTX 3060) + 호스트 27 GB에서 Qwen3.8-35B-A3B Q4_K_M을 플래그 없이 bloomery-serve로 띄우면 기본 ctx가 합계 4096, 슬롯 2개라 슬롯당 2048입니다. 그래서 6K 토큰 정도의 prompt가 거부됩니다. 플래그 없는 기본값이라면 4K–8K prompt는 받아야 합니다.

  • 원인: general.architecture = qwen35moe 파일은 qwen3 seat로 갑니다(crates/gpu-gates/src/bin/shared/serve_seats/qwen3.rs). placed 기본값 탐색이 floor 위에서 맞는 ctx를 찾지 못하면 floor인 CTX = 4096(167행, 236행)을 돌려줍니다. 그 합계를 슬롯 2개(945행)로 나눠 슬롯당 2048이 됩니다(899행). 슬롯당 최소값은 SLOT_CTX_MIN = 8(885행)뿐입니다.
  • 우회: --parallel 1 또는 --ctx-size를 직접 지정.
  • 고칠 곳: qwen3.rs의 default_ctx(188–265행 부근). 슬롯당 floor를 두거나, room이 모자라면 슬롯 수를 줄이는 쪽이 후보입니다.

메인테이너가 고칩니다. 같은 증상을 겪으셨으면 머신 사양과 함께 댓글로 알려 주세요.

Dominant language
Rust
Stars
21
Forks
4
Avg merge
3h 52m
Merged PRs (30d)
134

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from midagedev/bloomery

All issues in midagedev/bloomery

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.