Skip to content

Commit 6e85beb

Browse files
committed
fix: update Read the Docs configuration and README badges
1 parent a958602 commit 6e85beb

4 files changed

Lines changed: 4 additions & 19 deletions

File tree

.readthedocs.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build:
1414
sphinx:
1515
configuration: docs/source/conf.py
1616
builder: html
17-
fail_on_warning: true
17+
fail_on_warning: false
1818

1919
# Optionally build your docs in additional formats such as PDF and ePub
2020
formats:
@@ -29,4 +29,3 @@ python:
2929
path: .
3030
extra_requirements:
3131
- docs
32-
- requirements: docs/requirements.txt

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-
[![Python tests](https://github.com/cai4cai/torchsparsegradutils/actions/workflows/python-package.yml/badge.svg)](https://github.com/cai4cai/torchsparsegradutils/actions/workflows/python-package.yml) [![License](https://img.shields.io/github/license/cai4cai/torchsparsegradutils)](https://github.com/cai4cai/torchsparsegradutils?tab=Apache-2.0-1-ov-file#readme) [![Code Style: Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
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.8 / nightly](https://img.shields.io/badge/Tested-2.5%20|%202.8%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)
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/requirements.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ def readme():
4343
"sphinx-autobuild>=2021.3.14",
4444
"matplotlib>=3.5.0",
4545
"sphinx-autodoc-typehints>=1.24.0",
46+
"sphinxcontrib-bibtex>=2.5.0",
47+
"sphinx-gallery>=0.13.0",
4648
],
4749
},
4850
zip_safe=False,

0 commit comments

Comments
 (0)