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
6 changes: 3 additions & 3 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: Criterion Benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand All @@ -33,15 +33,15 @@ jobs:
run: cargo bench --bench transformer -- --warm-up-time 1 --measurement-time 1 --sample-size 10

- name: Upload benchmark report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: criterion-report
path: target/criterion/
retention-days: 30

- name: Post benchmark results (PR only)
if: github.event_name == 'pull_request'
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
const fs = require('fs');
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
Expand All @@ -27,7 +27,7 @@ jobs:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
Expand All @@ -41,7 +41,7 @@ jobs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
Expand All @@ -57,7 +57,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
Expand All @@ -74,7 +74,7 @@ jobs:
name: MSRV (1.75)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.75"
Expand All @@ -95,7 +95,7 @@ jobs:
- "--features server"
- "--all-features"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Code Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
Expand All @@ -34,7 +34,7 @@ jobs:
--output-path lcov.info

- name: Upload to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v7
with:
files: lcov.info
fail_ci_if_error: false
Expand All @@ -49,7 +49,7 @@ jobs:
--output-dir coverage

- name: Upload coverage artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: coverage-report
path: coverage/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
permissions:
checks: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: rustsec/audit-check@v2.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -26,7 +26,7 @@ jobs:
name: Dependency Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check all
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed — dependencies
- Took every open Dependabot bump in one pass: candle-core and candle-nn 0.8.4 to 0.11.0,
tokenizers 0.21.4 to 0.23.1, safetensors 0.4.5 to 0.8.0, rand 0.8 to 0.9, rand_distr 0.4
to 0.5, criterion 0.5 to 0.8, clap, bytemuck and tokio to their latest patch releases,
and actions/checkout, actions/github-script, actions/upload-artifact and
codecov/codecov-action in the workflows.
- Three mechanical migrations were needed: `StdRng::from_entropy` became `from_os_rng`,
`Rng::gen`/`gen_range` became `random`/`random_range`, and
`safetensors::serialize` now takes an owned `Option` for its metadata argument.
- The parity tests pass unchanged against candle 0.11, so the upgrade does not move the
numbers.

### Fixed — found while validating against the real 350M checkpoint
- **`codegen download` reported success without downloading anything.**
`huggingface-cli` has been renamed to `hf`; the old name now prints a deprecation
Expand Down
Loading