Repository navigation
Releases
MossInfer 2.2.1 + vision references (pre-release 3)
Pre-release from the feat/vision-references branch. Not an official MossInfer release.
MossInfer 2.2.1 plus vision references: generate takes vision_references (images, max_pixels, weight, start, stop, in_negative), and the text encoder's Qwen3.5 vision tower puts each image into the prompt. No adapter is needed. A front-facing head-and-shoulders portrait on a plain background keeps a character consistent across scenes. A whole scene as the reference tends to be copied. hello reports "vision_references": true and "vision_guidance": true. In the C API: MI_CAP_VISION_REFERENCES, MI_CAP_VISION_GUIDANCE, and mi_gen_params grows to 464 bytes (older sizes are still accepted).
Needs a single-file text encoder that carries the vision tower, e.g. Comfy-Org's qwen3.5_9b_int8_convrot.safetensors as text_encoder_file. See docs/c-api.md (Vision references) and tools/vision_ref/README.md.
| Package | For |
|---|---|
mossinfer-2.2.1-linux-cu13-x86_64-vision.{tar.gz,zip} |
Linux x86_64, NVIDIA sm_80 / sm_89 / sm_120 (RTX 30, 40, 50), cuBLASLt bundled |
…-vision-system-cuda.{tar.gz,zip} |
The same, using the system's CUDA 13 libraries |
Changes since v2.2.1-vision.2
weightnow works. It used to fade the image toward gray, which barely changed a black-and-white portrait. Now the cond prediction isplain + weight × (with_images − plain), whereplainis the prompt without the images: 0 drops them, below 1 they pull less, above 1 more. A weight other than 0 and 1 runs a second cond row: with CFG, a 20-step 1280 × 816 image took 107 s instead of 70 s on an RTX 4070 Laptop. Weight 1 gives the same images as before, bit for bit.- New
start/stop(0–1 of the steps): the window of steps the images guide. In tests, a window starting at 0.3 or later looked like no reference at all, because the face is set in the early steps. - A weight other than 1, or a window, does not work with an SLG row (
slg_scale) or the step cache (invalid_params). - Measured on a manga portrait at 100 000 pixels: at weight 1, wide shots turned into the portrait's head and shoulders; at weight 0.5, they kept the prompt's framing, pose and scene, along with the face, hair and glasses.
Built with the linux-cuda13 preset (CUDA 13.4, GCC 16) on Arch Linux. Checks:
- 530 CPU tests pass.
check_package.pypasses on both installs (including thefind_packageconsumer) and on all four archives.- The packaged
moss-serverwas run on an RTX 4070 Laptop (8 GB) with a weight-0.5 vision reference.
The system-CUDA variant was checked but not run. Windows, CUDA 12, sm_75 and sm_70 are not built. The version still reports 2.2.1; the -vision suffix in the file names tells this build apart.
MossInfer 2.2.1 + vision references (pre-release 2)
Pre-release from the feat/vision-references branch. Not an official MossInfer release.
MossInfer 2.2.1 plus vision references: generate takes vision_references (images, max_pixels, weight, in_negative), and the text encoder's Qwen3.5 vision tower puts each image into the prompt. No adapter is needed. A head-and-shoulders portrait at the default 0.1 MP keeps a character consistent across scenes; a whole scene as the reference tends to be copied. hello reports "vision_references": true; C API: MI_CAP_VISION_REFERENCES and mi_gen_params grows to 448 bytes (older sizes still accepted).
Needs a single-file text encoder that carries the vision tower, e.g. Comfy-Org's qwen3.5_9b_int8_convrot.safetensors as text_encoder_file. See docs/c-api.md (Vision references) and tools/vision_ref/README.md.
| Package | For |
|---|---|
mossinfer-2.2.1-linux-cu13-x86_64-vision.{tar.gz,zip} |
Linux x86_64, NVIDIA sm_80 / sm_89 / sm_120 (RTX 30, 40, 50), cuBLASLt bundled |
…-vision-system-cuda.{tar.gz,zip} |
The same, using the system's CUDA 13 libraries |
Changes since v2.2.1-vision.1, both found by a GPT code review:
- The embedding cache key now includes each image's patch grid, not just its patches. Images with the same patch values on grids of different shapes no longer share a cache entry.
- A
text_encoder_filewithout the vision tower is now refused withinvalid_argumentbefore anything is planned, bycheckandpreloadas well asgenerate.
Built with the linux-cuda13 preset (CUDA 13.4, GCC 16) on Arch Linux. Checks:
- 526 CPU tests pass.
check_package.pypasses on both installs (including thefind_packageconsumer) and on all four archives.- The packaged
moss-serverwas run on an RTX 4070 Laptop (8 GB): a generation with a reference image is pixel-identical to the development build's.
The system-CUDA variant was checked but not run. Windows, CUDA 12, sm_75 and sm_70 are not built. The version still reports 2.2.1; the -vision suffix in the file names tells this build apart.
MossInfer 2.2.1 + vision references (pre-release 1)
Pre-release from the feat/vision-references branch. Not an official MossInfer release.
MossInfer 2.2.1 plus vision references: generate takes vision_references (images, max_pixels, weight, in_negative), and the text encoder's Qwen3.5 vision tower puts each image into the prompt. No adapter is needed. A head-and-shoulders portrait at the default 0.1 MP keeps a character consistent across scenes; a whole scene as the reference tends to be copied. hello reports "vision_references": true; C API: MI_CAP_VISION_REFERENCES and mi_gen_params grows to 448 bytes (older sizes still accepted).
Needs a single-file text encoder that carries the vision tower, e.g. Comfy-Org's qwen3.5_9b_int8_convrot.safetensors as text_encoder_file. See docs/c-api.md (Vision references) and tools/vision_ref/README.md.
| Package | For |
|---|---|
mossinfer-2.2.1-linux-cu13-x86_64-vision.{tar.gz,zip} |
Linux x86_64, NVIDIA sm_80 / sm_89 / sm_120 (RTX 30, 40, 50), cuBLASLt bundled |
…-vision-system-cuda.{tar.gz,zip} |
The same, using the system's CUDA 13 libraries |
Built with the linux-cuda13 preset (CUDA 13.4, GCC 16) on Arch Linux. Checks:
- 524 CPU tests pass.
check_package.pypasses on both installs (including thefind_packageconsumer) and on all four archives.- The packaged
moss-serverwas run on an RTX 4070 Laptop (8 GB): a generation with a reference image is pixel-identical to the development build's.
The system-CUDA variant was checked but not run. Windows, CUDA 12, sm_75 and sm_70 are not built. The version still reports 2.2.1; the -vision suffix in the file names tells this build apart.