InstructSAM gets a C++/GGUF port for local multimodal segmentation with Qwen3-VL-2B
remyxai · reddit · 2026-07-25
InstructSAM is being ported to C++/GGUF for faster local multimodal inference
The author describes a multimodal synthesis pipeline that uses VLMs for captioning and segmentation models for localization, then found InstructSAM — a repo that augments Qwen3-VL-2B with a SAM3-based segmentation head.
By using that architecture, they can collapse a two-stage pipeline into two passes through a single smaller model. The catch is practical: their current setup runs on 4-bit quantized weights in llama.cpp, and adding a segmentation head means the model must emit images, which is a substantial change to the project.
To make it work, they forked a related SAM3-compatible repo, added llama.cpp dependencies, and ported InstructSAM to C++ with GGUF conversion. They also included a Dockerfile to simplify build and conversion while respecting licensing constraints.
Repo: smellslikeml/instructSAM.cpp
More from coding & agent
- shadcn's /improve skill paired with Grok on SuperGrok Heavy for plowing through issues — shadcn · 2026-10-27
- Paradigm Launches Envoys: Your Claude Code and Codex on Your Research Graph, Free — tensorqt · 2026-10-27
- AXL launches remote MCP server exposing 1,284 sales and marketing APIs to Claude and Codex — EdTech_Padre · 2026-10-27
- GitHub's Thomas Dohmke ships Entire, a Git forge built for agent-human collaboration — carrycooldude · 2026-10-27
- OmarchyTV hits GitHub: Omarchy-style TV launcher with AI TUI and MCP — alexcovo_eth · 2026-10-27
- AWS on agent prompt caching: explicit + implicit patterns to slash token costs — AWS ML Blog · 2026-10-27