Skip to content

Commit e05a86a

Browse files
author
Rahul Batra
committed
[ROCm]: Update build script
1 parent 63b7be4 commit e05a86a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build/rocm/build_rocm.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,16 @@ fi
5252

5353

5454
#Export JAX_ROCM_VERSION so that it is appened in the wheel name
55+
export JAXLIB_RELEASE=1
5556
rocm_version=$(cat /opt/rocm/.info/version | cut -d "-" -f 1)
5657
export JAX_ROCM_VERSION=${rocm_version//./}
5758

5859
#Build and install wheel
5960
python3 ./build/build.py --enable_rocm --rocm_path=${ROCM_PATH} --bazel_options=--override_repository=xla=${XLA_CLONE_DIR}
61+
62+
JAX_RELEASE=1 python -m build
63+
#pip3 install --force-reinstall . # installs jax
6064
pip3 install --force-reinstall dist/*.whl # installs jaxlib (includes XLA)
61-
pip3 install --force-reinstall . # installs jax
6265

6366
#This is for CI to read without having to start the container again
6467
if [ -v CI_RUN ]; then

0 commit comments

Comments
 (0)