Skip to content

Commit

Permalink
Increment version to 1.4.0 (#140)
Browse files Browse the repository at this point in the history
Also bump torch dependency to 2.2.2
  • Loading branch information
hugary1995 authored Apr 29, 2024
1 parent b8b6522 commit 42ad916
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }} \
Expand Down Expand Up @@ -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 }} \
Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -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 "\
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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/")
Expand Down
2 changes: 1 addition & 1 deletion cmake/Modules/FindTorch.cmake
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion doc/config/ANLReportHeader.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/config/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ build-backend = "scikit_build_core.build"

[project]
name = "neml2"
version = "1.3.1"
version = "1.4.0"
authors = [
{ name = "Mark Messner", email = "[email protected]" },
{ name = "Gary Hu", email = "[email protected]" },
]
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"
Expand All @@ -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]
Expand Down

0 comments on commit 42ad916

Please sign in to comment.