Porting a Scratch-Built 500M LLM Training Pipeline to ROCm on Strix Halo
The article details the porting of a scratch-built 500M-parameter LLM training pipeline to AMD's ROCm platform, specifically targeting the Strix Halo APU. Despite minimal code changes needed due to PyTorch's robust ROCm support, training on Strix Halo hardware remains slow, taking approximately three weeks. The implementation includes a full training pipeline with data preprocessing, training, and fine-tuning, and is containerized for easier deployment.
- ▪The 1386.ai repository has been ported to ROCm, enabling compatibility with AMD's Strix Halo APU and other ROCm-supported hardware.
- ▪Training a 500M-parameter model on the 128 GB Strix Halo APU takes about three weeks, achieving roughly 4,750 tokens per second.
- ▪Minimal PyTorch code modifications were required, highlighting the maturity of PyTorch's ROCm backend for LLM training.
- ▪Custom optimizations like fused operators or kernel-level changes may be needed to significantly improve performance beyond current levels.
- ▪A Dockerfile and helper script are included to simplify environment setup and avoid host system disruptions from ROCm installations.
Hacker News (Front Page) files mainly under programming. We currently carry 662 of its stories. Top-voted stories on Hacker News.
Story provenance
Source · retrieval · rights · ranking — open for full record
inspect →
Attribution is not the same as permission. This drawer separates discovery metadata, excerpts, WeSearch-generated summaries, reuse status, and whether the publisher receives the visit. Nothing here claims a legal grant the publisher has not made.
Record
| Original publisher | GitHub |
| Canonical URL | https://github.com/epscylonb/1386.ai.rocm |
| Publication time | Tue, 28 Apr 2026 05:39:35 +0000 |
| Retrieval time | 2026-04-28T05:55:05.983Z |
| Last seen | 2026-04-28T05:55:05.983Z |
| Headline source | Publisher (no WeSearch rewrite) |
| Excerpt source | publisher body |
| Excerpt method | First ~120 words (~800 chars) of extracted publisher body, fair-use limited. |
| Summary | WeSearch · cerebras-chat (WeSearch summarizer) |
| Summary source text | contentText |
| Citation coverage | Summary is a WeSearch-generated derivative; primary citation is the original publisher URL. |
| Cluster | 7ownFYB5Ixnz |
| Cluster logic | Grouped by semantic title/content similarity across sources within a rolling window. Same-publisher template collisions are excluded from coverage comparison. |
| Ranking reason | Story pages are not engagement-ranked. Hub feeds use recency, with optional source-diversified chronological ordering (cap consecutive stories per source). No personalized ranking. |
| Publisher visit | Yes — open original |
| Substitutes article? | No — link-out required for full text |
Rights status (four layers)
WeSearch handling by dimension
| Indexing | May the item be indexed (stored, ranked, made findable)? | Allowed |
| Snippet | May a short excerpt of the publisher's text be shown? | Allowed |
| AI summary | May WeSearch generate its own short summary of the article? | Limited |
| Retrieval / RAG | May the content be exposed for third-party retrieval-augmented generation? | Not asserted |
| Model training | May the content be used to train AI models? | Not asserted |
| Commercial reuse | May the content be reused commercially? | Not permitted |
Basis: Derived from the published RSS/Atom feed. Contact: [email protected]. Reviewed: 2026-07-24.
Opening excerpt (first ~120 words) tap to expand
1386.ai.rocm This is a fork of 1386.ai ported to ROCm, targeting specifically the AMD Strix Halo APU but compatible with any ROCm-supported hardware. I found this repo through a Reddit post where the author (@eb1386) nonchalantly announced it after training a 235M-parameter model. Unlike most toy LLM implementations, this one is end-to-end — data prep, training, and fine-tuning included. The code is clean and accessible, making it an excellent reference for small-model training. Sadly the author has deleted their original post and comments, but you can see others' feedback here. Regarding ROCm support on Strix Halo, there's good news and bad news.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.