HUB
Sign inSign up

naster17/bc250-stack

By naster17

•Updated 14 days ago

Native ROCm 10.2 + PyTorch 2.13 for the BC-250 AMD gfx1013 (RDNA1) GPU.

Image
0

209

naster17/bc250-stack repository overview

⁠BC-250 — native ROCm + PyTorch for AMD gfx1013 (RDNA1)

Run the full BC-250 GPU stack without building anything from source. This image bundles a from-source port of AMD ROCm 10.2 + PyTorch 2.13 to the BC-250 APU's gfx1013 GPU (RDNA1 / Navi) — a chip upstream ROCm does not officially support. Pull it, pass through the GPU, and train or infer.

docker pull naster17/bc250-stack:10.2-gfx1013

Source, patch series, qualification reports and docs: github.com/Naster17/bc250-stack⁠


⁠Quickstart

docker run --rm -it \
  --device /dev/kfd --device /dev/dri \
  --group-add video \
  -v "$PWD":/work -w /work \
  naster17/bc250-stack:10.2-gfx1013 python3 your_app.py

Check the GPU is visible:

docker run --rm \
  --device /dev/kfd --device /dev/dri --group-add video \
  naster17/bc250-stack:10.2-gfx1013 \
  -c "import torch; print(torch.__version__, torch.cuda.is_available(), torch.cuda.get_device_properties(0).gcnArchName)"
# -> 2.13.0a0+gfx1013 True gfx1013:xnack-
⁠Requirements
  • A BC-250 (or compatible gfx1013 / RDNA1) AMD GPU on the host.
  • Linux host with the amdgpu kernel driver; /dev/kfd and /dev/dri present.
  • Docker (or Podman) with device passthrough. --group-add video (or the host's render-group GID) so the container can access the GPU.
  • ~17 GB disk for the unpacked image; ~16 GB VRAM per board (shared with host CPU allocations).

⁠What's inside

ComponentVersion / note
ROCm10.2 BKC line, native gfx1013 (HIP, hipBLAS, rocBLAS, MIOpen, hipSPARSE, RCCL…)
PyTorch2.13.0a0+gfx1013, patched for RDNA1 (23-patch series)
Training consumersTransformers / PEFT / Accelerate (frozen, qualified cohort)
Native opt-in opsfused gated-delta, trainable causal conv, NF4/QLoRA dequant, tiled SDPA, HIP graph capture

The ROCm prefix, Torch tree and consumers are baked at the same absolute paths the qualified launchers use, so runtime behaviour matches the on-board release exactly.

⁠What you can do

  • Single-host training & inference with patched PyTorch on gfx1013.
  • FP16 / BF16 / FP32 training; FP16 PEFT (LoRA) with FP32 master weights + GradScaler.
  • Native opt-in accelerations (bitwise-safe, off by default): fused gated-delta solve/scan, trainable-weight causal conv, NF4/QLoRA weight dequantize-to-FP16, tiled scaled-dot-product attention, HIP graph capture.
  • Two-host distributed (DDP / classic FSDP over RCCL) is qualified on the on-board release; see the distributed guide in the GitHub repo.

⁠Hardware reality (please read)

gfx1013 is RDNA1 (Navi), not CDNA:

  • No MFMA/WMMA matrix cores — GEMMs run on the vector ALUs (Tensile FP16).
  • wave32, FP16 rapid-packed-math, FP64 at 1/16 rate.
  • ~16 GB VRAM per board. Two boards buy capacity and redundancy, not one 32 GB device and not a linear speedup.
  • This image targets gfx1013 only; it does not enable other AMD architectures.

⁠Tags

TagMeaning
10.2-gfx1013ROCm 10.2 line, native gfx1013 (recommended)
10.2alias of the above
latestalias of the above

Versioning policy: tags follow the ROCm release line. 10.2-gfx1013 is the ROCm 10.2 port; when a new ROCm release lands (10.3, …) it gets its own gfx1013 tag after re-porting and qualification. latest always points to the newest qualified ROCm line.

⁠Run examples

Mount a model/dataset directory and run a training script:

docker run --rm -it \
  --device /dev/kfd --device /dev/dri --group-add video \
  --shm-size 1g \
  -v /path/to/models:/models:ro \
  -v "$PWD":/work -w /work \
  naster17/bc250-stack:10.2-gfx1013 python3 train.py --model /models/...

Interactive Python with the GPU:

docker run --rm -it \
  --device /dev/kfd --device /dev/dri --group-add video \
  naster17/bc250-stack:10.2-gfx1013
>>> import torch
>>> x = torch.randn(1024, 1024, device="cuda")
>>> (x @ x).sum().item()

⁠Documentation & source

⁠License & provenance

Built from the ROCm and PyTorch open-source projects plus the BC-250 gfx1013 port patches; see the umbrella repository for the SBOM, licenses and patch series. Not an official AMD or PyTorch product.

Tag summary

Content type

Image

Digest

sha256:8ff1839a9…

Size

4.1 GB

Last updated

14 days ago

docker pull naster17/bc250-stack