{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/6"}],"enrichment":{"capability":"Implements multiple residual streams in neural networks as proposed in the Hyper-Connections paper, allowing you to split, process, and recombine residual pathways within PyTorch models.","skillfed_tags":["residual-networks","transformer-research","pytorch-extension"],"use_cases":["Experimenting with multi-stream residual architectures in transformer or CNN models to improve training stability.","Comparing standard residual connections against hyper-connections by toggling disable=True without refactoring code.","Implementing fractionated feature dimension splits across residual pathways as proposed in follow-up papers.","Prototyping deep networks (1000+ layers) where multiple residual streams may reduce gradient flow issues.","Researching variants of residual connections for improved convergence in large-scale deep learning models."],"what_it_does":"Hyper-Connections is a PyTorch library that implements the multiple residual streams architecture from the Hyper-Connections paper (arXiv:2409.19606). It provides utilities to split a single residual pathway into multiple independent streams, apply branch operations to each stream separately, and then recombine them\u2014a technique proposed to improve deep network training. The library wraps around standard PyTorch layers and offers both a high-level API (expand_stream, reduce_stream, init_hyper_conn) and lower-level control for manual stream management.\n\nThe package depends on torch, einops, and torch-einops-utils for tensor manipulation. It supports disabling the multi-stream behavior for ablation studies and includes experimental support for fractionated feature dimensions from follow-up research. The library is actively maintained, has no known security vulnerabilities, and is designed to integrate into existing model architectures with minimal code changes.","worth_installing":"Yes, if you are actively researching or experimenting with advanced residual connection architectures in PyTorch. The library is low-friction to install, has no security issues, and offers a clean API for integrating multi-stream residuals into existing models. Not necessary for standard production models using conventional residual connections."},"id":"hyper-connections","links":{"html":"https://skillfed.io/packages/hyper-connections","md":"https://skillfed.io/packages/hyper-connections.md","pypi":"https://pypi.org/project/hyper-connections/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-13","license_spdx":null,"license_treatment":"permissive","name":"hyper-connections","python_support":"supports_current","summary":"Hyper-Connections"},"popularity":{"monthly_downloads":321759,"position":7619,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.11"}
