Skip to main content

SILVA Networks logo

SILVA Networks

PyPI DOI License: MIT

PyTorch layers, solvers, tutorials, and documentation for SILVA networks and deep equilibrium models.

This repository is the public companion suite for the SILVA Networks paper, SILVA Networks as Structured Implicit Layers and Vector Attractors via Dynamic Interaction Fields, arXiv:2607.28989, by Dr. Jose Luis Silva. It is designed for two audiences:

  • learners who want a progressive path from fixed points and Jacobians to full SILVA layers;
  • developers who want a small, readable PyTorch package for building stimulus/local/global equilibrium layers.

What SILVA Solves

A SILVA layer is an equilibrium model whose transition is separated into named, independently configurable mechanisms:

$$ z^\star = \sigma!\left( S_\theta(x)

  • H_\theta(z^\star)
  • L_\theta(z^\star;\mathcal E)
  • G_\theta(z^\star;\mathcal B) \right). $$

Here, $S_\theta$ injects the observed data, $H_\theta$ is an optional learned self-interaction, $L_\theta$ carries local structure such as graph messages or dynamic neighborhoods, and $G_\theta$ supplies global context such as a mean field or bounded attention. The solver searches for $z^\star$; a readout maps that equilibrium state to the task output.

Classical affine DEQs, graph equilibria, multiscale image models, Fourier operators, ODE and PDE states, constrained optimization layers, distributional states, and physics-informed systems are therefore selectable cases inside the same SILVA contract. A single equilibrium point may contain a user-provided MLP, convolutional network, residual block, U-Net, attention module, graph operator, Fourier operator, or another shape-preserving PyTorch module. Multiple points may then be linked into heterogeneous stacked architectures, with separate transitions, state dimensions, solvers, damping values, and readouts at each point.

Choose a Learning Path

Question Documentation Executable material
What is the smallest working SILVA layer? SILVA From Scratch Package Quickstart
How do the branches and tensor shapes fit together? Derivation to Code Equation-to-Code Walkthrough
What can live inside one equilibrium point? Point Architecture Catalog Architecture Catalog Lab
How are ODEs, PDEs, and Fourier operators connected to SILVA? Neural Operators, ODEs, and PDEs Scientific Operator Lab
How do I reproduce or extend a cited family? Reproducing SILVA and Source Methods All-Family Reproduction Registry
How do I scale a construction beyond the compact examples? Full-Scale SILVA Full-Scale Execution Lab
Where can I find every notebook and download route? Notebook Library Run Everything

The code is released under the MIT License. If you use this package, cite the all-versions software DOI 10.5281/zenodo.21770098 or the GitHub repository at https://github.com/jseluis/silva-networks. If the work is used in connection with the SILVA Networks paper, cite the paper as well.

Install

For local development:

python -m pip install -e ".[dev,docs,examples]"

Equivalent requirements-file workflows:

python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
python -m pip install -r requirements-docs.txt
python -m pip install -r requirements-examples.txt
python -m pip install -r requirements-notebooks.txt
python -m pip install -r requirements-graph.txt
python -m pip install -r requirements-vision.txt
python -m pip install -r requirements-benchmarks.txt
python -m pip install -r requirements-optimization.txt
python -m pip install -r requirements-all.txt

For package users:

python -m pip install silva-networks
python -c "import silva_networks; print(silva_networks.__version__)"

CLI Validation

After installing the development extras, run the CPU-first package validation:

bash scripts/smoke_test.sh

Optional checks:

bash scripts/smoke_test.sh --with-docs
bash scripts/smoke_test.sh --with-notebooks
bash scripts/smoke_test.sh --with-build
bash scripts/smoke_test.sh --with-optimization
bash scripts/smoke_test.sh --with-vision

The default validation avoids CUDA and large image downloads. Use --with-vision for a small CIFAR10 check and run the full TorchVision suite only when the image archives can be cached locally.

Inspect the data, literature, benchmark, scale controls, and extension route for any of the 30 canonical SILVA families:

silva-scale --list
silva-scale silva_fno_deq --tier workstation
silva-scale pideq --tier full --json
silva-scale --audit

List and run public configs directly:

silva-experiment --list-configs
silva-experiment --show-config graph_silva_smoke
silva-experiment \
  --config graph_silva_smoke \
  --device cpu \
  --set steps=1 \
  --set solver.max_iter=2

The complete notebook-free command path is documented in docs/cli.md and in the MkDocs site under CLI Guide.

Quick Start

The package supports two workflows. You can use the SILVA modules directly in a normal PyTorch training loop, or you can use the optional supervised training helpers for seeding, evaluation, checkpointing, and resume.

import torch
from silva_networks import SILVAGraphLayer, SolverConfig

x = torch.randn(8, 5)
edge_index = torch.tensor([
    [0, 1, 2, 3, 4, 5, 6, 7],
    [1, 2, 3, 4, 5, 6, 7, 0],
])

layer = SILVAGraphLayer(
    in_dim=5,
    hidden_dim=16,
    config=SolverConfig(max_iter=20, alpha=0.5, tol=1e-5),
)
result = layer(x, edge_index=edge_index, return_result=True)
print(result.z.shape, result.residuals[-1])

Stack layers, choose dimensions, swap operators, set per-layer solvers, and train the result as an ordinary PyTorch module:

import torch
from silva_networks import SILVAGraphNetwork, SolverConfig, resolve_device

device = resolve_device("auto")
x = torch.randn(20, 6, device=device)
edge_index = torch.tensor([list(range(19)), list(range(1, 20))], device=device)

model = SILVAGraphNetwork(
    in_dim=6,
    hidden_dims=[32, 32, 16],
    out_dim=4,
    task="node",
    config=[
        SolverConfig(solver="picard", max_iter=10, alpha=0.5),
        SolverConfig(solver="anderson", max_iter=10, alpha=0.5, history=4),
        SolverConfig(solver="broyden", max_iter=8, alpha=0.4),
    ],
    local=["graph", "topk", "graph"],
    global_term="mean",
).to(device)

logits = model(x, edge_index=edge_index)

For DEQ-style memory behavior, switch the same layer or preset configs to SolverConfig(backward_mode="implicit", backward_solver="gmres"). The default backward_mode="unrolled" keeps ordinary finite-step PyTorch gradients.

Optional training-loop helper:

from silva_networks import TrainConfig, fit_supervised

result = fit_supervised(
    model,
    train_loader,
    val_loader,
    config=TrainConfig(
        task="classification",
        epochs=50,
        lr=0.002,
        gradient_clipping=1.0,
        checkpoint_path="runs/checkpoint.pt",
    ),
)

Run a DEQ-style implicit layer through the same solver controls:

import torch
from silva_networks import SolverConfig, resolve_device, silva_fixed_point_classifier

device = resolve_device("cuda" if torch.cuda.is_available() else "cpu")
x = torch.randn(32, 16, device=device)

model = silva_fixed_point_classifier(
    in_features=16,
    state_dim=64,
    num_classes=4,
    config=SolverConfig(solver="anderson", max_iter=20, alpha=0.6, history=5),
).to(device)

logits = model(x)

Use SILVA as a generalized form by disabling or specializing branches. The compact affine-tanh DEQ is the case with no local branch, no global branch, and a learned linear self branch:

from silva_networks import SolverConfig, silva_deq_reduction_layer

layer = silva_deq_reduction_layer(
    in_dim=16,
    hidden_dim=64,
    config=SolverConfig(solver="anderson", max_iter=20, alpha=0.6),
)
z_star = layer(x)

A graph/message-passing DEQ keeps the local operator and disables the other interaction branches:

from silva_networks import silva_message_passing_reduction_layer

layer = silva_message_passing_reduction_layer(
    in_dim=features.shape[1],
    hidden_dim=64,
    local="gat",
    local_kwargs={"heads": 4},
)
z_star = layer(features, edge_index=edge_index)

Build cortex-style hierarchies when one equilibrium point should contain a deep internal transition network and then feed another equilibrium point with a different architecture, solver, or damping value:

from silva_networks import SILVACortexLayer, SILVACortexNetwork

model = SILVACortexNetwork(
    [
        SILVACortexLayer(
            input_dim=5,
            state_dim=14,
            state_network=torch.nn.Sequential(
                torch.nn.Linear(14, 14),
                torch.nn.Tanh(),
                torch.nn.Linear(14, 14),
            ),
            config=SolverConfig(solver="picard", max_iter=10, alpha=0.5),
        ),
        SILVACortexLayer(
            input_encoder=torch.nn.Linear(14, 10),
            state_dim=10,
            config=SolverConfig(solver="anderson", max_iter=10, alpha=0.2, history=3),
            normalize=False,
        ),
    ],
    links="tanh",
    head=torch.nn.Linear(10, 2),
)

The same composition is selectable as the canonical "silva_cortex_network" family. Each point may use an MLP, convolutional network, residual network, U-Net, attention block, graph module, or another PyTorch transition that returns the equilibrium-state shape.

Ten compact vector, token, and spatial choices are available through the point architecture registry:

from silva_networks import (
    available_silva_point_architectures,
    silva_point_architecture,
)

print(available_silva_point_architectures())
transition = silva_point_architecture(
    "unet",
    channels=8,
    base_channels=16,
)

The catalog includes MLP, residual MLP, residual CNN, U-Net, dense CNN, Transformer, inverted residual, Fourier operator, MLP-Mixer, and ConvNeXt V2 fields. See docs/learn/point-architecture-catalog.md and notebooks/package_api/14_point_architecture_catalog.ipynb for tensor contracts, composition patterns, derivations, and executable checks. The function-space connection is developed in docs/learn/neural-operators-ode-pde.md and notebooks/package_api/15_neural_operators_ode_pde.ipynb, including ODE flow, implicit PDE stepping, Fourier operators inside SILVA, and separate solver and physical residuals.

Build a reusable learned solution operator directly:

import torch
from silva_networks import SILVAFourierNeuralOperator, SolverConfig

operator = SILVAFourierNeuralOperator(
    in_channels=2,
    state_channels=8,
    out_channels=1,
    modes_height=4,
    modes_width=4,
    config=SolverConfig(max_iter=16, alpha=0.4),
)
result = operator(torch.randn(2, 2, 24, 24), return_result=True)

The two input channels may encode a coefficient and source field. The same API also provides finite-difference derivatives, Poisson and boundary residuals, implicit ODE/PDE time steps, reaction-diffusion, and viscous Burgers fields. See examples/scientific_operators.py and docs/api/scientific.md.

Recent SILVA Equilibrium Families

Four additional mechanisms are available as SILVA families:

from silva_networks import SILVAFNODEQ, SILVADistributionalDEQ

steady_operator = SILVAFNODEQ(
    in_channels=1,
    state_channels=8,
    out_channels=1,
)

particle_model = SILVADistributionalDEQ(
    input_dim=3,
    latent_dim=16,
    particles=10,
)

The derivations, citations, dataset-backed reproductions, tests, and extension boundary are in docs/learn/frontier-equilibrium-families.md, docs/learn/frontier-dataset-labs.md, and examples/frontier_equilibria.py. The combined notebook is notebooks/package_api/16_frontier_equilibrium_families.ipynb; focused Fourier, graph transport, homotopy, and distributional labs are notebooks 17 through 20 in the same directory.

Advanced Equilibrium and Physics Families

Five adjacent mechanisms are also available inside SILVA:

  • a monotone graph equilibrium with constrained channel operator and forward-backward splitting, connected to MIGNN;
  • a one-time-injected equilibrium transformer, connected to GET;
  • a positive Poisson mirror equilibrium, connected to DEQ-MD;
  • a physics-informed ODE equilibrium with implicit-function time derivatives, connected to PIDEQ;
  • an implicit Runge-Kutta DAE root layer, connected to DAE-PINN.
from silva_networks import silva_equilibrium_model

graph_model = silva_equilibrium_model(
    "silva_monotone_graph_equilibrium",
    in_dim=3,
    state_dim=16,
    out_dim=2,
)

physics_model = silva_equilibrium_model(
    "silva_physics_informed_equilibrium",
    state_dim=8,
    output_dim=2,
)

An adversarial equation-residual loss is provided as a training utility. The DEQGAN abbreviation in that source means Differential Equation, so it is not a deep-equilibrium family. Full derivations are in docs/learn/advanced-equilibrium-families.md and docs/learn/physics-informed-equilibria.md. Equation-checked data are in src/silva_networks/advanced_data.py; focused notebooks are numbered 21 through 25.

Full-Scale SILVA Execution

Every canonical family has an executable scale guide. build_scaled_silva adds family-specific numerical controls such as implicit GMRES backward solves, fused or chunked attention, factorized monotone graph maps, chunked empirical measure losses, matrix-free physics derivatives, and Newton-Krylov DAE stages. Task dimensions and user-provided modules remain explicit and always override the tier defaults.

from silva_networks import build_scaled_silva, runtime_for_tier

runtime = runtime_for_tier(
    "workstation",
    checkpoint_path="runs/fno-deq/checkpoint.pt",
)
model = build_scaled_silva(
    "silva_fno_deq",
    tier=runtime.tier,
    in_channels=1,
    state_channels=48,
    out_channels=1,
    modes_height=12,
    modes_width=12,
)

Lazy tensor shards, distributed samplers, mixed precision, gradient accumulation, checkpoint resume, and model preparation use the same public runtime contract. The full derivation and all-family matrix are in docs/learn/full-scale-silva.md; the complete PDE training program is in docs/examples/full-scale-training.md; executable dense/scalable equivalence checks and checkpoint resume are in notebooks/package_api/26_full_scale_silva.ipynb.

Reproduction Registry

Every canonical family also has an executable source-aware record containing its governing equation, citation numbers, research repositories, datasets, preprocessing requirements, metrics, notebooks, tests, replaceable parts, and real constructor signature. Each record additionally states the mechanism preserved from its cited source, the extra choices exposed by SILVA, and the requirements that must be restored for a publication-scale benchmark:

from silva_networks import build_silva_reproduction, silva_reproduction_spec

spec = silva_reproduction_spec("pideq")
print(spec.constructor_signature)
print(spec.preserved_mechanisms)
print(spec.silva_extensions)
print(spec.benchmark_requirements)

model = build_silva_reproduction(
    "pideq",
    tier="workstation",
    state_dim=16,
    output_dim=2,
    transition=my_transition,
    readout=my_readout,
)

The compact suite verifies equations, shapes, gradients, and numerical paths. Published benchmark values require the complete cited data release, preprocessing, model scale, optimization schedule, checkpoints, and metric protocol. See docs/learn/reproducing-silva-and-papers.md.

This distinction is deliberate: a passing compact reproduction establishes that the mechanism is implemented and differentiable inside SILVA; a benchmark reproduction additionally establishes agreement under the cited experiment's data, split, preprocessing, scale, training, and evaluation protocol. The registry keeps both levels visible so advanced users can replace individual modules, reconstruct the cited configuration, or define a new family without changing the equilibrium engine.

The matching deterministic datasets are created inside the package:

from silva_networks import (
    make_affine_homotopy_dataset,
    make_graph_transport_dataset,
    make_periodic_elliptic_dataset,
    make_variable_measure_dataset,
)

fields = make_periodic_elliptic_dataset(samples=8, height=16, width=16)
graphs = make_graph_transport_dataset(samples=4, nodes=12)
paths = make_affine_homotopy_dataset(samples=32, dimension=2)
measures = make_variable_measure_dataset(samples=12, max_particles=16)

Use the family selector when you want a single choice point:

from silva_networks import available_silva_families, silva_equilibrium_model

print(available_silva_families())

model = silva_equilibrium_model(
    "silva_projected_qp",
    in_dim=16,
    state_dim=8,
    constraint="simplex",
    config=SolverConfig(solver="picard", max_iter=25, alpha=1.0),
)

Adapt a dataset into the SILVA tensor contract:

from silva_networks import load_tabular_dataset, tabular_to_silva_graph

dataset = load_tabular_dataset("wine", root="data", download=True, normalize=True)
graph = tabular_to_silva_graph(dataset, k=8, normalize=True, undirected=True)
logits = model(graph.x, edge_index=graph.edge_index, batch=graph.batch)

For private or unusual datasets, provide the same roles yourself: x, edge_index, edge_attr, batch, and targets. The package also includes image vector, image pixel-grid, and molecular graph adapters.

Build a New SILVA Family

Every named family is a configurable default over the same conditioned equilibrium contract. A new construction can supply its initializer, state-preserving transition, readout, and solver directly:

from silva_networks import (
    SILVAConditionedEquilibrium,
    SILVAZeroInitializer,
    validate_silva_transition,
)

report = validate_silva_transition(transition, state0, condition)
model = SILVAConditionedEquilibrium(
    transition,
    SILVAZeroInitializer(state_dim),
    readout=readout,
    config=solver_config,
)

The complete equation-to-family derivation, replaceable-component matrix, numerical-equivalence tests, compact reproduction standard, and scale-up path are in docs/learn/extending-silva.md.

What Is Included

  • src/silva_networks/: PyTorch package with solvers, Jacobian diagnostics, SILVA layers, cortex hierarchies, ten internal point architectures, stackable architectures, scientific ODE/PDE and operator modules, DEQ engine utilities, Fourier equilibrium, graph-physics, homotopy, distributional, optical-flow, constrained optimization, dataset, and device modules.
  • docs/: Material for MkDocs documentation site, including the case atlas, derivation-first math pages, API maps, examples, and references.
  • Companion book and solutions manual: planned long-form learning assets.
  • notebooks/: 26 solved mathematical and book/research notebooks.
  • notebooks/package_api/: 27 package-first tutorials that import silva_networks directly.
  • notebooks/implicit_bridge/: 9 adapted implicit-layer, DEQ, MDEQ, ODE, and differentiable-optimization notebooks using the package API.
  • colab/: Colab-ready notebook exports for the package and bridge tracks.
  • examples/: small runnable examples for CPU, CUDA, or MPS PyTorch devices.
  • experiments/public/: configurable public package checks and learning cases.
  • tests/: package, docs, notebook, and example checks.
  • tests_extended/: optional extended validation checks, run explicitly.
  • src/silva_networks/coverage.py: implementation families mapped to their docs, notebooks, examples, and validation tests.

Datasets and Public Experiments

List and download public datasets:

silva-download-datasets --list
silva-download-datasets iris wine wdbc seeds

Run package experiments:

silva-experiment \
  --config solver_sweep

silva-experiment \
  --config iris_tabular_silva

silva-experiment \
  --config fully_configurable_graph

Dataset files are written under data/, which is ignored by git.

The configurable graph experiment exposes the same controls as the Python API: per-layer local operators, global operators, learned self terms, solver family, damping, solver budget, hidden dimensions, readout head, task mode, pooling, and device.

The package-native constrained optimization layer exposes constraint choice, projection parameters, positive-definite matrix regularization, projected gradient step size, solver family, damping, tolerance, and iteration budget. For full disciplined convex programs, install silva-networks[optimization] and use the optional silva_cvxpy_layer bridge.

Implicit Layers Bridge

The bridge track adapts the Deep Implicit Layers tutorial themes, LocusLab DEQ ideas, MDEQ, and Jacobian regularization into package-native notebooks and APIs with source citations.

notebooks/implicit_bridge/
colab/implicit_bridge/
docs/implicit-bridge-notebooks/

Key SILVA imports:

from silva_networks import (
    SILVADEQConfig,
    SILVADEQEngine,
    SILVADEQFlow,
    SILVAEulerFlowBlock,
    SILVAFixedPointBlock,
    SILVAFixedPointClassifier,
    SILVAFNODEQ,
    SILVADistributionalDEQ,
    SILVAHomotopyEquilibrium,
    SILVAPhysicsGuidedGraphDEQ,
    SILVAImplicitTransition,
    SILVAImplicitTimeStep,
    SILVAMultiscaleDEQBlock,
    SILVAOperatorModel,
    SILVAFourierNeuralOperator,
    SILVAProjectedQPLayer,
    SILVAQuadraticOptimizationLayer,
    SILVAVariationalDropout,
    available_silva_families,
    silva_deq_flow,
    silva_distributional_deq,
    silva_fno_deq,
    silva_homotopy_equilibrium,
    silva_physics_guided_graph_deq,
    silva_projected_qp_layer,
    silva_cvxpy_layer,
    silva_deq,
    silva_deq_engine,
    silva_deq_reduction_layer,
    silva_equilibrium_model,
    silva_euler_flow_block,
    silva_fixed_point_block,
    silva_fixed_point_classifier,
    silva_generalized_layer,
    silva_implicit_transition,
    silva_implicit_time_step,
    silva_jacobian_regularization_loss,
    silva_message_passing_reduction_layer,
    silva_multiscale_deq_block,
    silva_operator_model,
    silva_fourier_neural_operator,
    silva_quadratic_optimization_layer,
)

The silva_... factories are the preferred package-facing entry points. The generic DEQ names remain available for comparisons and for readers who want to separate the classical DEQ baseline from SILVA-specific structured operators. The same models run on CPU or GPU by moving the model and tensors to the same PyTorch device.

DEQ Engine and Optical Flow

The package includes a TorchDEQ-style engine for arbitrary fixed-point systems:

from silva_networks import SILVADEQConfig, silva_deq

result = silva_deq(
    transition,
    z0,
    config=SILVADEQConfig(forward_solver="anderson", forward_max_iter=20),
    return_result=True,
)

It also includes a compact RAFT/DEQ-Flow-inspired optical-flow module:

from silva_networks import (
    SolverConfig,
    make_silva_translation_flow_batch,
    silva_endpoint_error,
    silva_deq_flow,
)

batch = make_silva_translation_flow_batch(height=16, width=16, shift=(1.0, 0.0))
model = silva_deq_flow(
    feature_dim=8,
    hidden_dim=16,
    config=SolverConfig(solver="picard", max_iter=6, alpha=0.4),
)
result = model(batch.image1, batch.image2, return_result=True)
loss = silva_endpoint_error(result.flow, batch.flow, batch.valid)

The optical-flow implementation provides a SILVA-native route for RAFT-style correlation, recurrent flow refinement, and DEQ-Flow-style equilibrium solving. Cite RAFT when discussing all-pairs correlation or recurrent flow refinement, cite DEQ-Flow when discussing equilibrium optical flow, and cite SILVA for the package implementation and SILVA methodology.

For architecture-level RAFT and DEQ-Flow studies, use the coupled model:

from silva_networks import SILVARAFTDEQ

model = SILVARAFTDEQ(
    feature_dim=paper_feature_dim,
    hidden_dim=paper_hidden_dim,
    corr_levels=4,
    corr_radius=4,
    config=solver_config,
)

Generalized Paper Families

The public package also includes configurable relative-attention/trellis sequence DEQs, every-to-every multiscale vision DEQs, Jacobian regularization, implicit graph networks, implicit neural representations, and joint DDIM trajectory equilibria. These are architecture and solver APIs, not bundled paper recipes. Users provide the source paper's dimensions, data, training schedule, pretrained components, and evaluation protocol.

Start with docs/learn/paper-family-adaptations.md, notebooks/package_api/12_paper_family_architectures.ipynb, and notebooks/package_api/13_raft_deq_flow.ipynb.

Scientific Operators, ODEs, and PDEs

Scientific fields are supported through separate, composable layers:

  • SILVAEulerFlowBlock computes a finite explicit ODE trajectory;
  • SILVAImplicitTimeStep solves one backward-Euler ODE or PDE step;
  • SILVAReactionDiffusionRHS2D and SILVABurgersRHS1D provide checked nonlinear right-hand sides;
  • SILVAOperatorModel learns a sampled function-to-function map with any compatible spatial point architecture;
  • SILVAFourierNeuralOperator places the built-in Fourier field inside that equilibrium operator;
  • finite-difference, boundary, Poisson-residual, and relative-residual helpers keep the physical diagnostics independent from the solver residual.

The full derivation and trained tiny example are in docs/learn/neural-operators-ode-pde.md and notebooks/package_api/15_neural_operators_ode_pde.ipynb. The compact script examples/scientific_operators.py also covers graph diffusion on irregular connectivity and reuse of one Fourier model across grid resolutions.

Public Asset Policy

The public repository includes the complete tutorial and notebook suite. The companion book and solutions manual are planned learning assets and are listed with the learning materials. Third-party papers, upstream repositories, and external tutorials are cited and linked as references.

How to Cite

Use the repository citation metadata in CITATION.cff, or cite:

Dr. Jose Luis Silva. SILVA Networks. Version 1.1.0. MIT License.
https://github.com/jseluis/silva-networks
https://doi.org/10.5281/zenodo.21770098

When the work uses or discusses the SILVA methodology, cite the paper as well:

@misc{silva2026silvanetworksstructuredimplicit,
      title={SILVA Networks as Structured Implicit Layers and Vector Attractors via Dynamic Interaction Fields},
      author={Jose Luis Lima de Jesus Silva},
      year={2026},
      eprint={2607.28989},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2607.28989},
}
@software{silva2026silvanetworkssoftware,
  title   = {SILVA Networks},
  author  = {Silva, Jose Luis},
  year    = {2026},
  version = {1.1.0},
  license = {MIT},
  doi     = {10.5281/zenodo.21770098},
  url     = {https://github.com/jseluis/silva-networks}
}

The full BibTeX set for the package and cited method lineage lives in docs/assets/bib/silva-networks.bib.

Build and Test

python -m pip install -r requirements-dev.txt
pytest
pytest tests_extended
python -m build
twine check dist/*
mkdocs build --strict

The complete release-candidate validation executes the core and extended tests without skips, all 62 canonical notebooks, the documentation audit, the content-preservation audit, the strict site build, and both distribution artifacts:

python scripts/release_audit.py
ruff check src tests tests_extended examples scripts
pytest tests tests_extended --cov=silva_networks --cov-report=term-missing -rs
python scripts/run_notebook_smoke.py --all --timeout 180
mkdocs build --strict
python -m build
twine check dist/*

Documentation

Local preview:

mkdocs serve

Static build:

mkdocs build --strict

Key documentation routes:

  • Case Atlas: graph, vision, molecular, dataset, diagnostics, and extension cases.
  • Mathematical Foundations: residuals, damping, contractions, implicit adjoints, solver derivations, graph terms, and complexity.
  • API Reference: public package modules grouped by use case.
  • Implicit Layers Bridge: adapted implicit layers, DEQ, MDEQ, ODE, optimization, and Jacobian regularization tutorials.
  • Book and Solutions Manual: coming-soon roadmap for the companion book and solved manual.

Dependency Policy

The package uses broad compatible ranges so pip can install the newest PyTorch wheel available for each platform. Runtime pins are kept only where they protect known compatibility, such as the current numpy>=1.24,<2.0 bound used with the supported PyTorch wheel range.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

silva_networks-1.1.0.tar.gz (16.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

silva_networks-1.1.0-py3-none-any.whl (201.6 kB view details)

Uploaded Python 3

File details

Details for the file silva_networks-1.1.0.tar.gz.

File metadata

  • Download URL: silva_networks-1.1.0.tar.gz
  • Upload date:
  • Size: 16.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for silva_networks-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4d416d71bface4d0174f2a34b44c539f17bdeb195acd69775bba79cb259c79ab
MD5 ec0a4194aeb2a8add63177b92f745f5f
BLAKE2b-256 9f236e89c3de49c09d45c6175d0a1e3260077a3630b01fa8e0a7d728de35b598

See more details on using hashes here.

Provenance

The following attestation bundles were made for silva_networks-1.1.0.tar.gz:

Publisher: release.yml on jseluis/silva-networks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file silva_networks-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: silva_networks-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 201.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for silva_networks-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 502dcb1e9e933295493f99ac7fc7e97adf80499ca6023d9642983083c64f1065
MD5 e64abac048def210e06a28748d3fcd3b
BLAKE2b-256 b0ea25aca33f66d5a9af42202c04c8ca17f5becbf5631c6af5839feaa83b9806

See more details on using hashes here.

Provenance

The following attestation bundles were made for silva_networks-1.1.0-py3-none-any.whl:

Publisher: release.yml on jseluis/silva-networks

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

This release

1.1.0 This release

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page