Skip to content

fix: add gfx1152 (Krackan APU) to whispercpp:rocm and vllm:rocm (#2002)#2461

Open
bong-water-water-bong wants to merge 2 commits into
lemonade-sdk:mainfrom
bong-water-water-bong:fix/gfx1152-recipe-defs
Open

fix: add gfx1152 (Krackan APU) to whispercpp:rocm and vllm:rocm (#2002)#2461
bong-water-water-bong wants to merge 2 commits into
lemonade-sdk:mainfrom
bong-water-water-bong:fix/gfx1152-recipe-defs

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Contributor

Summary

Fixes #2002 — Krackan APU (Radeon 840M/860M, gfx1152) shows "Unsupported GPU: gfx1152" when trying to install whispercpp:rocm or vllm:rocm.

Root Cause

gfx1152 was already in llamacpp:rocm and sd-cpp:rocm RECIPE_DEFS, but missing from whispercpp:rocm and vllm:rocm.

Fix

Add "gfx1152" to the amd_gpu device constraints for whispercpp:rocm and vllm:rocm.

…rted GPUs (lemonade-sdk#2002)

gfx1152 (Radeon 840M/860M, Krackan Point) was already supported by
llamacpp:rocm and sd-cpp:rocm in RECIPE_DEFS, but was missing from
whispercpp:rocm and vllm:rocm, causing 'Unsupported GPU: gfx1152'
errors when trying to install those backends on Krackan APU hardware.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@github-actions github-actions Bot added engine::whispercpp whisper.cpp backend; audio transcription runtime::rocm AMD ROCm runtime bug Something isn't working labels Jun 27, 2026
…llback (lemonade-sdk#1385)

Model downloads use libcurl which blocks in a system call. The existing
SIGINT handler only set a graceful-shutdown flag, but in-progress downloads
would continue uninterrupted until completion.

Fix:
1. Add a global atomic flag g_download_cancelled in http_client.cpp
2. Check it in the libcurl progress callback (called during transfer)
3. Set it from the SIGINT handler in main.cpp

When Ctrl+C is pressed during a model download:
- libcurl's progress callback detects g_download_cancelled
- Returns non-zero to abort the transfer
- download_attempt returns cancelled=true
- The partial file is preserved for later resume
@ckuethe

ckuethe commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

I think your agent pulled in some unrelated changes (8c22dea), relating to canceling downloads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working engine::whispercpp whisper.cpp backend; audio transcription priority::😎warm runtime::rocm AMD ROCm runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Please add ROCm support for the Krackan APU family (Radeon 840M / 860M / gfx1152).

2 participants