rwth-i6/returnn
The RWTH extensible training framework for universal recurrent neural networks
What it solves
RETURNN provides a flexible and efficient framework for training modern recurrent neural network (RNN) architectures, specifically addressing the need for fast training and decoding speeds in research and production environments.
How it works
Built on PyTorch and TensorFlow, the framework optimizes the training of RNNs in multi-GPU environments. It utilizes sequence-chunking for batch training and includes a custom fast CUDA kernel for Long Short-Term Memory (LSTM) networks, as well as support for multidimensional LSTMs.
Who it’s for
It is designed for researchers and developers working with recurrent neural networks, particularly those implementing encoder-attention-decoder models for tasks like automatic speech recognition (ASR) and machine translation (MT).
Highlights
- Multi-GPU Optimization: Optimized for reliable and fast training across multiple devices.
- Custom CUDA Kernels: Includes a specialized fast CUDA kernel for LSTMs to improve performance.
- Flexible Architectures: Supports a wide variety of encoder-attention-decoder models.
- Memory Management: Includes built-in memory management for handling large datasets.
Related
- Project
flexflow/flexflow-trainFlexFlow Train is a deep learning framework that automatically searches for efficient parallelization strategies to accelerate distributed DNN training. It supports PyTorch, Keras, and ONNX models, and uses MCMC-based auto-tuning to find faster execution plans on GPU clusters.
- Project
NX-AI/xlstmxLSTM is a novel recurrent neural‑network architecture that extends LSTM with exponential gating and a matrix memory, enabling large‑scale language models (e.g., a 7 B‑parameter model). The repo provides PyTorch code, custom CUDA/Triton kernels (via the `mlstm_kernels` package), a single‑file 7B implementation, configuration utilities, and pretrained weights on Hugging Face. Installation is via conda + pip, and the library works on NVIDIA GPUs (fast Triton kernels) with fallbacks for AMD or Apple Silicon.
- Project
xlite-dev/LeetCUDALeetCUDA is an open-source book of modern CUDA learning notes covering 200+ kernels, HGEMM that reaches 98–100% of cuBLAS performance, and Tensor-Core FlashAttention — available as a 600+ page PDF and online docs, with a SKILL for coding agents.
- Project
- Project
bghira/SimpleTunerSimpleTuner is a versatile, open-source training framework for image, video, and audio generative models that simplifies the training lifecycle with a web UI and enterprise-grade orchestration features.