Skip to content

Set correct threads_per_warp to 64 for AMD GPU#170

Open
yaomingamd wants to merge 9 commits into
ROCm:rocm-jaxlib-v0.5.0from
yaomingamd:rocm-jaxlib-v0.5.0_aiss_ws64
Open

Set correct threads_per_warp to 64 for AMD GPU#170
yaomingamd wants to merge 9 commits into
ROCm:rocm-jaxlib-v0.5.0from
yaomingamd:rocm-jaxlib-v0.5.0_aiss_ws64

Conversation

@yaomingamd
Copy link
Copy Markdown

In xla0.5.0, some algorithms depends on warp_size 32, so that thereads_per_warp has been manually set to 32. This PR tries to reset threads_per_warp to 64 correctly for current AMD GPU and at the same, fix unittest failure/numerical issues due to this change. I have run unittest of jax, it shows that unittests have much less failure/numerical issues than original/base branch rocm-jaxlib-v0.5.0. For example, pytest tests/pallas pass all unittests.
=============== 1907 passed, 3307 skipped in 1281.18s (0:21:21) ================

@i-chaochen
Copy link
Copy Markdown
Collaborator

Hi @yaomingamd you can close this PR due to #177

@alekstheod alekstheod deleted the branch ROCm:rocm-jaxlib-v0.5.0 July 3, 2025 08:10
@alekstheod alekstheod closed this Jul 3, 2025
@alekstheod alekstheod reopened this Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants