Free kit · Windows 11 · AMD Radeon

Hunyuan3D on Windows with an AMD GPU

Hunyuan3D makes the shape fine on AMD cards, but the texture step won't run, and on the newest Radeon cards it can quietly put colours in the wrong places. This free kit fixes both, natively on Windows. No Linux, no WSL.

Tested on a Radeon AI PRO R9700, ROCm 7.2.1, PyTorch 2.9.1

Why Hunyuan3D's texture step fails on AMD

1. custom_rasterizer is NVIDIA-only

The paint step needs custom_rasterizer, a CUDA extension that only builds for NVIDIA. On AMD the texture step can't even start.

2. ROCm returns wrong results on RDNA4

On RX 9070, RX 9060 and Radeon AI PRO R9700 cards, fp32 matrix multiplies with more than 524,288 rows silently return wrong numbers. No error, just texture colours in the wrong places.

Measured, not guessed

1.5 million

of 2 million rows came back wrong without the fix, some off by a factor of 10¹⁷

56 / 56

test cases matched the CPU's answer with the fix on

145 ms

to render 300k triangles at 1024 × 1024 with the AMD rasterizer, using 0.8 GB of VRAM

  • Without the fix, every row from 524,288 onward came back wrong.
  • It hit matmul, linear (every nn.Linear layer), addmm and bmm. fp16 was unaffected.
  • The rasterizer passed every check, and its GPU output matched the CPU exactly.

Measured on a Radeon AI PRO R9700 with ROCm 7.2.1 and PyTorch 2.9.1 on Windows 11.

What's in the kit

custom_rasterizer_amd/
A plain-PyTorch replacement for Hunyuan3D's NVIDIA-only custom_rasterizer, so the texture (paint) step runs on AMD GPUs. It also runs on NVIDIA and on the CPU, with the same results.
rocm_gfx12_gemm_fix.py
Fixes the ROCm bug on RDNA4 cards where fp32 matrix multiplies with more than 524,288 rows silently return wrong numbers. It splits those multiplies into smaller blocks. On cards without the bug it switches itself off.
tests/
A bug test that shows whether your card and ROCm version are affected (and checks the fix), and a rasterizer test that compares GPU against CPU and times it.
README.md
The full guide: installing PyTorch for AMD on Windows 11, checking your card, and the lines to add for Hunyuan3D-2 (2.0, 2mini, 2mv) and Hunyuan3D-2.1.
run-tests.bat, pyproject.toml
Double-click to run both tests; pip-install the kit into your environment.

Which cards need which fix

CardAMD rasterizerRDNA4 matmul fix
RDNA4: RX 9070, RX 9070 XT, RX 9060 XT, Radeon AI PRO R9700NeededNeeded
RDNA3: RX 7900, RX 7800, RX 7700, Radeon PRO W7900NeededNot needed (switches itself off)
NVIDIAOptional (if the CUDA build won't compile)Not needed

Free download · v1.0.0 · updated Nov 13, 2026

Get the kit

Enter your email and we'll send you a download link (a small zip). The link works for 7 days.

Would you use a one-click photo-to-3D app for AMD GPUs? (optional)

We only use your email to send the link. See our privacy policy.

Free, as-is, no support promised

The kit is free and provided as-is. Use it at your own risk; we can't promise support or that it works on every setup. Want it set up for you? Paid setup help is available.

Works with Hunyuan3D, but not affiliated with or endorsed by Tencent. The kit contains only our own code: no Hunyuan3D models, weights or code.

Free add-on · separate download

Make Hunyuan3D's shape step 3x faster on AMD

Most of the shape step is spent reading the surface out of the model. Hunyuan's faster read-out, FlashVDM, only looks near the surface, but on AMD it sometimes leaves small holes that ruin a print. This add-on turns FlashVDM on, seals the holes, and if a mesh still isn't closed, redoes that one shape the normal way. You don't need the texture kit above to use it, and it works fine alongside it.

About 3x

faster shape step on every test model

0.4%

average surface difference (0.4 mm on a 100 mm print); no missing parts

100%

closed meshes: holes sealed in 6–12 s, or that shape is redone the normal way

ModelPlain shape stepWith the add-on
Sailing ship144 s46 s
Sitting dragon155 s59 s
Wizard mini149 s52 s
Biplane140 s41 s
  • Same shape: surfaces differ by 0.4% of model size on average and 1.4% at the worst point, with no missing parts or added blobs.
  • FlashVDM's surface sits a hair inside the plain one, about 4.6% less volume; print checks came out the same.
  • Needs more GPU memory: about 14.5 GB at peak against about 9 GB. On 12 GB cards, keep the plain read-out.
  • The add-on includes a test that makes one shape both ways on your own card, so you can compare before you switch.

Measured on a Radeon AI PRO R9700 with ROCm 7.2.1 and PyTorch 2.9.1 on Windows 11: Hunyuan3D 2.1, 50 steps, octree 512, same picture and seed both ways.

Recommended specs

GPU
AMD Radeon with 16 GB or more (RDNA3 or RDNA4). Tested on a Radeon AI PRO R9700 (32 GB). 12 GB cards: keep the normal read-out.
System
Windows 11, Python 3.12, ROCm 7.2.1, PyTorch 2.9.1 (setup steps are in the texture kit's README)
Hunyuan3D
2.1 (tested) or 2.0, installed yourself from Tencent's official sources
Also needs
pymeshfix (one pip line in the README) and about 14.5 GB of free GPU memory during the shape step

Free download · v1.0.0 · updated Nov 22, 2026

Get the faster-shapes add-on

A separate small zip: flashvdm_amd.py, a side-by-side test for your card, and a README. The link works for 7 days and always gets the latest version. Same terms as the kit above: free, as-is, no support promised.

Would you use a one-click photo-to-3D app for AMD GPUs? (optional)

We only use your email to send the link. See our privacy policy.

Different AMD card? Something not working?

We built and tested these on one card. If the kit or add-on fails on yours, or you're stuck on any other AI or 3D tool on an AMD GPU, send us your card, versions and the error. We look into each report, and fixes we find go into the next kit update.

What were you running?

Faster: run this in the same Python your tool uses and paste what it prints

python -c "import platform,sys,torch;print(platform.platform());print('python',sys.version.split()[0]);print('torch',torch.__version__,'hip',getattr(torch.version,'hip',None));print(torch.cuda.get_device_name(0) if torch.cuda.is_available() else 'no GPU seen by torch');print(torch.cuda.get_device_properties(0).gcnArchName if torch.cuda.is_available() else '')"

Don't paste passwords or API keys. We use your email only to ask about this report and to tell you about a fix. See our privacy policy. Free and best-effort: we can't promise a fix for every setup.

Questions

Why won't Hunyuan3D's texture step run on my AMD GPU?
Hunyuan3D's paint step needs custom_rasterizer, a small CUDA extension that only builds for NVIDIA cards. On AMD you get errors like "No module named custom_rasterizer". The kit's custom_rasterizer_amd does the same job in plain PyTorch, so it runs on AMD through ROCm.
Why are my Hunyuan3D texture colours in the wrong places on an RX 9070 or R9700?
On RDNA4 cards, ROCm returns wrong numbers for fp32 matrix multiplies with more than 524,288 rows, with no error. It affects matmul, linear (every nn.Linear layer), addmm and bmm; fp16 isn't affected. In Hunyuan3D this scatters texture colours onto the wrong parts of the model. rocm_gfx12_gemm_fix splits those multiplies into smaller blocks so the answers come out right.
Do I need Linux or WSL?
No. The kit was built and tested natively on Windows 11 with AMD's ROCm 7.2.1 Windows wheels and PyTorch 2.9.1, using Python 3.12.
Which Hunyuan3D versions does it work with?
Hunyuan3D-2 (2.0, 2mini and 2mv) and Hunyuan3D-2.1's PBR painter. The README covers the extra steps 2.1 needs on Windows.
How do I know if my card has the RDNA4 bug?
Run run-tests.bat. The bug test reports BUG PRESENT, BUG NOT SEEN or FIX OK for your card and ROCm version. The fix does nothing on cards that don't need it, so it's safe to leave in.
Does the kit include Hunyuan3D?
No. It contains only our own code: no Hunyuan3D models, weights or code. Get Hunyuan3D from Tencent's official sources. The kit works with Hunyuan3D but isn't affiliated with or endorsed by Tencent.
How do I make Hunyuan3D's shape step faster on an AMD GPU?
Switch the shape read-out (volume decoding) to FlashVDM, Hunyuan's own faster decoder that only looks near the surface. On AMD it sometimes leaves small holes, so the free faster-shapes add-on seals them with pymeshfix and redoes the shape the normal way if a mesh still isn't closed. On a Radeon AI PRO R9700 the shape step went from about 145 s to about 50 s.
How much GPU memory does the faster shape step need?
About 14.5 GB at peak with FlashVDM, against about 9 GB for the plain read-out, at octree 512. 16 GB cards are tight; on 12 GB cards keep the plain read-out. One call switches back.
Will it work on my AMD card?
It was tested on a Radeon AI PRO R9700 (RDNA4). RDNA3 cards (RX 7000, Radeon PRO W7000) should work the same way, and the faster-shapes add-on needs about 16 GB of GPU memory. If it fails on your card, use the Report an AMD problem form on this page with your card, versions and the error, and we'll look into it.
Is it free? Is there support?
It's free and provided as-is: use it at your own risk, and no support is promised. If you'd like paid help setting it up on your PC, contact us.