Skip to content

Pass ROCm package rocm_package_find_links_url through JAX release workflow#65

Merged
erman-gurses merged 9 commits into
mainfrom
users/erman-gurses/update-jax
Jun 26, 2026
Merged

Pass ROCm package rocm_package_find_links_url through JAX release workflow#65
erman-gurses merged 9 commits into
mainfrom
users/erman-gurses/update-jax

Conversation

@erman-gurses

@erman-gurses erman-gurses commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Related PR: ROCm/TheRock#6054

Add rocm_package_find_links_url to the rockrel JAX release workflow and forward it to the reusable TheRock JAX build workflow.

This allows the JAX manylinux build path to consume ROCm packages from a configurable package index instead of relying on a hardcoded URL.

Changes

  • Add rocm_package_find_links_url workflow input to multi_arch_release_linux_jax_wheels.yml

  • Forward rocm_package_find_links_url to the reusable multi_arch_build_linux_jax_wheels.yml workflow

  • Default the value to the current dev multi-arch package index:

    • https://rocm.devreleases.amd.com/whl-multi-arch/

Motivation

The JAX manylinux build flow now installs ROCm packages from a package index. Passing the package source as an input allows the workflow to support different release channels (dev, nightly, prerelease) without hardcoding a specific index URL in the build workflow.

Tests:
https://github.com/ROCm/rockrel/actions/runs/28086158341

Comment thread .github/workflows/multi_arch_release_linux_jax_wheels.yml Outdated

@ScottTodd ScottTodd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once the floating pins are switched back to main instead of your user branch

Comment thread .github/workflows/multi_arch_release.yml Outdated
Comment thread .github/workflows/multi_arch_release_linux_jax_wheels.yml Outdated
@erman-gurses erman-gurses changed the title Pass ROCm package index URL through JAX release workflow Pass ROCm package rocm_package_find_links_url through JAX release workflow Jun 26, 2026
@erman-gurses erman-gurses requested a review from marbre June 26, 2026 17:23
@marbre

marbre commented Jun 26, 2026

Copy link
Copy Markdown
Member

Heads up, if cherry-picking this to the release branch next week, we need to pin to the release branch.

@erman-gurses

Copy link
Copy Markdown
Contributor Author

we need to pin to the release branch.

I see - makes sense.

erman-gurses added a commit to ROCm/TheRock that referenced this pull request Jun 26, 2026
## Summary
ISSUE ID: #3878
Related PR: ROCm/rockrel#65
Extend the JAX multi-arch release workflows to support both
`rocm-jaxlib-v0.9.1` and `rocm-jaxlib-v0.10.0` release lines.

## Changes

### Release workflow

- Add matrix support for:
  - `rocm-jaxlib-v0.9.1`
  - `rocm-jaxlib-v0.10.0`
- Add release-line specific metadata:
  - `jax_repository`
  - `build_mode`
  - `gfx_arch`

### Build workflow

#### rocm-jaxlib-v0.9.1

- Continue using the existing native build flow.
- Build from `ROCm/rocm-jax`.
- Continue using `build/ci_build`.

#### rocm-jaxlib-v0.10.0

- Build from `ROCm/jax`.
- Build a manylinux image using the release branch Dockerfile from
`ROCm/rocm-jax`.
- Build wheels inside the manylinux container using `build/build.py`.

### Testing

On rockrel: 

https://github.com/ROCm/rockrel/actions/runs/28217952215/job/83613621212
https://github.com/ROCm/rockrel/actions/runs/28224689859

- Preserve existing GPU-family based runner selection through
`configure_target_run.py`.
- Add a JAX device visibility sanity check before running tests:

```bash
python -c "import jax; print(jax.local_devices())"

- Verified matrix expansion across Python 3.11–3.14.
- Verified native build path for rocm-jaxlib-v0.9.1.
- Verified manylinux build path for rocm-jaxlib-v0.10.0.
- Verified release artifact publication.
- Verified JAX device visibility check executes before tests.

TODO: 
Run JAX builds inside a top-level GitHub Actions job container, similar to existing PyTorch workflows.
@erman-gurses erman-gurses merged commit b775c04 into main Jun 26, 2026
1 check passed
@erman-gurses erman-gurses deleted the users/erman-gurses/update-jax branch June 26, 2026 17:44
marbre pushed a commit to ROCm/TheRock that referenced this pull request Jun 29, 2026
## Summary
ISSUE ID: #3878
Related PR: ROCm/rockrel#65
Extend the JAX multi-arch release workflows to support both
`rocm-jaxlib-v0.9.1` and `rocm-jaxlib-v0.10.0` release lines.

## Changes

### Release workflow

- Add matrix support for:
  - `rocm-jaxlib-v0.9.1`
  - `rocm-jaxlib-v0.10.0`
- Add release-line specific metadata:
  - `jax_repository`
  - `build_mode`
  - `gfx_arch`

### Build workflow

#### rocm-jaxlib-v0.9.1

- Continue using the existing native build flow.
- Build from `ROCm/rocm-jax`.
- Continue using `build/ci_build`.

#### rocm-jaxlib-v0.10.0

- Build from `ROCm/jax`.
- Build a manylinux image using the release branch Dockerfile from
`ROCm/rocm-jax`.
- Build wheels inside the manylinux container using `build/build.py`.

### Testing

On rockrel: 

https://github.com/ROCm/rockrel/actions/runs/28217952215/job/83613621212
https://github.com/ROCm/rockrel/actions/runs/28224689859

- Preserve existing GPU-family based runner selection through
`configure_target_run.py`.
- Add a JAX device visibility sanity check before running tests:

```bash
python -c "import jax; print(jax.local_devices())"

- Verified matrix expansion across Python 3.11–3.14.
- Verified native build path for rocm-jaxlib-v0.9.1.
- Verified manylinux build path for rocm-jaxlib-v0.10.0.
- Verified release artifact publication.
- Verified JAX device visibility check executes before tests.

TODO: 
Run JAX builds inside a top-level GitHub Actions job container, similar to existing PyTorch workflows.
marbre added a commit to ROCm/TheRock that referenced this pull request Jun 29, 2026
Cherry-picks 3b10211 into the 7.14 release branch.

---

## Summary
ISSUE ID: #3878 Related PR:
ROCm/rockrel#65 Extend the JAX multi-arch
release workflows to support both `rocm-jaxlib-v0.9.1` and
`rocm-jaxlib-v0.10.0` release lines.

## Changes

### Release workflow

- Add matrix support for:
  - `rocm-jaxlib-v0.9.1`
  - `rocm-jaxlib-v0.10.0`
- Add release-line specific metadata:
  - `jax_repository`
  - `build_mode`
  - `gfx_arch`

### Build workflow

#### rocm-jaxlib-v0.9.1

- Continue using the existing native build flow.
- Build from `ROCm/rocm-jax`.
- Continue using `build/ci_build`.

#### rocm-jaxlib-v0.10.0

- Build from `ROCm/jax`.
- Build a manylinux image using the release branch Dockerfile from
`ROCm/rocm-jax`.
- Build wheels inside the manylinux container using `build/build.py`.

### Testing

On rockrel: 


https://github.com/ROCm/rockrel/actions/runs/28217952215/job/83613621212
https://github.com/ROCm/rockrel/actions/runs/28224689859

- Preserve existing GPU-family based runner selection through
`configure_target_run.py`.
- Add a JAX device visibility sanity check before running tests:

```bash
python -c "import jax; print(jax.local_devices())"

- Verified matrix expansion across Python 3.11–3.14.
- Verified native build path for rocm-jaxlib-v0.9.1.
- Verified manylinux build path for rocm-jaxlib-v0.10.0.
- Verified release artifact publication.
- Verified JAX device visibility check executes before tests.

TODO: 
Run JAX builds inside a top-level GitHub Actions job container, similar to existing PyTorch workflows.

Co-authored-by: erman-gurses <99776114+erman-gurses@users.noreply.github.com>
marbre added a commit that referenced this pull request Jun 29, 2026
…orkflow (#65) (#68)

Cherry-pick b775c04 into the 7.14 release branch.

---

## Summary
Related PR: ROCm/TheRock#6054

Add `rocm_package_find_links_url` to the rockrel JAX release workflow
and forward it to the reusable TheRock JAX build workflow.

This allows the JAX manylinux build path to consume ROCm packages from a
configurable package index instead of relying on a hardcoded URL.

## Changes

* Add `rocm_package_find_links_url` workflow input to
`multi_arch_release_linux_jax_wheels.yml`
* Forward `rocm_package_find_links_url` to the reusable
`multi_arch_build_linux_jax_wheels.yml` workflow
* Default the value to the current dev multi-arch package index:

  * `https://rocm.devreleases.amd.com/whl-multi-arch/`

## Motivation

The JAX manylinux build flow now installs ROCm packages from a package
index. Passing the package source as an input allows the workflow to
support different release channels (dev, nightly, prerelease) without
hardcoding a specific index URL in the build workflow.

Tests:
https://github.com/ROCm/rockrel/actions/runs/28086158341

Co-authored-by: erman-gurses <99776114+erman-gurses@users.noreply.github.com>
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