×ばつ Acceleration for Video Diffusion Models - AMD port of TurboDiffusion - Working on gfx1151 on Windows by jammm · Pull Request #66 · thu-ml/TurboDiffusion">
Skip to content

Navigation Menu

Sign in
Sign up

AMD port of TurboDiffusion - Working on gfx1151 on Windows - #66

Draft
jammm wants to merge 4 commits into
thu-ml:main from
jammm:jam/amd_windows
Draft

AMD port of TurboDiffusion - Working on gfx1151 on Windows #66
jammm wants to merge 4 commits into
thu-ml:main from
jammm:jam/amd_windows

Conversation

@jammm

@jammm jammm commented Dec 30, 2025
edited
Loading

Copy link
Copy Markdown

Use rocWMMA for GEMM kernels, and use triton-windows and SpargeAttn modified to support AMD on Windows.
See README_AMD_WINDOWS.md for setup steps.

Generated video using Wan2.1 1.4b 480p default command as per README.md:

generated_video.mp4

Limitations:

  • Currently supports only RDNA3/3.5, though can possibly work on RDNA4 with minor modificaitons.
  • multi-cta/distributed not tested

0xDELUXA reacted with eyes emoji

bat3a commented Jan 5, 2026

Copy link
Copy Markdown

3 Install Dependencies

pip install -r requirements.txt
in which repo?

jammm commented Jan 5, 2026

Copy link
Copy Markdown
Author

3 Install Dependencies

pip install -r requirements.txt in which repo?

In Turbodiffusion repo (on this PR branch)

bat3a commented Jan 5, 2026

Copy link
Copy Markdown

3 Install Dependencies
pip install -r requirements.txt in which repo?

In Turbodiffusion repo (on this PR branch)

couldnt git clone this branch, so i modified the files by hand
git clone --branch jam/windows_amd https://github.com/woct0rdho/triton-windows.git triton-windows-patch Cloning into 'triton-windows-patch'... fatal: Remote branch jam/windows_amd not found in upstream origin

jammm commented Jan 5, 2026

Copy link
Copy Markdown
Author

3 Install Dependencies
pip install -r requirements.txt in which repo?

In Turbodiffusion repo (on this PR branch)

couldnt git clone this branch, so i modified the files by hand git clone --branch jam/windows_amd https://github.com/woct0rdho/triton-windows.git triton-windows-patch Cloning into 'triton-windows-patch'... fatal: Remote branch jam/windows_amd not found in upstream origin

ah, for triton-windows you just need pip install triton-windows. I'll update the README to mention this. My bad

Copy link
Copy Markdown

The step "pip install -r requirements.txt" should not be necessary, as the TurboDiffusion project does not contain a requirements.txt file; only the SpargeAttn project includes such a file.

jammm reacted with thumbs up emoji

0xDELUXA commented Jan 6, 2026

Copy link
Copy Markdown

...though can possibly work on RDNA4 with minor modificaitons.

Sounds promising 👀

jammm commented Jan 6, 2026

Copy link
Copy Markdown
Author

The step "pip install -r requirements.txt" should not be necessary, as the TurboDiffusion project does not contain a requirements.txt file; only the SpargeAttn project includes such a file.

Fixed, thanks!

...though can possibly work on RDNA4 with minor modificaitons.

Sounds promising 👀

Yes, it's just a matter of refactoring the rocWMMA code to not assume that the per-thread matrix fragments are replicated across the half-waves. It's just another prompt to claude actually.

0xDELUXA reacted with eyes emoji

jammm and others added 4 commits January 6, 2026 17:05
- Add HIP kernels for GEMM, LayerNorm, RMSNorm, and quantization ops
- Integrate rocWMMA for matrix operations on AMD GPUs
- Update setup.py for Windows ROCm builds with clang-cl
- Add platform detection (CUDA/HIP) with common abstractions
- Optimize SLA kernel config for ROCm (BLKK=16)
- Update .gitignore to exclude build artifacts and IDE files
- Fix distributed utils and network files for ROCm compatibility

0xDELUXA commented Jan 7, 2026

Copy link
Copy Markdown

Yes, it's just a matter of refactoring the rocWMMA code to not assume that the per-thread matrix fragments are replicated across the half-waves. It's just another prompt to claude actually.

I'll be the 1st tester though, when the time comes ^^

jammm reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /