ling32: MTP is on by default on Intel (SYCL_MTP_VERIFIED = True): --mtp-auto plus the adaptive controller, like every other backend

Evidence scope (L32-SYCL, 2026-12-03; keep this wording):
- verified on Intel: greedy spec == plain on the REAL model once (Arc Pro B70, tier C, chat_1, 30 tokens, forced K=4: ids identical, drafted 40 accepted 21), plus the A750 fixture legs (spec tier A / B / C
  including spans; the mtp_tier, spec_span, mtp_auto and kv_grow regressions pass).
- NOT verified: long outputs and more prompts with spec on; tier B on a RAM-rich B70 (the only place the controller will turn spec on: on the 32 GB-RAM devcloud2 box, tier C, a 5-row verify costs 233 ms against
  72.7 ms plain, and forced spec is slower there, 15.5 against 18.6 tok/s, so `auto` runs plain).
- So `auto` is safe in the sense that it falls back to plain wherever spec does not pay.  Coordinator decision: keep True; L32-SYCL runs 5+ prompts x 200 tokens at K=4 on the B70 by 10:00; if any prompt
  differs, flip it back to False before the 12:00 freeze (one word + the tests).

Tests: the Intel install writes the sidecar with mode auto; the "starts without MTP" notice is gone (shown again with the switch off).
This commit is contained in:
Niko1221 committed 2026-12-03 02:34:16 +01:00
1 parent 9dc46d3269
commit 18e2871647
3 files changed
+12 -4

No files matched your search

+4 -2
View File
@@ -120,8 +120,10 @@ def with_pixel_cap(args, backend, planned_device: str | None = None, engine_visi
#: Battlemage (bmg_g31 ahead of time) and Alchemist (acm_g10) and carries SPIR-V that any Intel GPU compiles at the first start (the first start is slower). Anything else: "unverified".
SYCL_TESTED = ("b70",)
SYCL_BUILT_FOR = ("a750", "a770", "a580", "a380", "b580", "b570", "b60", "b50")
#: MTP on the Intel engine: ported, its accept kernel passes, the real sidecar was not run there yet. False: an Intel card starts without MTP unless `--mtp on` is given.
SYCL_MTP_VERIFIED = False
#: MTP on the Intel engine: verified (L32-SYCL's forced B70 gate, 2026-12-03: draft ids identical 30/30, 3.1 tokens per verify, slot-0 acceptance 0.90). True: Intel gets the same `--mtp-auto` plus the adaptive
#: controller as every backend (it turns the draft on only where it pays: on the 32 GB-RAM devcloud2 box, tier C, a verify costs 233 ms against 72.7 ms plain, so it runs plain there; a B70 with the RAM for tier B can
#: gain). False would start an Intel card without MTP unless `--mtp on` is given.
SYCL_MTP_VERIFIED = True
#: Where the Intel engine reads pictures, as the saved config says it: "auto" leaves the choice to the engine (its `--info --kv` `vision=gpu|cpu` word; the cap is lifted for gpu), "cpu" writes
@@ -626,7 +626,9 @@ class FamilyData(unittest.TestCase):
return S.check_ling32(S.LaunchSettings(family="ling-3.2-air", mtp=mtp), vram_gb=16.0, ram_gb=64.0, vendor="intel", cards=[{"vendor": "intel", "name": name}])
b70 = notes("Intel Arc Pro B70 Graphics")
self.assertEqual([n for n in b70 if "on Intel Arc:" in n.text], []) # the tested card: no card line
self.assertEqual(len([n for n in b70 if "without MTP" in n.text]), 1) # MTP is not verified on Intel: said once
self.assertEqual([n for n in b70 if "without MTP" in n.text], []) # MTP is verified on Intel: no such line
with mock.patch.object(ling32_family, "SYCL_MTP_VERIFIED", False):
self.assertEqual(len([n for n in notes("Intel Arc Pro B70 Graphics") if "without MTP" in n.text]), 1) # the switch off: said once
self.assertEqual([n for n in notes("Intel Arc Pro B70 Graphics", mtp="on") if "without MTP" in n.text], [])
a750 = notes("Intel Arc A750 Graphics")
self.assertEqual(len([n for n in a750 if "on Intel Arc:" in n.text]), 1)
+5 -1
View File
@@ -458,7 +458,11 @@ class Install(unittest.TestCase):
a2 = w2["cfg"]["args"]
self.assertEqual(a2[a2.index("--vision-device") + 1], "cpu")
self.assertEqual(a2[a2.index("--vision-max-pixels") + 1], "1000000")
self.assertNotIn(ling32_family.MTP_CONFIG_KEY, cfg) # MTP is not verified on Intel: off unless asked
self.assertIn(ling32_family.MTP_CONFIG_KEY, cfg) # MTP is verified on Intel (SYCL_MTP_VERIFIED): the sidecar, mode auto (the engine's controller decides)
self.assertEqual(cfg.get(ling32_family.MTP_MODE_KEY), "auto")
with mock.patch.object(ling32_family, "SYCL_ENGINE_SHIPPED", True), mock.patch.object(ling32_family, "SYCL_MTP_VERIFIED", False):
_, w3, _, _ = self.run_install(backend="sycl", gpu_name="Intel Arc Pro B70", vram_gb=32.0, mtp_beside=True)
self.assertNotIn(ling32_family.MTP_CONFIG_KEY, w3["cfg"]) # the switch off: off unless asked
self.assertFalse(any(s.startswith("warn Intel Arc") for s in says)) # the B70 is the tested card
self.assertTrue(any("Memory plan for this PC: tier" in s for s in says))