获取代码
从这台服务器直连下载,不经过代理,速度约为走代理的 3~5 倍。
git clone https://www.romancohort.cloud/git/Fuck-you-AMD.git
仓库信息
- GitHub:RomanCohort/Fuck-you-AMD
- 默认分支:
master - 最后提交:2026-07-28 — ROCm gfx1151 (RDNA 3.5) non-deterministic memory corruption bug report
- 主要语言:Python
- 文件数:3(3 个可在线查看)
- 镜像 commit:
582d25dfdf7c
README
ROCm gfx1151 Non-Deterministic Memory Corruption Bug Report
Non-deterministic memory corruption in PyTorch reduction operations on gfx1151 (RDNA 3.5 / Radeon 8060S) with ROCm 7.x.
Quick Summary
- GPU: AMD Radeon 8060S (gfx1151 / RDNA 3.5), Ryzen AI Max 395
- OS: Windows 11
- ROCm: 7.1
- PyTorch: 2.12.0a0+rocm7.13.0a20260313 (HIP 7.2.0)
- Bugs:
.sum(dim)/.mean(dim)/.max(dim)/.min(dim)return garbage values (~10^50) with ~20% failure rate - Impact: Training is fundamentally broken — backward pass via
AddmmBackward0produces NaN
Files
| File | Description |
|---|---|
ROCM_GFX1151_BUG_REPORT.md |
Full bug report with analysis |
reproduce_gfx1151_bug.py |
Minimal reproduction script |
rocm_reduction_patch.py |
Workaround patch (partial — forward only) |
Reproduction
# On gfx1151 device with ROCm torch installed:
python reproduce_gfx1151_bug.py
Bug #1: Reduction Corruption
import torch
for i in range(100):
x = torch.randn(4, 251, 5, device="cuda")
m = x.max(dim=-1)[0].max().item() # Returns 10^30~10^50 ~20% of time
Bug #2: Backward NaN
import torch
model = torch.nn.Linear(64, 32).cuda()
x = torch.randn(4, 100, 64, device="cuda")
loss = model(x).mean()
loss.backward() # NaN gradients via AddmmBackward0
Request to AMD
- Acknowledge gfx1151/RDNA 3.5 ROCm support issues
- Provide timeline for reduction kernel fix
- Advise on stable ROCm version for gfx1151
- Clarify if this affects other RDNA 3.x architectures