You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Engine] Add HIP support for Inkling 2 vision inference #362
Add HIP/ROCm support for Inkling 2 vision inference. The image encoder and vision pipeline must run on AMD GPUs instead of requiring NVIDIA/CUDA, while preserving text-only fallback behavior.
Problem
Inkling 2 Mini and the current image encoder do not work together on AMD hardware:
--vision yes is currently unavailable or ignored for Inkling 2 Mini.
The image encoder is implemented as a CUDA program.
On AMD cards, images are disabled and the engine returns text-only answers.
Proposed behavior
Detect AMD/HIP devices through the existing device/backend detection.
Provide a vision-capable Inkling 2 engine or runtime on HIP.
Enable --vision yes only for engines that support vision.
Run the image encoder and image preprocessing through the HIP/ROCm stack.
Clearly report a configuration error when a text-only engine such as Inkling 2 Mini is used with --vision yes.
Acceptance criteria
inkling2 --vision yes works on a supported AMD GPU with a vision-capable model.
HIP is detected and used instead of silently falling back to text-only processing.
NVIDIA/CUDA behavior remains unchanged.
Text-only models do not advertise unsupported vision support.
The supported AMD GPUs, ROCm/HIP requirements, model requirements, and examples are documented.
Add or update tests for engine capability detection and vision image encoding on HIP.
Usage example
inkling2 --engine <vision-capable-engine> --device hip --vision yes
Environment
AMD GPU
HIP/ROCm runtime
Vision-capable Inkling 2 engine/model
PolyStrata version
Unknown — please set the installed version (run strata --version)
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".
Add the PolyStrata version (Settings > About, or strata --version).
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.
Activity
github-actions commentedon Nov 26, 2026
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
strata --version).Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
[-]Add HIP support for Inkling 2 vision inference[/-][+][Engine] Add HIP support for Inkling 2 vision inference[/+]Joedmin commentedon Nov 26, 2026
format should be fixed