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
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: adrhill/SparseConnectivityTracer.jl
slug: JuliaDiff/SparseConnectivityTracer.jl
files: lcov.info
docs:
name: Documentation
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authors:
title: "SparseConnectivityTracer.jl"
version: 0.1.0
date-released: 2024-04-22
url: "https://github.com/adrhill/SparseConnectivityTracer.jl"
url: "https://github.com/JuliaDiff/SparseConnectivityTracer.jl"
preferred-citation:
type: article
authors:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# SparseConnectivityTracer.jl
| | |
|:--------------|:--------------------------------------------------------------------|
| Documentation | [![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://adrhill.github.io/SparseConnectivityTracer.jl/stable/) [![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://adrhill.github.io/SparseConnectivityTracer.jl/dev/) [![Changelog](https://img.shields.io/badge/news-changelog-yellow.svg)](https://github.com/adrhill/SparseConnectivityTracer.jl/blob/main/CHANGELOG.md) |
| Build Status | [![Build Status](https://github.com/adrhill/SparseConnectivityTracer.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/adrhill/SparseConnectivityTracer.jl/actions/workflows/CI.yml?query=branch%3Amain) [![Coverage](https://codecov.io/gh/adrhill/SparseConnectivityTracer.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/adrhill/SparseConnectivityTracer.jl) [![Aqua](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl) [![JET](https://img.shields.io/badge/%F0%9F%9B%A9%EF%B8%8F_tested_with-JET.jl-233f9a.svg)](https://github.com/aviatesk/JET.jl) |
| Documentation | [![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliadiff.github.io/SparseConnectivityTracer.jl/stable/) [![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliadiff.github.io/SparseConnectivityTracer.jl/dev/) [![Changelog](https://img.shields.io/badge/news-changelog-yellow.svg)](https://github.com/JuliaDiff/SparseConnectivityTracer.jl/blob/main/CHANGELOG.md) |
| Build Status | [![Build Status](https://github.com/JuliaDiff/SparseConnectivityTracer.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/JuliaDiff/SparseConnectivityTracer.jl/actions/workflows/CI.yml?query=branch%3Amain) [![Coverage](https://codecov.io/gh/JuliaDiff/SparseConnectivityTracer.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/JuliaDiff/SparseConnectivityTracer.jl) [![Aqua](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl) [![JET](https://img.shields.io/badge/%F0%9F%9B%A9%EF%B8%8F_tested_with-JET.jl-233f9a.svg)](https://github.com/aviatesk/JET.jl) |
| Code Style | [![Code Style: Runic](https://img.shields.io/badge/code_style-%E1%9A%B1%E1%9A%A2%E1%9A%BE%E1%9B%81%E1%9A%B2-black)](https://github.com/fredrikekre/Runic.jl) [![ColPrac: Contributor's Guide on Collaborative Practices for Community Packages](https://img.shields.io/badge/ColPrac-Contributor's%20Guide-blueviolet)](https://github.com/SciML/ColPrac) |
| Downloads | [![Downloads](https://img.shields.io/badge/dynamic/json?url=http%3A%2F%2Fjuliapkgstats.com%2Fapi%2Fv1%2Fmonthly_downloads%2FSparseConnectivityTracer&query=total_requests&suffix=%2Fmonth&label=Downloads)](http://juliapkgstats.com/pkg/SparseConnectivityTracer) [![Dependents](https://juliahub.com/docs/General/SparseConnectivityTracer/stable/deps.svg)](https://juliahub.com/ui/Packages/General/SparseConnectivityTracer?t=2) |
| Citation | [![arXiv DOI](https://img.shields.io/badge/DOI-10.48550/arXiv.2501.17737-red)](https://arxiv.org/abs/2501.17737) [![Zenodo DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.13138554.svg)](https://zenodo.org/doi/10.5281/zenodo.13138554) |
Expand Down
4 changes: 2 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ makedocs(;
authors = "Adrian Hill <gh@adrianhill.de>",
sitename = "SparseConnectivityTracer.jl",
format = Documenter.HTML(;
canonical = "https://adrhill.github.io/SparseConnectivityTracer.jl",
canonical = "https://juliadiff.github.io/SparseConnectivityTracer.jl",
edit_link = "main",
assets = ["assets/favicon.ico"],
),
Expand All @@ -35,4 +35,4 @@ makedocs(;
warnonly = [:missing_docs],
)

deploydocs(; repo = "github.com/adrhill/SparseConnectivityTracer.jl", devbranch = "main")
deploydocs(; repo = "github.com/JuliaDiff/SparseConnectivityTracer.jl", devbranch = "main")
4 changes: 2 additions & 2 deletions docs/src/internals/adding_overloads.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ to improve the performance of your functions or to work around some of SCT's [li
## Generated overloads

!!! tip "Copy one of our package extensions"
The easiest way to add overloads is to copy one of our package extensions, [e.g. our NNlib extension](https://github.com/adrhill/SparseConnectivityTracer.jl/blob/main/ext/SparseConnectivityTracerNNlibExt.jl), and to modify it.
The easiest way to add overloads is to copy one of our package extensions, [e.g. our NNlib extension](https://github.com/JuliaDiff/SparseConnectivityTracer.jl/blob/main/ext/SparseConnectivityTracerNNlibExt.jl), and to modify it.
Please upstream your additions by opening a pull request! We will help you out to get your feature merged.

### Operator classification
Expand Down Expand Up @@ -132,7 +132,7 @@ You are required to call the function that matches your type of operator.

### Example

For some examples on how to overload methods, take a look at our [package extensions](https://github.com/adrhill/SparseConnectivityTracer.jl/tree/main/ext).
For some examples on how to overload methods, take a look at our [package extensions](https://github.com/JuliaDiff/SparseConnectivityTracer.jl/tree/main/ext).
Let's look at the `relu` activation function from `ext/SparseConnectivityTracerNNlibExt.jl`, which is a 1-to-1 operator defined as $\text{relu}(x) = \text{max}(0, x)$.

#### Step 1: Classification
Expand Down
2 changes: 1 addition & 1 deletion docs/src/user/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ Please note that the `DiffCache` from
[PreallocationTools.jl](https://github.com/SciML/PreallocationTools.jl)
can be used to make caches compatible with both
[ForwardDiff.jl](https://github.com/JuliaDiff/ForwardDiff.jl) and
[SparseConnectivityTracer.jl](https://github.com/adrhill/SparseConnectivityTracer.jl/).
[SparseConnectivityTracer.jl](https://github.com/JuliaDiff/SparseConnectivityTracer.jl/).
4 changes: 2 additions & 2 deletions docs/src/user/limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
## Sparsity patterns are conservative approximations

Sparsity patterns returned by SparseConnectivityTracer (SCT) can in some cases be overly conservative, meaning that they might contain "too many ones".
If you observe an overly conservative pattern, [please open a feature request](https://github.com/adrhill/SparseConnectivityTracer.jl/issues) so we know where to add more method overloads to increase the sparsity.
If you observe an overly conservative pattern, [please open a feature request](https://github.com/JuliaDiff/SparseConnectivityTracer.jl/issues) so we know where to add more method overloads to increase the sparsity.

!!! warning "SCT's no-false-negatives policy"
If you ever observe a sparsity pattern that contains too many zeros, we urge you to [open a bug report](https://github.com/adrhill/SparseConnectivityTracer.jl/issues)!
If you ever observe a sparsity pattern that contains too many zeros, we urge you to [open a bug report](https://github.com/JuliaDiff/SparseConnectivityTracer.jl/issues)!

## Function must be composed of generic Julia functions

Expand Down
2 changes: 1 addition & 1 deletion src/adtypes_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const DOC_KWARGS = """# Keyword arguments
Defaults to `false`.

If support for further pattern representations is needed, please open a feature request:
https://github.com/adrhill/SparseConnectivityTracer.jl/issues
https://github.com/JuliaDiff/SparseConnectivityTracer.jl/issues
"""

"""
Expand Down
4 changes: 2 additions & 2 deletions test/classification.jl
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ end
@testset "$op" for op in test_operators_2_to_1(Val(Symbol(m)))
@test all(
correct_classification_2_to_1(
op, random_first_input(op), random_second_input(op); atol = DEFAULT_ATOL
) for _ in 1:DEFAULT_TRIALS
op, random_first_input(op), random_second_input(op); atol = DEFAULT_ATOL
) for _ in 1:DEFAULT_TRIALS
)
yield()
end
Expand Down
2 changes: 1 addition & 1 deletion test/test_arrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ end
end
@testset "Local" begin
@testset "$P" for P in (Float32, BigFloat)
# https://github.com/adrhill/SparseConnectivityTracer.jl/issues/235
# https://github.com/JuliaDiff/SparseConnectivityTracer.jl/issues/235

A_p = rand(P, 2, 2)
A_d = Dual.(A_p, A_t)
Expand Down
Loading