In this article
Validate the rotary tensor shape and the vision graph before treating a converted MageVL-Cowork artifact as deployable.
The November 7 pre-release b12192 adds MageVL-Cowork support in the llama.cpp multimodal layer. Its loader checks the rotary factors used by the vision graph. This makes a converted artifact testable before a service spends time running its first image request.
Follow the factor tensor to the graph
The release describes F32 factors with d_head elements and an expected 4:6:6 split of rotary pairs. It stores the factors once at model level because the layers share them. An artifact converter must preserve both the tensor data and the dimensional assumptions used to build the graph. Verify the source revision before inspecting any local file.
Separate missing and malformed artifacts
Keep a known-good conversion and a negative fixture that changes the factor tensor shape or data type. Observe whether the loader fails at startup with an actionable diagnostic. Also test an intact artifact paired with the wrong vision component. Those cases identify different corrective actions for an inference operator.
Exercise image geometry
Passing shape validation establishes a structural precondition. A second test should use images with different aspect ratios and a question that depends on the relative position of two objects. Compare the response across a reference runtime and your chosen backend with the same preprocessing. Note any differences in resize policy and special tokens.
Store the deployment evidence
Record the llama.cpp tag, converter revision, both artifact hashes and the test inputs. If a later conversion rejects the factor tensor, compare against the retained good manifest before regenerating weights. This is especially useful when the text model can still answer ordinary prompts while the multimodal path fails on load or first use.
Check failed reloads
A service that hot-reloads a projector can retain its previous healthy configuration when the new artifact fails validation. Rehearse that path on a test worker and verify the active model identity after the failed change.
Primary sources
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.