Skip to content

Commit 1e040d2

Browse files
committed
chore: prepare v0.2.4 release
1 parent f19d7b4 commit 1e040d2

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
python-version: ["3.10", "3.11", "3.12"]
17-
torch-version: ["2.5.0", "2.11.0"]
17+
torch-version: ["2.5.0", "2.13.0"]
1818
torch-type: ["stable"]
1919
include:
2020
- python-version: "3.12"

Dockerfile.pip-install

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
FROM python:3.12-slim
44

5-
ARG PACKAGE_SPEC=torchsparsegradutils[all]==0.2.2
5+
ARG PACKAGE_SPEC=torchsparsegradutils[all]==0.2.4
66
ARG TEST_DEPENDENCIES="pytest pytest-rerunfailures parameterized pyyaml"
77

88
ENV CUDA_VISIBLE_DEVICES="" \
@@ -34,7 +34,7 @@ import torchsparsegradutils.jax as tsgu_jax
3434
from torchsparsegradutils import sparse_mm
3535

3636
dist = metadata.distribution("torchsparsegradutils")
37-
assert dist.version == "0.2.2", dist.version
37+
assert dist.version == "0.2.4", dist.version
3838

3939
requires = [requirement.lower() for requirement in dist.requires or []]
4040
for dependency in ("cupy-cuda12x", "jax"):

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# torchsparsegradutils: Sparsity-preserving gradient utility tools for PyTorch
22

3-
[![PyPI](https://img.shields.io/pypi/v/torchsparsegradutils.svg)](https://pypi.org/project/torchsparsegradutils/) [![Python Versions](https://img.shields.io/pypi/pyversions/torchsparsegradutils.svg)](https://pypi.org/project/torchsparsegradutils/) [![Downloads](https://img.shields.io/pypi/dm/torchsparsegradutils.svg)](https://pypi.org/project/torchsparsegradutils/) ![PyTorch 2.5+](https://img.shields.io/badge/PyTorch-2.5%2B-ee4c2c?logo=pytorch) ![Tested 2.5 / 2.11 / nightly](https://img.shields.io/badge/Tested-2.5%20|%202.11%20|%20nightly-ee4c2c?logo=pytorch) [![Build](https://github.com/cai4cai/torchsparsegradutils/actions/workflows/python-package.yml/badge.svg)](https://github.com/cai4cai/torchsparsegradutils/actions/workflows/python-package.yml) [![Docs](https://readthedocs.org/projects/torchsparsegradutils/badge/?version=latest)](https://readthedocs.org/projects/torchsparsegradutils) [![Code Style: Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![License](https://img.shields.io/github/license/cai4cai/torchsparsegradutils)](LICENSE) [![status](https://joss.theoj.org/papers/6da0e92488d06f70c0a03d0a7cbfba7d/status.svg)](https://joss.theoj.org/papers/6da0e92488d06f70c0a03d0a7cbfba7d)
3+
[![PyPI](https://img.shields.io/pypi/v/torchsparsegradutils.svg)](https://pypi.org/project/torchsparsegradutils/) [![Python Versions](https://img.shields.io/pypi/pyversions/torchsparsegradutils.svg)](https://pypi.org/project/torchsparsegradutils/) [![Downloads](https://img.shields.io/pypi/dm/torchsparsegradutils.svg)](https://pypi.org/project/torchsparsegradutils/) ![PyTorch 2.5+](https://img.shields.io/badge/PyTorch-2.5%2B-ee4c2c?logo=pytorch) ![Tested 2.5 / 2.13 / nightly](https://img.shields.io/badge/Tested-2.5%20|%202.13%20|%20nightly-ee4c2c?logo=pytorch) [![Build](https://github.com/cai4cai/torchsparsegradutils/actions/workflows/python-package.yml/badge.svg)](https://github.com/cai4cai/torchsparsegradutils/actions/workflows/python-package.yml) [![Docs](https://readthedocs.org/projects/torchsparsegradutils/badge/?version=latest)](https://readthedocs.org/projects/torchsparsegradutils) [![Code Style: Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![License](https://img.shields.io/github/license/cai4cai/torchsparsegradutils)](LICENSE) [![status](https://joss.theoj.org/papers/6da0e92488d06f70c0a03d0a7cbfba7d/status.svg)](https://joss.theoj.org/papers/6da0e92488d06f70c0a03d0a7cbfba7d)
44

55
A comprehensive collection of utility functions to work with PyTorch sparse tensors, ensuring memory efficiency and supporting various sparsity-preserving tensor operations with automatic differentiation. This package addresses fundamental gaps in PyTorch's sparse tensor ecosystem, providing essential operations that preserve sparsity in gradients during backpropagation.
66

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
project = "torchsparsegradutils"
1616
copyright = "2026, CAI4CAI research group"
1717
author = "CAI4CAI research group"
18-
release = "0.2.3"
19-
version = "0.2.3"
18+
release = "0.2.4"
19+
version = "0.2.4"
2020

2121
# -- General configuration ---------------------------------------------------
2222
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "torchsparsegradutils"
7-
version = "0.2.3"
7+
version = "0.2.4"
88
description = "A collection of utility functions to work with PyTorch sparse tensors"
99
readme = "README.md"
1010
requires-python = ">=3.10"

0 commit comments

Comments
 (0)