Skip to content

Commit 04a4f9b

Browse files
Merge pull request jax-ml#25096 from nitins17:update-rocm-ci-scripts
PiperOrigin-RevId: 700725187
2 parents df8ecb9 + 84dc9ba commit 04a4f9b

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

build/rocm/dev_build_rocm.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,14 @@ def build_jax_xla(xla_path, rocm_version, rocm_target, use_clang, clang_path):
7777
build_command = [
7878
"python3",
7979
"./build/build.py",
80-
"--enable_rocm",
81-
"--build_gpu_plugin",
82-
"--gpu_plugin_rocm_version=60",
80+
"build"
8381
f"--use_clang={str(use_clang).lower()}",
82+
"--wheels=jaxlib,jax-rocm-plugin,jax-rocm-pjrt"
83+
"--rocm_path=%/opt/rocm-{rocm_version}/",
84+
"--rocm_version=60",
8485
f"--rocm_amdgpu_targets={rocm_target}",
85-
f"--rocm_path=/opt/rocm-{rocm_version}/",
8686
bazel_options,
87+
"--verbose"
8788
]
8889

8990
if clang_option:

build/rocm/tools/build_wheels.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,12 @@ def build_jaxlib_wheel(
9393
cmd = [
9494
"python",
9595
"build/build.py",
96-
"--enable_rocm",
97-
"--build_gpu_plugin",
98-
"--gpu_plugin_rocm_version=60",
96+
"build"
97+
"--wheels=jaxlib,jax-rocm-plugin,jax-rocm-pjrt"
9998
"--rocm_path=%s" % rocm_path,
99+
"--rocm_version=60",
100100
"--use_clang=%s" % use_clang,
101+
"--verbose"
101102
]
102103

103104
# Add clang path if clang is used.

0 commit comments

Comments
 (0)