mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #768] [CLOSED] Add Dockerfile for building ROCm-based Strata Docker images #2818
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2818
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/768
Author: @jintakhan
Created: 10/4/2026
Status: ❌ Closed
Base:
main← Head:docker-rocm📝 Commits (10+)
e9e2ba3pinned (#243 follow-up): the shared-memory-budget cap on the sliced pin is opt-in (STRATA_ARENA_PIN_GIB=auto) - by default the arena pins as in 0.1.30; on this 64 GB PC the cap pinned 26 instead of 30 GiB and cost ~20% prompt speed and 2-4% IQ3_S decodecacffa9CS-T speed: the file tier fetched in parallel, PCIe planning without file reads, a partial pin of the RAM tier, bit-exact AVX2 multi-token kernels for Q4_K / Q5_1 / Q8_0 experts, decode-only tier statsa348c7aMerge branch 'f-131-srv' into r131-q4b93a00cMerge branch 'f-q4-on242' into r131-q48f5148cCS-T: the partial pin at most 24 GiB (STRATA_PARTIAL_PIN_GIB), the Q4_K/Q5_1/Q8_0 multi-token kernels from two tokens on5ffda19CS-T: the GGUF-in-place prefetch asks Windows for all of a layer's missed slices at once (PrefetchVirtualMemory)ed6c124#253: the 8 GiB arena pin cap only under WDDM; STRATA_ARENA_PIN_GIB; the split's prompt chunk steps down450149d--split-skip-if-fits (opt-in): an auto split runs on the main card alone when it holds every profiled expert + KV6926e0bMerge branch 'f-131-amd' into r131-amdc7aa3e5Revert #257 (AVX2 two-block Q2_0 unpack): bit-exact but not faster on an AVX2-only CPU (Ryzen 9 3900X: gate/up -2.6..-4.7% at 1 token, down -3..-5% at 2 tokens)📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
Dockerfile.rocm(+3 -3)📄 Description
Repo's original Dockerfile adapted to build ROCm-based Strata Docker images.
The base image is pinned to
rocm/dev-ubuntu-24.04:7.2.4-completesince that version has the most prepackaged hipBLASLt tables (v1.2.2, 100202). But I have also verified the build againstrocm/dev-ubuntu-26.04:7.14.1-fullandrocm/dev-ubuntu-26.04:10.0.0-full. I personally find ROCm 10.0.0 to be the most performant of the three, but YMMV.Like the original CUDA Dockerfile, the ROCm Dockerfile also makes a fat build by default, targeting the four verified architectures listed in AMD_HIP.md (gfx1100, gfx1101, gfx1200, gfx1201). Users can modify the Dockerfile to add other architectures (e.g. gfx1030), or trim it to just what they need.
AI disclosure: Q3.8FN. Cleanup, testing and PR done by hand.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.