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
48 changes: 24 additions & 24 deletions .github/workflows/build-jax-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,33 @@ concurrency:

jobs:
build-jax-sdist:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: sdist
env:
SPHERICART_NO_LOCAL_DEPS: 1
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.12"
python-version: "3.15"

- name: Install dependencies
run: python -m pip install build

- name: Build jax sdist
run: python -m build --sdist ./sphericart-jax --outdir ./dist

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: "sphericart-jax-sdist"
path: ./dist/*.tar.gz

- name: upload to GitHub release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
files: |
./dist/*.tar.gz
Expand All @@ -65,19 +65,19 @@ jobs:
- "0.9.2"
- "0.10.0"
- "0.10.1"
os: [ubuntu-22.04, macos-14, ubuntu-22.04-arm, windows-2022]
os: [ubuntu-24.04, macos-15, ubuntu-24.04-arm, windows-2022]
include:
- name: x86_64 Linux
os: ubuntu-22.04
os: ubuntu-24.04
arch: x86_64
- name: x86_64 macOS
os: macos-14
os: macos-15
arch: x86_64
- name: arm64 macOS
os: macos-14
os: macos-15
arch: arm64
- name: aarch64 Linux
os: ubuntu-22.04-arm
os: ubuntu-24.04-arm
arch: aarch64
- name: x86_64 Windows
os: windows-2022
Expand All @@ -87,7 +87,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Build custom manylinux Docker Image with CUDA
if: startsWith(matrix.os, 'ubuntu-')
Expand All @@ -97,9 +97,9 @@ jobs:
scripts/manylinux_2_28_"${{ matrix.arch }}"

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.12"
python-version: "3.15"

- name: Install cibuildwheel
run: python -m pip install cibuildwheel
Expand Down Expand Up @@ -127,42 +127,42 @@ jobs:
SPHERICART_NO_LOCAL_DEPS=1
SPHERICART_JAX_BUILD_WITH_JAX_VERSION=${{ matrix.jax-version }}.*

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: jax-single-version-wheel-${{ matrix.os }}-${{ matrix.arch }}-jax-${{ matrix.jax-version }}
path: ./wheelhouse/*.whl

merge-jax-wheels:
needs: build-jax-wheels
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: merge wheels for ${{ matrix.name }}
strategy:
matrix:
include:
- name: x86_64 Linux
os: ubuntu-22.04
os: ubuntu-24.04
arch: x86_64
- name: arm64 macOS
os: macos-14
os: macos-15
arch: arm64
- name: aarch64 Linux
os: ubuntu-22.04-arm
os: ubuntu-24.04-arm
arch: aarch64
- name: x86_64 Windows
os: windows-2022
arch: AMD64
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Download wheels
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: jax-single-version-wheel-${{ matrix.os }}-${{ matrix.arch }}-*
merge-multiple: false
path: dist

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.12"

Expand Down Expand Up @@ -201,14 +201,14 @@ jobs:
- name: check wheels with twine
run: twine check wheelhouse/*

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: sphericart-jax-wheel-${{ matrix.os }}-${{ matrix.arch }}
path: ./wheelhouse/*.whl

- name: upload to GitHub release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
files: |
./wheelhouse/*.whl
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/build-torch-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,33 @@ concurrency:

jobs:
build-torch-sdist:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: sdist
env:
SPHERICART_NO_LOCAL_DEPS: 1
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.12"
python-version: "3.15"

- name: Install dependencies
run: python -m pip install build

- name: Build torch sdist
run: python -m build --sdist ./sphericart-torch --outdir ./dist

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: "sphericart-torch-sdist"
path: ./dist/*.tar.gz

- name: upload to GitHub release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
files: |
./dist/*.tar.gz
Expand All @@ -52,15 +52,15 @@ jobs:
strategy:
matrix:
pytorch-version: ["2.6", "2.7", "2.8", "2.9", "2.10", "2.11", "2.12", "2.13", "2.14"]
os: [ubuntu-22.04, macos-14, ubuntu-22.04-arm, windows-2022]
os: [ubuntu-24.04, macos-15, ubuntu-24.04-arm, windows-2022]
include:
- os: ubuntu-22.04
- os: ubuntu-24.04
arch: x86_64
name: x86_64 Linux
- os: macos-14
- os: macos-15
arch: arm64
name: arm64 macOS
- os: ubuntu-22.04-arm
- os: ubuntu-24.04-arm
arch: aarch64
name: aarch64 Linux
- os: windows-2022
Expand All @@ -71,7 +71,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Free disk space (Ubuntu)
if: startsWith(matrix.os, 'ubuntu-')
Expand All @@ -91,9 +91,9 @@ jobs:
scripts/manylinux_2_28_"${{ matrix.arch }}"

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.12"
python-version: "3.15"

- name: Install CUDA toolkit (Windows)
if: matrix.os == 'windows-2022'
Expand Down Expand Up @@ -149,44 +149,44 @@ jobs:
SPHERICART_TORCH_BUILD_WITH_TORCH_VERSION=${{ matrix.pytorch-version }}.*
PIP_EXTRA_INDEX_URL=https://download.pytorch.org/whl/cu126

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: torch-single-version-wheel-${{ matrix.os }}-${{ matrix.arch }}-torch-${{ matrix.pytorch-version }}
path: ./wheelhouse/*.whl

merge-torch-wheels:
needs: build-torch-wheels
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
name: merge wheels for ${{ matrix.name }}
strategy:
matrix:
include:
- name: x86_64 Linux
os: ubuntu-22.04
os: ubuntu-24.04
arch: x86_64
- name: arm64 macOS
os: macos-14
os: macos-15
arch: arm64
- name: aarch64 Linux
os: ubuntu-22.04-arm
os: ubuntu-24.04-arm
arch: aarch64
- name: x86_64 Windows
os: windows-2022
arch: AMD64
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Download wheels
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: torch-single-version-wheel-${{ matrix.os }}-${{ matrix.arch }}-*
merge-multiple: false
path: dist

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: "3.12"
python-version: "3.15"

- name: install dependencies
run: python -m pip install twine wheel
Expand Down Expand Up @@ -219,14 +219,14 @@ jobs:
- name: check wheels with twine
run: twine check wheelhouse/*

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: sphericart-torch-wheel-${{ matrix.os }}-${{ matrix.arch }}
path: ./wheelhouse/*.whl

- name: upload to GitHub release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v3
with:
files: |
./wheelhouse/*.whl
Expand Down
Loading
Loading