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
- Codex tip: use Sol with Astra and Luna sub-agents to save usage — pvncher · 2026-09-11
- agents-best-practices: a provider-neutral Agent Skill for designing and auditing agentic harnesses — tom_doerr · 2026-09-11
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11
- First-ever Three.js Conference lands in Paris, with a panel on AI-shortened design workflows — OdinLovis · 2026-09-11
- Data engineering, not agent frameworks, is the real bottleneck for enterprise AI agents — dhruv2038 · 2026-09-11
- RTK Terminal Compression Cuts Tokens but Leaves Your AI Coding Bill Unchanged — Bartaseth · 2026-09-11