Native ROCm 10.2 + PyTorch 2.13 for the BC-250 AMD gfx1013 (RDNA1) GPU.
209
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
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-
gfx1013 / RDNA1) AMD GPU on the host.amdgpu kernel driver; /dev/kfd and /dev/dri present.--group-add video (or the host's
render-group GID) so the container can access the GPU.| Component | Version / note |
|---|---|
| ROCm | 10.2 BKC line, native gfx1013 (HIP, hipBLAS, rocBLAS, MIOpen, hipSPARSE, RCCL…) |
| PyTorch | 2.13.0a0+gfx1013, patched for RDNA1 (23-patch series) |
| Training consumers | Transformers / PEFT / Accelerate (frozen, qualified cohort) |
| Native opt-in ops | fused 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.
gfx1013.gfx1013 is RDNA1 (Navi), not CDNA:
gfx1013 only; it does not enable other AMD architectures.| Tag | Meaning |
|---|---|
10.2-gfx1013 | ROCm 10.2 line, native gfx1013 (recommended) |
10.2 | alias of the above |
latest | alias 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.
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()
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.
Content type
Image
Digest
sha256:8ff1839a9…
Size
4.1 GB
Last updated
14 days ago
docker pull naster17/bc250-stack