diff --git a/setup.py b/setup.py index 063fe18f..41c0fd23 100644 --- a/setup.py +++ b/setup.py @@ -835,14 +835,14 @@ MULTI_FILE_FAMILIES["deepseek41"]["models"] = { "shared": [DSV41_ISTA_ENGRAM, DSV41_SHARD.format(i=1), DSV41_DSPARK]}, "UD-IQ1_S": { "label": "Unsloth UD-IQ1_S", - "about": "Unsloth's smallest dynamic version: 122 GB of model (experts in IQ1_S / IQ2_XXS, attention in Q6_K) + the 111 GB n-gram table + 8 GB drafter. Same size class as IST-DAS 1.75 bpw", + "about": "Unsloth's smallest dynamic version: 122 GB of model (experts in IQ1_S / IQ2_XXS, attention in Q6_K) + the 111 GB n-gram table + 8 GB drafter. Same size class as IST-DAS 1.75 bpw. A 1-bit version: expect weaker answers than the 2.00 and 2.25 versions on long, detailed or careful work (short answers, code and tool calls looked fine in our check; its quality is not measured against the original yet). Pick 2.00 or 2.25 if they fit", "ram_gb": 36, "recipe": "udlow", "subdir": "UD-IQ1_S", "legacy_subdir": None, "profile": "profile-2.00.bin", "hf": hf(DSV41_REPO) + "UD-IQ1_S/", "shards": [DSV41_UD_SHARD.format(quant="UD-IQ1_S", i=i) for i in range(1, 5)], "engram_shard": DSV41_UD_SHARD.format(quant="UD-IQ1_S", i=5), "shared": [DSV41_ISTA_ENGRAM, DSV41_DSPARK]}, "UD-IQ1_M": { "label": "Unsloth UD-IQ1_M", - "about": "Unsloth's next dynamic version: 140 GB of model (experts in IQ1_S / IQ2_XXS / IQ2_XS / IQ2_S, attention in Q6_K) + the 111 GB n-gram table + 8 GB drafter. Same size class as IST-DAS 2.00 bpw", + "about": "Unsloth's next dynamic version: 140 GB of model (experts in IQ1_S / IQ2_XXS / IQ2_XS / IQ2_S, attention in Q6_K) + the 111 GB n-gram table + 8 GB drafter. Same size class as IST-DAS 2.00 bpw. Part of its experts are 1-bit: expect somewhat weaker answers than the 2.25 version on long, detailed or careful work (short answers, code and tool calls looked fine in our check; its quality is not measured against the original yet)", "ram_gb": 40, "recipe": "udlow", "subdir": "UD-IQ1_M", "legacy_subdir": None, "profile": "profile-2.00.bin", "hf": hf(DSV41_REPO) + "UD-IQ1_M/", "shards": [DSV41_UD_SHARD.format(quant="UD-IQ1_M", i=i) for i in range(1, 5)], "engram_shard": DSV41_UD_SHARD.format(quant="UD-IQ1_M", i=5), diff --git a/tests/terminal/test_dsv41_import_preview.py b/tests/terminal/test_dsv41_import_preview.py index 96b3e0cf..673af726 100644 --- a/tests/terminal/test_dsv41_import_preview.py +++ b/tests/terminal/test_dsv41_import_preview.py @@ -11,6 +11,8 @@ from strata_control import dsv41_sets, models T = dsv41_sets.tables() +ISTA = [m for m in T["sets"] if m.startswith("IST-DAS")] # the Unsloth UD-IQ1 sets have no legacy, six-shard or re-published layouts (tools/test_setup_udlow.py) + def files_of(model, legacy=False, engram="official", drop=(), wrong=(), layout=None): entry = T["sets"][model] pinned = dict(entry["six"] if layout == "six" else entry["legacy"] if legacy else entry["shards"]) @@ -35,11 +37,11 @@ class DeepSeekPreview(unittest.TestCase): return models.plan_import(str(target)), folder def test_the_tables_come_from_setup_and_cover_the_three_official_sizes(self): - self.assertEqual(sorted(T["sets"]), ["IST-DAS-1.75bpw", "IST-DAS-2.00bpw", "IST-DAS-2.25bpw"]) + self.assertEqual(sorted(T["sets"]), ["IST-DAS-1.75bpw", "IST-DAS-2.00bpw", "IST-DAS-2.25bpw", "UD-IQ1_M", "UD-IQ1_S"]) self.assertEqual(len(T["engram"]), 2) def test_each_official_set_is_recognised_with_its_size_name(self): - for model in T["sets"]: + for model in ISTA: for legacy in (False, True): if legacy and not T["sets"][model]["legacy"]: continue # 1.75 has no first-release names @@ -88,7 +90,7 @@ class DeepSeekPreview(unittest.TestCase): self.assertFalse(any("not supported" in m for m in plan["messages"])) def test_the_four_shard_files_with_the_republished_first_shard_are_the_set_4237(self): - for model in T["sets"]: + for model in ISTA: plan, folder = self.preview(files_of(model, layout="four-newer-first")) self.assertEqual(plan["file_set_status"], "plausible", (model, plan["issues"])) self.assertEqual(plan["candidate_selection"]["model"], model) @@ -102,7 +104,7 @@ class DeepSeekPreview(unittest.TestCase): self.assertEqual(plan["missing_shards"], [first]) def test_the_six_shard_files_are_the_set(self): - for model in T["sets"]: + for model in ISTA: plan, folder = self.preview(files_of(model, layout="six")) self.assertEqual(plan["file_set_status"], "plausible", (model, plan["issues"])) self.assertEqual((plan["candidate_selection"]["family"], plan["candidate_selection"]["model"]), ("deepseek41", model)) diff --git a/tests/terminal/test_launch_dsv41.py b/tests/terminal/test_launch_dsv41.py index b329ec9b..9e394cbc 100644 --- a/tests/terminal/test_launch_dsv41.py +++ b/tests/terminal/test_launch_dsv41.py @@ -36,10 +36,10 @@ class LaunchDeepSeek(unittest.TestCase): def test_the_model_is_in_the_list(self): rows = [r for r in catalog(self.hw).rows() if r.family == "deepseek41"] - self.assertEqual([r.model for r in rows], ["IST-DAS-2.00bpw", "IST-DAS-2.25bpw", "IST-DAS-1.75bpw", "UD-Q8_K_XL"]) + self.assertEqual([r.model for r in rows], ["IST-DAS-2.00bpw", "IST-DAS-2.25bpw", "IST-DAS-1.75bpw", "UD-IQ1_S", "UD-IQ1_M", "UD-Q8_K_XL"]) self.assertEqual([r.download_gb for r in rows[:3]], [256.8, 273.8, 239.3]) self.assertEqual(catalog(self.hw).resolve("ist-das-2.25bpw"), ("deepseek41", "IST-DAS-2.25bpw")) - r = rows[3] + r = rows[5] self.assertEqual((r.id, r.download_gb, r.verdict, r.images), ("deepseek-v4.1-flash-ud-q8_k_xl", 508.4, "fits", True)) # 0.2.7: pictures through the engine's own tower self.assertEqual(catalog(self.hw).resolve("ud-q8_k_xl"), ("deepseek41", "UD-Q8_K_XL")) self.assertEqual(catalog(self.hw).max_context("deepseek41", "UD-Q8_K_XL"), 8192)