ROCm: add DeepSeek V4.1 Flash support for Strix Halo (gfx1151) - #1036
Open
kyuz0 wants to merge 2 commits into
Open
ROCm: add DeepSeek V4.1 Flash support for Strix Halo (gfx1151)#1036kyuz0 wants to merge 2 commits into
kyuz0 wants to merge 2 commits into
Conversation
Implement V4.1 graph operators, resident and SSD expert loading, bounded parallel Engram reads, gfx1151 prefill kernels and vision projection support. Preserve complete session state across append, restoration and cancellation. Use explicit ROCm memory admission for resident vision and SSD cache growth. Add production-shape kernel, cache-span and memory-pressure regressions, setup guidance and qualification results, including Metal Q2 comparisons, numerical drift and storage/state checks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enable DwarfStar DeepSeek V4.1 Flash Q2 text and vision on AMD Strix Halo (
gfx1151), previously restricted to Metal. Adds ROCm graph operators, resident and SSD expert loading, bounded parallel Engram reads, optimized prefill kernels and complete session-state handling. Fixes resident vision admission and lets SSD cache allocation use the admitted memory budget.Tested with ROCm 10.0 on a single 128 GB Strix Halo and a 2 TB Kingston FURY Renegade SSD (PCIe 4.0 ×4). An 8 GiB direct model-file read measured 5.16 GB/s, verified with device counters. Native 8K inference measured 214.15 prefill / 5.47 decode tokens/s with an 89 GiB cache and 16 greedy outputs. A 94 GiB cache also passes 16K/512-output and image/state checks, filling all 9,372 slots while keeping at least 11.48 GiB RAM available during the continuation, with no swap-out or OOM. Separate scoring/agent runs recorded 2.62 MiB of host zram swap-out, with no sampled model swap or OOM. These are individual runs; startup is excluded and image prefill was not timed.
Quality evidence:
Resident text and vision were also tested on upcoming 192 GB hardware; performance results will be released soon. Engram remains disk-backed in both modes. The original 512-token thinking truncation completes with a documented 4,096-token allowance. Physical CUDA/Metal and multi-device execution were not validated.