Skip to content

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 02 Oct 07:58
· 7 commits to master since this release

Binaries

platform archive
macOS Apple Silicon laya-rs-v0.3.1-aarch64-apple-darwin.tar.gz
Linux x86_64 laya-rs-v0.3.1-x86_64-unknown-linux-gnu.tar.gz
Linux aarch64 laya-rs-v0.3.1-aarch64-unknown-linux-gnu.tar.gz

Each archive holds laya and the README.

CUDA + flash-attn build

A CUDA-enabled build with laya's fused/unpadded flash-attention path
(--features flash-attn), Linux x86_64 only:
laya-rs-flash-attn-v0.3.1-x86_64-unknown-linux-gnu.tar.gz.
Requires an Ampere-or-newer NVIDIA GPU (sm80+) and a host CUDA driver
compatible with the toolkit version it was built against (see
packaging/README.md).

Debian packages

sudo dpkg -i laya-rs_0.3.1-1_amd64.deb
platform package
Debian/Ubuntu amd64 laya-rs_0.3.1-1_amd64.deb
Debian/Ubuntu arm64 laya-rs_0.3.1-1_arm64.deb
Debian/Ubuntu amd64, CUDA + flash-attn laya-rs-flash-attn_0.3.1-1_amd64.deb

laya-rs-flash-attn conflicts with laya-rs (both install the same
binary name), so only one can be installed at a time. It depends on
libcuda1; see the CUDA build note above for driver compatibility.

Arch package

sudo pacman -U laya-rs-0.3.1-1-x86_64.pkg.tar.zst

A CUDA + flash-attn build is published the same way, as
laya-rs-flash-attn-0.3.1-1-x86_64.pkg.tar.zst,
depending on nvidia-utils and conflicting with laya-rs.

The same package is published to the signed pacman repository at
apiplant.github.io/pacman, which is the way to get updates with
pacman -Syu (one-time setup, then this repeats nothing):

curl -sSfL https://apiplant.github.io/pacman/apiplant.gpg -o /tmp/apiplant.gpg
keyid=$(gpg --show-keys --with-colons /tmp/apiplant.gpg | awk -F: '/^pub:/ { print $5; exit }') && sudo pacman-key --add /tmp/apiplant.gpg && sudo pacman-key --finger "$keyid" && sudo pacman-key --lsign-key "$keyid"
printf '\n[apiplant]\nSigLevel = Required DatabaseOptional\nServer = https://apiplant.github.io/pacman/$arch\n' | sudo tee -a /etc/pacman.conf > /dev/null
sudo pacman -Sy laya-rs

apt

The Debian packages above are also published to the signed apt
repository at apt.apiplant.com, which is the way to get updates
with apt upgrade (one-time setup):

curl -sSfL https://apt.apiplant.com/apiplant-archive-keyring.gpg | sudo tee /usr/share/keyrings/apiplant.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/apiplant.gpg] https://apt.apiplant.com stable main" | sudo tee /etc/apt/sources.list.d/apiplant.list > /dev/null
sudo apt update && sudo apt install laya-rs

Homebrew

brew tap apiplant/tap
brew install apiplant/tap/laya-rs

crates.io

cargo install laya-rs     # binary
cargo add laya-rs         # library

Each archive and package has a matching .sha256 file.

Full Changelog: v0.3.0...v0.3.1