Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,14 +320,14 @@ The releases come with prebuilt:
2. The PJRT for CPU as a standalone plugin (can be preloaded/pre-linked or loaded on the fly with `dlopen`; and
as a static library, that can be pre-linked: slower but more convenient for deployment.

The CUDA PJRT has 2 versions: CUDA 12 (`install_cuda.sh`) and CUDA 13 (`install_cuda13`).
The former (CUDA 12) has been failling recently (version of Sept 16th 2025) for some models with RTX 5090 (but may work for older hardware) -- it's likely an Nvidia issue.
The later (CUDA 13) requires drivers 580 or later, and for the newer cards (nvidia RTX 50XX / Blackwell) one needs the open source version of Nvidia drivers.
There are two CUDA PJRT versions: CUDA 12 (`install_cuda.sh`) and CUDA 13 (`install_cuda13.sh`).
The former (CUDA 12) has been failing recently (version of Sept 16th 2025) for some models with RTX 5090 (but may work for older hardware) -- it's likely an Nvidia issue (??).
The later (CUDA 13) requires drivers 580 or later, and for the newer cards (nvidia RTX 50XX / Blackwell) one needs the open source version of Nvidia drivers (usually available in most distributions).

The
[`cmd/install_darwin_arm64.sh`](https://github.com/gomlx/gopjrt/blob/main/cmd/install_darwin_arm64.sh) script can
download the Apple/Metal PJRT Plugin if the environment variable `GOPJRT_METAL=1`
(**EXPERIMENTAL** and not fully working, see notes in installation script).
(**EXPERIMENTAL** and not fully working, see notes in the installation script).
In this case, considering using [the new `stablehlo`](https://github.com/gomlx/stablelho) instead of `xlabuilder` to build your program,
since it only accepts StableHLO as input.

Expand Down
2 changes: 1 addition & 1 deletion cmd/install_darwin_amd64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fi
# Fetch address of resources for this release version
release_url=https://api.github.com/repos/gomlx/gopjrt/releases/latest
if [[ "${VERSION}" != "latest" ]]; then
release_url="https://api.github.com/repos/gomlx/gopjrt/releases/tags/v${VERSION}"
release_url="https://api.github.com/repos/gomlx/gopjrt/releases/tags/${VERSION}"
fi

printf "\nUsing ${release_url} to find the address of ${VERSION}\n"
Expand Down
2 changes: 1 addition & 1 deletion cmd/install_darwin_arm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fi
# Fetch address of resources for this release version
release_url=https://api.github.com/repos/gomlx/gopjrt/releases/latest
if [[ "${VERSION}" != "latest" ]]; then
release_url="https://api.github.com/repos/gomlx/gopjrt/releases/tags/v${VERSION}"
release_url="https://api.github.com/repos/gomlx/gopjrt/releases/tags/${VERSION}"
fi

printf "\nUsing ${release_url} to find the address of ${VERSION}\n"
Expand Down
2 changes: 1 addition & 1 deletion cmd/install_linux_amd64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fi
# Fetch address of resources for this release version
release_url=https://api.github.com/repos/gomlx/gopjrt/releases/latest
if [[ "${VERSION}" != "latest" ]]; then
release_url="https://api.github.com/repos/gomlx/gopjrt/releases/tags/v${VERSION}"
release_url="https://api.github.com/repos/gomlx/gopjrt/releases/tags/${VERSION}"
fi

printf "\nUsing ${release_url} to find the address of ${VERSION}\n"
Expand Down
2 changes: 1 addition & 1 deletion cmd/install_linux_amd64_amazonlinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fi
# Fetch address of resources for this release version
release_url=https://api.github.com/repos/gomlx/gopjrt/releases/latest
if [[ "${VERSION}" != "latest" ]]; then
release_url="https://api.github.com/repos/gomlx/gopjrt/releases/tags/v${VERSION}"
release_url="https://api.github.com/repos/gomlx/gopjrt/releases/tags/${VERSION}"
fi

printf "\nUsing ${release_url} to find the address of ${VERSION}\n"
Expand Down
4 changes: 2 additions & 2 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Gopjrt Changelog

# Next
# v0.8.2 - 2025/09/29 Updated CUDA drivers

* Updated PJRT's `pjrt_c_api.h` and protos from github.com/openxla/xla, and regenerated wrapper code.
* Added `cmd/install_cuda13.sh` script to install "jax\[cuda13\]" drivers.
* Updated README.md to stard adverstising of `xlabuilder` deprecation.
* Moved `pjrt.SuppressAbseilLoggingHack` implementation to the "per-platform" files `pjrt/dynamiclib_posix.go` and
`pjrt/dynamiclib_darwin.go`: the first using `syscall.Dup3()` and the second using `syscall.Dup2()`.

# v0.8.1 = 2025/09/21 Changes in support [github.com/openxla/stablehlo](https://github.com/openxla/stablehlo)
# v0.8.1 - 2025/09/21 Changes in support [github.com/openxla/stablehlo](https://github.com/openxla/stablehlo)

* Moved `stablehlo` to its own repository.
* Updated dependencies.
Expand Down