Skip to content

List Qwen3.6-35B as CUDA-only in Web - #3738

Merged
ashhart merged 6 commits into
ashhart:mainfrom
AIflow-Labs:codex/qwen35b-web-backend
Nov 21, 2026
Merged

ashhart merged 6 commits into
ashhart:mainfrom
AIflow-Labs:codex/qwen35b-web-backend

Conversation

@AIFlowML

@AIFlowML AIFlowML commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

List TensorFold/Qwen3.6-35B-A3B-MLX-4bit-MTP as CUDA-only in Web while native Metal qualification proceeds in #3239. The catalog excludes it from Mac recommendations, and a direct Web Start request on a Mac returns HTTP 409 with the CUDA requirement before it can select or start an engine. The Unreleased changelog entry ends with (#3738).

Checks on this head

  • Head commit 37073f5bdda581c80e654bc335c474b8c1c8783f.
  • Lean checker python3 tools/zig/lean_check.py reported 221 inherited findings on both base and head, zero new.
  • Tests run
    • pytest -q tests/test_qwen35b_catalog.py from web/ passed all three cases. With the catalog-only change, both Mac cases failed at the Start route and the CUDA control passed. On the revised head, the Mac cases pass with and without Python 0.6.6, and the CUDA case selects native.
    • On Apple M5 Max with native 1.2.9 and Python 0.6.6/MLX installed, the real catalog returned CUDA-only and excluded the checkpoint from recommendations. The Start route returned HTTP 409 before calling the engine. The dense Qwen 27B entry remained runnable and native.
    • On Linux x86-64 with an RTX 5090 Laptop GPU (SM 12.0) and native 1.2.9, the focused suite passed 3/3. An isolated Web API check used actual GPU detection and native capabilities: the catalog marked the 35B checkpoint runnable and native, and HTTP Start selected the installed binary and built its native serve command. The check intercepted process launch and the existing server stayed up.
    • Full Web suite on Python 3.12 passed 459 tests, with one inherited failure and one Linux-only systemd skip on macOS. With the independent version fix Check the packaged Web version on native release bumps #3745 and changelog guard Make the Web startup test independent of warm-up timing #3753 composed in a temporary tree, the suite passed 460 tests with zero failures and one systemd skip on each of Python 3.11 and 3.12.
    • Web UI npm test passed 35/35 and npm run build succeeded.
    • zig build test test-golden -Dcpu=apple_m1 --summary all succeeded on the M5 Max with Zig 0.17.0, 890/890 build steps, 435 executed tests passed and 15 skipped. Both server golden groups had zero unexpected differences (55/55 and 322/335 equal, with 13 known differences).
    • Ruff, zig fmt --check build.zig zig, git diff --check upstream/main...HEAD and python3 tools/pr_check.py --base upstream/main --pr 3738 passed.
  • CI Hosted Python 3.11 on this head reproduced the inherited stand-in version mismatch (Web stand-in still reports 1.2.4 after native version bumps #3739): 459 passed, one failed and one skipped. The assertion sees 1.2.4 where it expects 1.2.9. The independent fix is Check the packaged Web version on native release bumps #3745. Eleven other checks passed and the two nightly jobs were skipped. Hosted Python 3.12 was cancelled.
  • Not run, and why Checkpoint load or generation, older Mac targets, HIP and Windows. This is a Web eligibility change. The hardware checks cover the launch decision on Metal and CUDA.

Current-main integration check

Tested local merge 1a2e343e922caf326382298c6e19972631536c45 on upstream 144964f8dcee8e569c1570f8cbc33305d4d48ea8 with the five open AIFlowML heads. The Web matrix passed 500 cases and skipped one on each of Python 3.11 and 3.12 on the M5 Max. Both runs failed the same stand-in version assertion on the newer 1.3.0 development tree, which still packages 1.2.10. The isolated assertion also fails on untouched main. The original 1.2.4 vs. 1.2.9 mismatch was corrected by #3745. Current version regression.

Receipt

n/a. The change runs before model launch and leaves GPU execution and inference code untouched.

Checklist

  • The title and description match the head commit, including the receipt and the stack.
  • New tests fail before the change, pass after it, and run without a local engine or checkpoint.
  • Comments and docstrings are one line. No measurements or history in the source.
  • No personal data, machine names, internal hosts or local paths in the diff or its commits. No AI attribution lines.

Igor Lessio - AIFLOW LABS

@AIFlowML

Copy link
Copy Markdown
Contributor Author

The Python 3.12 job confirmed the inherited 1.2.4 vs. 1.2.9 stand-in version failure noted in the test receipt. The same assertion fails on untouched main. The independent fix is #3745; its local Python 3.11 and 3.12 suites passed. The version regression and all three routing regressions also passed on a local merge of the two PR heads. No code in this PR changed.

Igor Lessio - AIFLOW LABS

@ashhart

ashhart commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Thanks @AIFlowML for picking up #3710 so quickly. Marking this checkpoint as CUDA-only on the native side is right: main's Metal engine serves qwen3_5_moe only at Ornith-1.5-122B's shape, which is why it refuses with UnqualifiedQwenShape.

One change before it lands: please don't route Mac users to the Python engine (0.6.6) for it. That engine is no longer where we point people, and its output isn't checked against the native engine. Listing the model as "backends": ["cuda"] in web/tensorfold_web/data/catalog.json until native Metal qualifies it (#3239 is working on that) keeps Macs from recommending it at all. If you keep native_backends, make sure catalog.py and Models.tsx don't suggest installing 0.6.6 on a Mac.

Please also add a CHANGELOG line under ## Unreleased ending with (#3738).

  • Synthena

@AIFlowML AIFlowML changed the title Route Qwen3.6-35B to the Python engine on Macs List Qwen3.6-35B as CUDA-only in Web Nov 18, 2026
@AIFlowML

AIFlowML commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Thanks, Ash. The Web catalog now lists the 35B checkpoint as CUDA-only, and the Start route returns the CUDA requirement before launch on a Mac, even with Python 0.6.6 installed. I added the Unreleased entry ending in (#3738). Native Metal qualification stays with #3239.

I verified the refusal on an M5 Max and checked the other side on an RTX 5090 Laptop GPU. Web detected CUDA and built the native 1.2.9 serve command for this checkpoint. Both hardware checks stopped at the launch boundary. All three regression cases passed.

Rechecked 37073f5bd against 37fa51d23. The trial merge was clean and all three catalog and Start regressions passed on M5 Max with uv run --frozen --extra dev pytest -q tests/test_qwen35b_catalog.py from web/. The stand-in version check failed identically on main and the trial merge (packaged 1.3.0 versus manifest 1.3.2). In the scratch trial, running node scripts/sync-theme.mjs from web/ui/ after npm ci regenerated only the version file and all four focused tests passed.

Igor Lessio - AIFLOW LABS

@ashhart

ashhart commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Thanks @AIFlowML. Both asks are resolved at this head:

  • No Python route on a Mac: catalog.json now lists the 35B as "backends": ["cuda"]. The start route refuses on a machine without CUDA before anything launches (server_engine_control.py), so no Mac is pointed at 0.6.6. The new test_qwen35b_catalog.py checks the Mac case, with and without Python installed, and the CUDA case. The dense 27B stays native.
  • The CHANGELOG line is under ## Unreleased, ending with (List Qwen3.6-35B as CUDA-only in Web #3738).

It applies to current main as it is. Nothing more from us. The stale-version failure in the Python job is the one #3745 fixes.

The red Python job is the Web version check that #3745 fixes; this change doesn't cause it.

  • Synthena

ashhart and others added 6 commits November 21, 2026 04:52
The Metal engine advertises the Qwen MoE family and format but does not admit this checkpoint. Use the documented Python line on Macs and retain native CUDA selection. Keep the catalog, context estimates, and launcher on the same policy.

Refs ashhart#3710
@ashhart
ashhart force-pushed the codex/qwen35b-web-backend branch from 37073f5 to d8bfb59 Compare November 21, 2026 04:53
@ashhart
ashhart merged commit 3541f03 into ashhart:main Nov 21, 2026
3 of 15 checks passed
@ashhart

ashhart commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Thank you @AIFlowML. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes.

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.

2 participants