Skip to content

Commit 8b2208e

Browse files
davide221wozcode
andcommitted
fix(docker): keep ROCm base default at 6.4.1 (7.2.x intermittent on Strix Halo)
Revert the 7.2.2 default: the 7.2.x stack has shown intermittent problems on Strix Halo, so the published :rocm image stays on 6.4.1. The 6.4.x-userspace / 7.x-host-driver segfault from the previous commit remains documented in Dockerfile.rocm + docker-bake.hcl: on a ROCm 7.x host, rebuild with ROCM_VERSION=7.2.2 to match the host driver. Co-Authored-By: WOZCODE <contact@withwoz.com>
1 parent b8b2ed4 commit 8b2208e

2 files changed

Lines changed: 15 additions & 12 deletions

File tree

Dockerfile.rocm

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@
33
# ─── Stage 1: builder ───────────────────────────────────────────────────────
44
# ROCm/HIP sibling of the CUDA Dockerfile. ROCM_VERSION / UBUNTU_VERSION /
55
# DFLASH_HIP_ARCHES are build args so the same Dockerfile can be repinned.
6-
# • lucebox-hub:rocm — ROCm 7.2.x, gfx1151 (+ optional fat gfx list)
6+
# • lucebox-hub:rocm — ROCm 6.4.x, gfx1151 (+ optional fat gfx list)
77
# See docker-bake.hcl for the canonical invocation.
88
#
9-
# NOTE: gfx1151 (Strix Halo / Ryzen AI MAX) needs ROCm >= 6.4.1, but the
10-
# 6.4.x userspace segfaults at model load against a ROCm 7.x host driver
11-
# (verified on gfx1151 + host ROCm 7.2.2: SIGSEGV in backend creation, bogus
12-
# 1.28 TB VRAM report). Default to 7.2.2 to match current host stacks; pin
13-
# back to a 6.4.x tag only for hosts still on a 6.x driver.
14-
ARG ROCM_VERSION=7.2.2
9+
# NOTE: gfx1151 (Strix Halo / Ryzen AI MAX) needs ROCm >= 6.4.1. The default
10+
# stays on 6.4.1 because the 7.2.x stack has shown intermittent problems on
11+
# Strix Halo. The flip side: against a ROCm 7.x HOST driver the 6.4.x
12+
# userspace can segfault at model load (seen on gfx1151 + host ROCm 7.2.2:
13+
# SIGSEGV in backend creation, bogus 1.28 TB VRAM report) — in that case
14+
# rebuild with ROCM_VERSION=7.2.2 to match the host. Rule of thumb: keep the
15+
# base's major version aligned with the host driver.
16+
ARG ROCM_VERSION=6.4.1
1517
ARG UBUNTU_VERSION=22.04
1618
FROM rocm/dev-ubuntu-${UBUNTU_VERSION}:${ROCM_VERSION} AS builder
1719

docker-bake.hcl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ variable "DFLASH_CUDA_ARCHES" { default = "75;80;86;89;90;120" }
5252
# gfx90a MI200.)
5353
variable "DFLASH_HIP_ARCHES" { default = "gfx1151" }
5454

55-
# ROCm base-image tag for the rocm variant. gfx1151 needs >= 6.4.1, but the
56-
# 6.4.x userspace segfaults at model load against a ROCm 7.x host driver
57-
# (see Dockerfile.rocm); 7.2.2 matches current host stacks. Pin back to a
58-
# 6.4.x tag only for hosts still on a 6.x driver.
59-
variable "ROCM_VERSION" { default = "7.2.2" }
55+
# ROCm base-image tag for the rocm variant. gfx1151 needs >= 6.4.1. Default
56+
# stays 6.4.1 (7.2.x has shown intermittent problems on Strix Halo), but on a
57+
# ROCm 7.x HOST driver the 6.4.x userspace can segfault at model load — set
58+
# ROCM_VERSION=7.2.2 there. Keep the base aligned with the host driver (see
59+
# Dockerfile.rocm).
60+
variable "ROCM_VERSION" { default = "6.4.1" }
6061

6162
# Image identity stamped into /opt/lucebox-hub/IMAGE_INFO at build time and
6263
# surfaced under /props.build at runtime (git_sha, image_tag, build_time).

0 commit comments

Comments
 (0)