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 .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ runs:
- name: Install Task
uses: go-task/setup-task@a00fbb05ce67b35648be3c78cbc9fd85354c757e # v2.2.0
with:
version: 3.53.1
# SHA256 of task_linux_amd64.tar.gz from the v3.53.1 task_checksums.txt.
checksum: a54a408f6861ff921f6e87774180db31bacd8c1e7c944ca696db9fea49a82fc7
version: 3.54.0
# SHA256 of task_linux_amd64.tar.gz from the v3.54.0 task_checksums.txt.
checksum: 680859dbb4d881a9c72d4d9a8f510825450849af8567deacd7302c01124416fb

- name: Setup Elixir/OTP
uses: erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124 # v1.24.1
Expand All @@ -39,7 +39,7 @@ runs:
otp-version: ${{ inputs.otp-version }}

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@02cb101ec7c40f2c49e1d9714d64511d8e1b74de # master
uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
with:
toolchain: ${{ inputs.rust-toolchain }}
components: ${{ inputs.rust-components }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ concurrency:

env:
MIX_ENV: test
ELIXIR_VERSION: "1.20.4"
OTP_VERSION: "29.1.1"
RUST_TOOLCHAIN: "1.98.1"
ELIXIR_VERSION: "1.20.5"
OTP_VERSION: "29.1.2"
RUST_TOOLCHAIN: "1.99.1"

jobs:
check:
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
shell: bash
run: |
mkdir -p "$HOME/.local/bin"
curl -fsSL https://github.com/zizmorcore/zizmor/releases/download/v1.30.1/zizmor-x86_64-unknown-linux-gnu.tar.gz \
curl -fsSL https://github.com/zizmorcore/zizmor/releases/download/v1.32.0/zizmor-x86_64-unknown-linux-gnu.tar.gz \
| tar -xz -C "$HOME/.local/bin" zizmor
echo "$HOME/.local/bin" >> "$GITHUB_PATH"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ concurrency:

env:
MIX_ENV: test
ELIXIR_VERSION: "1.20.4"
OTP_VERSION: "29.1.1"
RUST_TOOLCHAIN: "1.98.1"
ELIXIR_VERSION: "1.20.5"
OTP_VERSION: "29.1.2"
RUST_TOOLCHAIN: "1.99.1"

jobs:
integration:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:

env:
CARGO_TERM_COLOR: always
RUST_TOOLCHAIN: "1.98.1"
RUST_TOOLCHAIN: "1.99.1"

jobs:
detect:
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
persist-credentials: false

# pinned toolchain installer keeps the Rust version and cross targets reproducible
- uses: dtolnay/rust-toolchain@02cb101ec7c40f2c49e1d9714d64511d8e1b74de # master # zizmor: ignore[superfluous-actions]
- uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master # zizmor: ignore[superfluous-actions]
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
targets: ${{ matrix.target }}
Expand All @@ -194,11 +194,11 @@ jobs:
- name: Install ROCm / hipBLAS toolkit
if: matrix.install_rocm
run: |
# ROCm 7.2.3 / Ubuntu 24.04 (noble). Matches the .so versions
# ROCm 7.2.4 / Ubuntu 24.04 (noble). Matches the .so versions
# shipped by current nixpkgs and other distros that have moved
# off ROCm 6.
wget -q https://repo.radeon.com/amdgpu-install/7.2.3/ubuntu/noble/amdgpu-install_7.2.3.70203-1_all.deb
sudo dpkg -i amdgpu-install_7.2.3.70203-1_all.deb
wget -q https://repo.radeon.com/amdgpu-install/7.2.4/ubuntu/noble/amdgpu-install_7.2.4.70204-1_all.deb
sudo dpkg -i amdgpu-install_7.2.4.70204-1_all.deb
sudo apt-get update
sudo apt-get install -y --no-install-recommends rocm-dev hipblas-dev rocblas-dev
echo "PATH=/opt/rocm/bin:$PATH" >> "$GITHUB_ENV"
Expand Down Expand Up @@ -305,7 +305,7 @@ jobs:

# the release keeps its own copy, so the artifact only has to outlive the release job
- name: Upload artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: nif-${{ matrix.id }}
path: "*whisper_cpp_native-*.tar.gz"
Expand Down Expand Up @@ -352,7 +352,7 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}-release
cancel-in-progress: false
steps:
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: nif-*
merge-multiple: true
Expand All @@ -367,7 +367,7 @@ jobs:

# one pinned step handles tag targeting, asset upload, and release notes
- name: Create release
uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3 # zizmor: ignore[superfluous-actions]
uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4 # zizmor: ignore[superfluous-actions]
with:
tag_name: ${{ needs.detect.outputs.tag }}
# a changed tarball breaks the published Hex checksum file
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:

- uses: erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124 # v1.24.1
env:
INSTALL_DIR_FOR_OTP: ${{ runner.tool_cache }}/setup-beam/otp-29.1.1
INSTALL_DIR_FOR_ELIXIR: ${{ runner.tool_cache }}/setup-beam/elixir-1.20.4
INSTALL_DIR_FOR_OTP: ${{ runner.tool_cache }}/setup-beam/otp-29.1.2
INSTALL_DIR_FOR_ELIXIR: ${{ runner.tool_cache }}/setup-beam/elixir-1.20.5
with:
elixir-version: "1.20.4"
otp-version: "29.1.1"
elixir-version: "1.20.5"
otp-version: "29.1.2"

- name: Install dependencies
run: |
Expand All @@ -51,7 +51,7 @@ jobs:

- name: Install cargo-audit
if: ${{ !cancelled() }}
uses: taiki-e/install-action@dfae9bf3d6f6c6f20ef4ebb3486c01a51341ff12 # v2.87.18
uses: taiki-e/install-action@cfdb7ed4ccc7c7dce37759eae89dc5674b469b39 # v2.90.3
with:
tool: cargo-audit

Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
the old NIF file again before it extracts the new one. Version 0.9.0
wrote over the file in place, which can crash a process that has the NIF
loaded.
- The precompiled NIFs are built with Rust 1.99.1 (was 1.98.1), and the
`hipblas` variant with ROCm 7.2.4 (was 7.2.3). CI uses Elixir 1.20.5 and
OTP 29.1.2. Source builds still need Rust 1.98 or later.
- Cargo refresh: `smallvec` 1.16.5 is in the NIF, and `cc` 1.11.1 and `log`
0.4.35 are build only. `mix.lock` has rustler_precompiled 0.10.1.

### Fixed
- `transcribe/3` with `:offset_ms` or `:duration_ms` and no
Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"makeup_erlang": {:hex, :makeup_erlang, "1.1.0", "835f7e60792e08824cda445639555d7bf1bbbddb1b60b306e33cb6f6db24dc74", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "1cd6780fb1dd1a03979abaed0fe82712b0625118fd5257d3ebbf73f960c73c3c"},
"nimble_parsec": {:hex, :nimble_parsec, "1.4.2", "8efba0122db06df95bfaa78f791344a89352ba04baedd3849593bfce4d0dc1c6", [:mix], [], "hexpm", "4b21398942dda052b403bbe1da991ccd03a053668d147d53fb8c4e0efe09c973"},
"rustler": {:hex, :rustler, "0.38.0", "7a8906998ff0d28e3021c0a73264abcda719bda344b2e58307c6805b0f87c9b4", [:mix], [{:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "704c03c1bf66be12b031c5a389347b91c81c5cb819a24b068b0de36fe4a5652a"},
"rustler_precompiled": {:hex, :rustler_precompiled, "0.10.0", "8f07ff0865cb09a6a0f75e11701e9a46e331e05f737da4e5b01374dcd25b68c0", [:mix], [{:rustler, "~> 0.28", [hex: :rustler, repo: "hexpm", optional: true]}], "hexpm", "c68c9dc732c12acfdf4a7fa06f4e6f48a641179e6be49a474c8a60809929c430"},
"rustler_precompiled": {:hex, :rustler_precompiled, "0.10.1", "2895d3a3239d612c13c18945c0a693e07de4e8f9bc2b6b2297cba3d6576f9eea", [:mix], [{:rustler, "~> 0.28", [hex: :rustler, repo: "hexpm", optional: true]}], "hexpm", "0efa66bc2a4206aec64a2c422ca0b1d69bdc411c7b359ec928feb889357b4abb"},
}
12 changes: 6 additions & 6 deletions native/whisper_cpp_native/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading