Commit Graph
13 Commits
Author SHA1 Message Date
Niko1221 dd96b53187 DeepSeek out (4/7): setup, strata launch, strata update, Settings > Engine and the model catalog without DeepSeek
The Python side of the product no longer knows DeepSeek-V4.1-Flash (the refusal of commit 2 answers every way
it can still come in):
- setup.py: MULTI_FILE_FAMILIES / the DSV41_* pins, install_dsv41, mac_dsv41_setup, the engine package fetch and
  its helpers, the --check line, the menu row and --family deepseek41 go; model_alias is the identity; a hidden
  --dsv41-package answers the "no longer offers" line; the AMD one-card widening and the per-start card memory,
  which acted on DeepSeek configs only, go; setup_config.py loses Dsv41Inputs / dsv41_config_for.
- strata_control: dsv41_{context,engine,fit,flags,parallel,paths,sets}.py and gpu_pick.py are deleted;
  folder_use.in_use is dsv41_paths.in_use (every package kind used it); updater: no DeepSeek engine step, report
  or notice (discover_run_config leaves DeepSeek configs out through retired.py); engine_library: the Qwen family
  and the shape engines only ("deepseek" answers the "no longer offers" line); engine_component / engine_update:
  no DeepSeek offer; feed.py does not read the dsv41 member (it may stay in the feed for older Strata);
  cfg_paths / runtime: no engine-dsv41 repair; models.py: no DeepSeek import preview; the one-line deepseek41
  guards in vram_fit, amd_four_card, split_engine, replica_profile go (pictures.py keeps a retired.py guard).
- strata launch: no DeepSeek rows, Speed step, tuner, context list, picture tower, --parallel words or engine
  package; --dsv41-package, --speed, --full-quality and --dspark stay hidden and answer the "no longer offers"
  line. The --context help loses its DeepSeek parenthesis ([DRAFT] until the owner reads it).
- tools/strata_mcp.py (the catalog of the app, the Terminal and the MCP tools): no DeepSeek rows or plans; rows keep
  "multi_file": False, "disk_gb" / "rdna4_faster": None as every Qwen size had them.
- tests: the DeepSeek-only files go (tests/terminal 21 + the launch speed file, tools 4, fixtures); the DeepSeek
  cases leave the shared ones; the snapshot matrix loses its DeepSeek set and its 8 goldens (every Qwen golden is
  unchanged byte for byte); new: each dropped launch flag answers the line, an engine-dsv41 folder is neither
  listed nor touched, a DeepSeek config is left as it was by the path repair.
2026-11-11 11:37:48 +01:00
Niko1221 a7f384efe7 setup and the plan accept an Unsloth mmproj-F16.gguf the person already has as the Flash-Next picture reader (lane 15, item 7)
A person who already has Unsloth's picture-reader file next to their model files no longer downloads the pinned BF16 reader (0.9 GB) a second time.
lane 14's answers check: the F16 file against the pinned BF16 file on the same tower and card gives 58 of 72 answers word for word (60 after
whitespace), none of the 12 differences wrong about the picture, while the same BF16 file on two different cards gives 55 of 72; embeddings
0.9998 mean / 0.998 worst. Owner's word 11-10: setup may accept it when the check passes.

The rule (setup.ALT_READERS, accepted_alt_reader, resolve_reader; the plan asks the same function through modelstate.reader_present):
- a file named mmproj-F16.gguf with exactly 904,004,000 bytes and SHA-256 1f7b7f0b984cf065c604360c29c8098362ed61b290db0ff12c6f360bb1a8a980
  (Unsloth, revision 38bb39ee97821de2c9009abb7e93950eec396e66);
- in a place where setup already looks for the pinned reader: the data folder's models/, an earlier install's models/, and the person's own GGUF
  folder (beside the shards, the folder above, that folder's models/);
- only when no pinned BF16 file is found anywhere: the pinned file always wins;
- anything else with that name is ignored as before (not deleted, not renamed); setup never downloads the F16 file, and with no accepted reader it
  downloads the pinned file as today.
The SHA-256 (a few seconds) is remembered in a mark in Strata's own marks/ folder, never beside the person's file. The mark is keyed by the file's
real path, size and modification time (_kept_mark), so a replaced file, even one of the same size, is hashed again. The plan hashes without
writing a mark and says nothing; `strata launch --plan` shows no 0.9 GB reader part when an accepted file is there, and still shows it for a wrong
size, a wrong hash or another file of that name, because the start still downloads it.

Wording (owner-approved 11-10, exactly):
  "  checking mmproj-F16.gguf (SHA-256, 0.9 GB) ..."
  "vision encoder: <path> (Unsloth's mmproj-F16.gguf, SHA-256 checked)"
  "  note: <path> has the name of Unsloth's picture reader but is a different file, so it is not used. The picture reader is downloaded (0.9 GB)."

With the F16 file the engine's own tower runs its F16 mode (nothing changes on the engine side).

Tests: tests/terminal/test_net_alt_reader.py (accepted and checked once; the folders above and models/; wrong size; wrong hash with the note and a
remembered answer; another name; both files present, the pinned one wins; a file accepted once and then replaced by another of the same size is
hashed again and refused; a changed size; a linked folder shares the mark and cannot hide a replacement; plan and start agree in each case; the plan
writes no mark; the pinned values are the owner's).
2026-11-10 20:19:14 +01:00
Niko1221 0988d0c678 net: the launch plan says what the start will do with --data-dir and with a picture reader that is not the pinned file (lane 15, item 4)
(a) download_plan used the installed copy's folder even when --data-dir named another one, while the start (installed_serves_request) does
not use that copy and downloads everything into the given folder: the plan said "About 1.2 GB" and the start fetched 112 GB. The plan now
counts what setup will fetch into the given folder, and says "About <gb> GB to download into <folder>: ... The copy in <other> is not used
with this --data-dir." The installed copy still counts as present when it sits in a folder setup itself reuses (the remembered data folder,
Strata's own folder).
(b) The plan counted any mmproj*.gguf beside or above the files as the picture reader, while setup accepts only the pinned file name (outer
folders: the name at the pinned size) and downloads 0.9 GB. One helper, modelstate.reader_present, now follows setup's rule in the three
places that asked. Which file setup accepts is unchanged.

Tests: tests/terminal/test_net_plan_truth.py.
2026-11-10 19:44:31 +01:00
Niko1221 ac1dfef883 launcher: draft layer also found in --data-dir, split engine counts free VRAM, plan card numbers are the --gpu numbers
- discovery.prepared_beside(gguf, data_dirs): after the models-folder walk it also looks in --data-dir and the remembered data folder for mtp/rt, the pack and the picture reader (setup writes them there); plan, download_plan and the own-files preview pass them. A model folder outside the data folder no longer asks for the 5.2 GB layer a second time.
- split_engine: Card.free_mib from the same nvidia-smi call (memory.free; AMD: the render node's vram_used), fit = min(size, free) - 700 MiB; busy cards get the layer split with DFlash2 and no draft-layer part. Runner.card_probe leaves free memory out while a server of this launch (same profile or port) is about to be stopped. Free cards decide as before.
- plan: the cards line prints the numbers --gpu takes and leaves out cards CUDA_VISIBLE_DEVICES (AMD: ROCR/HIP_VISIBLE_DEVICES) hides; the split probe respects the same variables when no card is named. Digits only.
- tests/terminal/test_fix3_0212.py (41 tests); launch_support.Home clears the visibility variables.
2026-11-04 07:11:31 +01:00
Niko1221 fca8b48c00 Drafting follows the model: the Terminal goes back to Auto when the model changes to one without a Drafting choice (DeepSeek, Coder, Swift, NVFP4) and a launch writes none into a DeepSeek run config; the app's Models page resets to Auto for a model that is not installed; the Q4_0-selector pack is made only where the installed engine reads it (never for the SYCL engine); tests 2026-11-02 19:37:22 +01:00
Niko1221 5514024c47 Terminal Drafting step: Auto overrides a choice the app saved in the model's file (written as auto, not dropped); tests lock in one drafter per run for every choice on cuda/hip/metal/sycl, old saved values, and the server and Terminal paths 2026-11-02 18:26:17 +01:00
Niko1221 13edeb7f89 One drafter per run: DFlash2 is the primary drafter where the engine has it (CUDA, HIP, Metal), alone and with --draft-fallback none; the MTP is chosen alone with no DFlash2 option
Auto and the default pick DFlash2 with the Q4_0 pack for Qwen3.8-Flash-Next and Gyro; Intel SYCL stays MTP (one line, DFLASH2_BACKENDS). The GUI dropdown, TUI, strata launch, setup (--drafter), serve/server.py, the host's Load and the drafting command agree. A new install fetches only the selected drafter, a switch fetches the other once (never at start), the draft vocabulary comes with the DFlash2 pack. A layer split or several requests load only the MTP and say so in one line; no drafter on disk says so too. Fit, plan and slot estimates use the chosen drafter (0.89 GB DFlash2, 1.08 GB MTP).
2026-11-02 01:31:26 +01:00
Niko1221 1bd17d59d9 launch: the model state's DeepSeek check tolerates a catalog without the strata table (test_model_folder_case) 2026-10-27 06:22:02 +01:00
Niko1221 1e617c3f64 DeepSeek pictures by default: setup fetches the vision tower's weights (mmproj-BF16.gguf, pinned) with the shared files, packs them with the model (pack_gguf --mmproj) and rebuilds a pack made without them; --vision no leaves all of it out; the picture-reader parts of the launcher's model state skip DeepSeek (its tower is part of the engine); the installed-config description says pictures on for a --vision on DeepSeek config; tests 2026-10-27 05:49:37 +01:00
Niko1221 68ba321acc launch: a model folder is found whatever its letter case, so a downloaded model is not offered again on a case-sensitive disk (#3996); a log path the person set in the config is kept (#3656); --dspark takes on|off|auto|none and the word reaches the engine (#3959) 2026-10-26 18:19:38 +01:00
Niko1221 eb818c50ed Download size counts the draft layer and the picture reader; --plan no longer calls an installed engine missing; --drafting off writes no --mtp (TUI stress #6, B03, B10/E04)
#6 (A07/B03): a model that is not installed now counts the draft layer (5.2 GB) and the picture reader (0.9 GB) in the one place (modelstate.assess), so the Folder step, the confirm and --plan agree (Gyro-S 58.5 + 5.2 + 0.9 = 64.6 GB). Gyro joins the families that get the helpers. --mtp off and --drafting off drop the draft layer from the count and from what setup is told. setup.py's disk check counts the draft layer it is about to fetch.
B03: --plan keeps "engine_missing" for no engine at all; an installed engine that fails the check says so in plain words and adds engine_usable.
B10/E04: with --drafting off (or an installed config that says off) the written run config carries "mtp": false and no --mtp / --spec-min-p arguments.
2026-10-22 23:44:27 +02:00
Niko1221 c67180edf1 Owner round 8: show the real engine error, keep cards and roles, honour --mtp off, plan every download, check the engine version
F5: a start that did not reach ready names the stage, the cause line from the engine log, a next step (render group on Linux, smaller
context, strata update) and the log path; --no-tui and runs without a keyboard never ask 'Keep or move?' and print what was kept.
F3: a context or picture change forwards the installed cards and Main/Helper roles to setup.
N3: --mtp on|off reaches setup, and setup no longer fetches the draft layer for --mtp off.
N4/N2: --plan counts a picture reader unless one sits beside the files, names the --vision off and --mtp off switches, and counts
the ready-made pack (NVFP4) setup would fetch; setup's disk hint is --data-dir under launch.
N5/N6: STRATA_DATA_DIR/install is looked at first, --plan says when an earlier install is the one in use, and an installed engine
older than the model needs is updated or named.
N8: --plan warns when the file headers say another family or model than the one named.
N9: update --check names the package it selected.
N11: the Arc adopt path takes Gyro and the sentence has no double full stop.
2026-10-22 11:32:32 +02:00
Niko1221 23b08c7620 Terminal: one discovery of existing installs and model files for the screens, models list, own-files import and launch; Gyro-S/M GGUFs are known; installed models show what is really missing (T03, T04, T05) 2026-10-18 22:22:31 +02:00