diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 1e3d644d9..cea81d2ba 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -52,7 +52,7 @@ jobs: - name: Install Python dependencies run: pip install -r requirements.txt - name: Install PyTorch - run: pip install torch==2.2.1 + run: pip install torch==2.2.2 - run: | cmake \ -DCMAKE_BUILD_TYPE=Debug \ diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 69db8ff0b..0a4013056 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -63,7 +63,7 @@ jobs: - uses: jwlawson/actions-setup-cmake@v2 with: cmake-version: "3.23" - - run: pip install torch==2.2.1 + - run: pip install torch==2.2.2 - run: | cmake \ -DCMAKE_BUILD_TYPE=${{ matrix.btype }} \ @@ -112,7 +112,7 @@ jobs: - uses: jwlawson/actions-setup-cmake@v2 with: cmake-version: "3.23" - - run: pip install torch==2.2.1 + - run: pip install torch==2.2.2 - run: | cmake \ -DCMAKE_BUILD_TYPE=${{ matrix.btype }} \ @@ -141,7 +141,7 @@ jobs: - uses: jwlawson/actions-setup-cmake@v2 with: cmake-version: "3.23" - - run: pip install torch==2.2.1 + - run: pip install torch==2.2.2 - run: sudo apt install lcov - run: | cmake \ @@ -176,7 +176,7 @@ jobs: - uses: jwlawson/actions-setup-cmake@v2 with: cmake-version: "3.23" - - run: pip install torch==2.2.1 + - run: pip install torch==2.2.2 - name: Create a source file for testing purposes run: | echo -e "\ diff --git a/CMakeLists.txt b/CMakeLists.txt index 144d1368b..6c35109e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.23) -project(NEML2 VERSION 1.3.1 LANGUAGES CXX) +project(NEML2 VERSION 1.4.0 LANGUAGES CXX) # Setup modules set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${NEML2_SOURCE_DIR}/cmake/Modules/") diff --git a/cmake/Modules/FindTorch.cmake b/cmake/Modules/FindTorch.cmake index deeb1b80e..c14999840 100644 --- a/cmake/Modules/FindTorch.cmake +++ b/cmake/Modules/FindTorch.cmake @@ -1,4 +1,4 @@ -set(PYTORCH_VERSION "2.2.1") +set(PYTORCH_VERSION "2.2.2") # We will rely on FetchContent to download libTorch include(FetchContent) diff --git a/doc/config/ANLReportHeader.tex b/doc/config/ANLReportHeader.tex index e7e62608c..b520039ba 100644 --- a/doc/config/ANLReportHeader.tex +++ b/doc/config/ANLReportHeader.tex @@ -499,7 +499,7 @@ \division{Applied Materials Division} \reportnum{ANL-23/44} \address{Argonne National Laboratory \\ 9700 South Cass Avenue, Bldg. 212 \\ Argonne, IL 60439 \\ \ \\ www.anl.gov} -\abstract{NEML2, the New Engineering Material model Library version 2, is a general-purpose material modeling library. It is designed to be efficient on both CPUs and GPUs. NEML2 is provided as open source software under the MIT license. This document is automatically generated using Doxygen and serves as the user manual for NEML2 release 1.3.1.} +\abstract{NEML2, the New Engineering Material model Library version 2, is a general-purpose material modeling library. It is designed to be efficient on both CPUs and GPUs. NEML2 is provided as open source software under the MIT license. This document is automatically generated using Doxygen and serves as the user manual for NEML2 release 1.4.0.} % Titlepage & ToC %%BEGIN PDF_HYPERLINKS diff --git a/doc/config/Doxyfile.in b/doc/config/Doxyfile.in index 14c6ab731..0532308cc 100644 --- a/doc/config/Doxyfile.in +++ b/doc/config/Doxyfile.in @@ -5,7 +5,7 @@ #--------------------------------------------------------------------------- DOXYFILE_ENCODING = UTF-8 PROJECT_NAME = NEML2 -PROJECT_NUMBER = 1.3.1 +PROJECT_NUMBER = 1.4.0 OUTPUT_DIRECTORY = build TOC_INCLUDE_HEADINGS = 2 diff --git a/pyproject.toml b/pyproject.toml index dc09e80e7..f3f1a6e72 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build" [project] name = "neml2" -version = "1.3.1" +version = "1.4.0" authors = [ { name = "Mark Messner", email = "messner@anl.gov" }, { name = "Gary Hu", email = "thu@anl.gov" }, @@ -12,7 +12,7 @@ authors = [ description = "GPU-enabled vectorized material modeling library" readme = "README.md" requires-python = ">=3.8" -dependencies = ["torch==2.2.1"] +dependencies = ["torch==2.2.2"] [tool.scikit-build] cmake.version = ">=3.23" @@ -34,9 +34,9 @@ NEML2_DOC = "OFF" [tool.cibuildwheel] build = "cp38-* cp39-* cp310-* cp311-*" skip = "*-win32 *-manylinux_i686 *-musllinux*" -before-build = "pip install numpy torch==2.2.1" +before-build = "pip install numpy torch==2.2.2" build-verbosity = 1 -test-requires = "pytest numpy torch==2.2.1" +test-requires = "pytest numpy torch==2.2.2" test-command = "pytest {project}/tests" [tool.cibuildwheel.macos.environment]