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: 2 additions & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
name: ${{ matrix.name }} (torch v${{ matrix.torch-version }})
strategy:
matrix:
torch-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '2.8', '2.9']
torch-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '2.8', '2.9', '2.10']
arch: ['arm64', 'x86_64']
os: ['ubuntu-24.04', 'ubuntu-24.04-arm', 'macos-15', 'windows-2022']
exclude:
Expand Down Expand Up @@ -138,6 +138,7 @@ jobs:
- {torch-version: '2.7', cibw-python: 'cp312-*'}
- {torch-version: '2.8', cibw-python: 'cp312-*'}
- {torch-version: '2.9', cibw-python: 'cp312-*'}
- {torch-version: '2.10', cibw-python: 'cp313-*'}
steps:
- uses: actions/checkout@v4
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/torch-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cargo-test-flags: --release

- os: ubuntu-24.04
torch-version: "2.9"
torch-version: "2.10"
python-version: "3.13"
cargo-test-flags: --release
do-valgrind: true
Expand All @@ -33,18 +33,18 @@ jobs:
- os: ubuntu-24.04
container: ubuntu:22.04
extra-name: ", cmake 3.22"
torch-version: "2.9"
torch-version: "2.10"
python-version: "3.13"
cargo-test-flags: ""
cxx-flags: -fsanitize=undefined -fsanitize=address -fno-omit-frame-pointer -g

- os: macos-15
torch-version: "2.9"
torch-version: "2.10"
python-version: "3.13"
cargo-test-flags: --release

- os: windows-2022
torch-version: "2.9"
torch-version: "2.10"
python-version: "3.13"
cargo-test-flags: --release

Expand Down
4 changes: 4 additions & 0 deletions featomic-torch/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ a changelog](https://keepachangelog.com/en/1.1.0/) format. This project follows
### Removed
-->

### Changed

- Added support for torch v2.10

## [Version 0.7.2](https://github.com/metatensor/featomic/releases/tag/featomic-torch-v0.7.2) - 2025-12-04

- We now require Python >= 3.10
Expand Down
2 changes: 1 addition & 1 deletion featomic-torch/tests/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub fn setup_pytorch(build_dir: PathBuf) -> PathBuf {
.expect("failed to run python");
assert!(status.success(), "failed to run `python -m pip install --upgrade pip`");

let torch_version = std::env::var("FEATOMIC_TORCH_TEST_VERSION").unwrap_or("2.9.*".into());
let torch_version = std::env::var("FEATOMIC_TORCH_TEST_VERSION").unwrap_or("2.10.*".into());
let status = Command::new(&python)
.arg("-m")
.arg("pip")
Expand Down
Loading