Skip to content

Update metatensor #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2025
Merged
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 cmake/Modules/Packages/ML-METATENSOR.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ endif()

########### definition of metatensor and metatensor-torch targets ###########

set(METATENSOR_CORE_VERSION "0.1.12")
set(METATENSOR_TORCH_VERSION "0.7.3")
set(METATENSOR_CORE_VERSION "0.1.14")
set(METATENSOR_TORCH_VERSION "0.7.6")

set(DOWNLOAD_METATENSOR_DEFAULT ON)
find_package(metatensor_torch QUIET ${METATENSOR_TORCH_VERSION})
Expand All @@ -60,15 +60,15 @@ if (DOWNLOAD_METATENSOR)

FetchContent_Declare(metatensor
URL ${URL_BASE}/metatensor-core-v${METATENSOR_CORE_VERSION}/metatensor-core-cxx-${METATENSOR_CORE_VERSION}.tar.gz
URL_HASH SHA1=aec0963624f7fcd470e71471eb22b8912aec912e
URL_HASH SHA1=9e21c48d9059d8a37618958d9d253220dedf7562
)

message(STATUS "Fetching metatensor v${METATENSOR_CORE_VERSION} from github")
FetchContent_MakeAvailable(metatensor)

FetchContent_Declare(metatensor-torch
URL ${URL_BASE}/metatensor-torch-v${METATENSOR_TORCH_VERSION}/metatensor-torch-cxx-${METATENSOR_TORCH_VERSION}.tar.gz
URL_HASH SHA1=26f989650d29008ab640aa6bdea706f88adc4fba
URL_HASH SHA1=5668f5088a42507e9ca4a7b723b3baac0286035c
)

message(STATUS "Fetching metatensor-torch v${METATENSOR_TORCH_VERSION} from github")
Expand Down