Archived
server: the panel names the family the vector was validated against
The summary line led with the layer range, which is the least load-bearing term on it: a file carrying another model's directions is refused at startup, so the range alone never tells the operator whether this vector belongs to the model on the card. The panel now reads `qwen4exp · layers 4-44 · project · scale 1`, with the family taken from the same `meta_.arch_id` the loader compared against the file's `controlvector.model_hint` -- served as `arch` in the payload, not invented by the page. The switch's label says what it does rather than what it is called, and the note under it says why the change is not retroactive: a running request keeps the choice it was admitted with, and a session with a refusal already in its context may repeat it.
This commit is contained in:
1 parent
f9d80d6cac
commit
f5cb4b8ff3
2 files changed
+21
-6
No files matched your search
@@ -1638,6 +1638,9 @@ std::string Engine::cvec_json() const {
|
||||
o["available"] = cvec_.loaded();
|
||||
o["default"] = cvec_default_.load();
|
||||
if (cvec_.loaded()) {
|
||||
/* The family the file was validated against, not a label the UI supplies: this is the same
|
||||
* `meta_.arch_id` the loader compared against the file's own model_hint. */
|
||||
o["arch"] = meta_.arch_id ? meta_.arch_id : "";
|
||||
o["first"] = cvec_.first;
|
||||
o["last"] = cvec_.last;
|
||||
o["n_embd"] = cvec_.n_embd;
|
||||
|
||||
Reference in new issue
Block a user