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
3 changes: 0 additions & 3 deletions .github/workflows/benching.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,5 @@ jobs:
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable

- name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1)
run: cargo update -p ndarray:0.17.1 --precise 0.16.1

- name: Run cargo bench iai
run: cargo bench iai --all
3 changes: 0 additions & 3 deletions .github/workflows/checking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ jobs:
- name: Log active toolchain
run: rustup show

- name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1)
run: cargo update -p ndarray:0.17.1 --precise 0.16.1

# Check if linfa compiles by itself without uniting dependency features with other crates
- name: Run cargo check on linfa
run: cargo check
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/codequality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ jobs:
toolchain: ${{ matrix.toolchain }}
components: rustfmt, clippy

- name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1)
run: cargo update -p ndarray:0.17.1 --precise 0.16.1


- name: Run cargo fmt
run: cargo fmt --all -- --check
Expand All @@ -44,8 +43,7 @@ jobs:
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable

- name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1)
run: cargo update -p ndarray:0.17.1 --precise 0.16.1


- name: Get rustc version
id: rustc-version
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:
- name: 'Checkout'
uses: actions/checkout@master

- name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1)
run: cargo update -p ndarray:0.17.1 --precise 0.16.1


- name: 'Build only'
uses: shalzz/zola-deploy-action@master
Expand All @@ -42,8 +41,7 @@ jobs:
with:
components: rustfmt, rust-src

- name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1)
run: cargo update -p ndarray:0.17.1 --precise 0.16.1


- name: Build Documentation
run: cargo doc --workspace --no-deps
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
with:
toolchain: ${{ matrix.toolchain }}

- name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1)
run: cargo update -p ndarray:0.17.1 --precise 0.16.1


- name: Run cargo test
run: cargo test --release --workspace
Expand All @@ -53,8 +52,7 @@ jobs:
with:
toolchain: ${{ matrix.toolchain }}

- name: Update ndarray to 0.16.1 (temporary workaround to avoid pulling ndarray 0.17.1)
run: cargo update -p ndarray:0.17.1 --precise 0.16.1


- name: Run cargo test with BLAS enabled
run: cargo test --release --workspace --features intel-mkl-static,linfa-ica/blas,linfa-reduction/blas,linfa-linear/blas,linfa-preprocessing/blas,linfa-pls/blas,linfa-elasticnet/blas
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ approx = "0.5"

ndarray = { version = "0.16", features = ["approx"] }
ndarray-linalg = { version = "0.17", optional = true }
sprs = { version = "0.11", default-features = false }
sprs = { version = "=0.11.2", default-features = false }

thiserror = "2.0"

Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-clustering/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ linfa-datasets = { version = "0.8.0", path = "../../datasets", features = [
criterion = "0.5"
serde_json = "1"
approx = "0.5"
lax = "0.17.0"
lax = "=0.17.0"
linfa = { version = "0.8.0", path = "../..", features = ["benchmarks"] }

[[bench]]
Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-kernel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ features = ["std", "derive"]
[dependencies]
ndarray = "0.16"
num-traits = "0.2"
sprs = { version = "0.11", default-features = false }
sprs = { version = "=0.11.2", default-features = false }

linfa = { version = "0.8.0", path = "../.." }
linfa-nn = { version = "0.8.0", path = "../linfa-nn" }
2 changes: 1 addition & 1 deletion algorithms/linfa-preprocessing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ndarray-rand = "0.15"
unicode-normalization = "0.1.8"
regex = "1.4.5"
encoding = "0.2"
sprs = { version = "0.11", default-features = false }
sprs = { version = "=0.11.2", default-features = false }

serde_regex = { version = "1.1", optional = true }
itertools = "0.14.0"
Expand Down
2 changes: 1 addition & 1 deletion algorithms/linfa-reduction/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ rand = { version = "0.8", features = ["small_rng"] }

linfa = { version = "0.8.0", path = "../.." }
linfa-kernel = { version = "0.8.0", path = "../linfa-kernel" }
sprs = { version = "0.11" }
sprs = { version = "=0.11.2" }
rand_xoshiro = "0.6.0"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion datasets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/rust-ml/linfa"
[dependencies]
linfa = { version = "0.8.0", path = ".." }
ndarray = { version = "0.16" }
ndarray-csv = "0.5"
ndarray-csv = "=0.5.3"
csv = "1.1"
flate2 = "1.0"
ndarray-rand = { version = "0.15", optional = true }
Expand Down
Loading