Skip to content

Fix CI: DeepSeek-V3 test config and serve without uvicorn - #2

Merged
akanyaani merged 1 commit into
mainfrom
fix-ci
Oct 23, 2026
Merged

akanyaani merged 1 commit into
mainfrom
fix-ci

Conversation

@akanyaani

Copy link
Copy Markdown
Contributor

CI failed on main after #1 with two test-side issues:

  • test_zoo[deepseek_v3]: the tiny config gave DeepSeek-V3 2 key/value heads, but multi-head latent attention uses as many key/value heads as query heads. Linux's CPU SDPA rejected it (macOS didn't), so the test now uses 4.
  • test_serve_command_reports_unsupported_backend: serve imported uvicorn before loading the model, and CI's dev extra has no uvicorn. serve now loads and checks the model first, and dev includes uvicorn.

Verified on Linux (Python 3.12, torch 2.14.1, uvicorn not installed): zoo and vLLM-backend tests pass (55). The full suite passes locally (263).

- tests: the tiny DeepSeek-V3 uses as many key/value heads as query
  heads, as multi-head latent attention does (Linux CPU SDPA rejected 2).
- serve loads and checks the model before importing uvicorn, so model
  errors such as UnsupportedBackend come first; dev installs uvicorn.
@akanyaani
akanyaani merged commit c264e9c into main Oct 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant