layernorm
Here are 23 public repositories matching this topic...
Code for the paper "On the Expressivity Role of LayerNorm in Transformers' Attention" (Findings of ACL'2023)
-
Updated
Sep 27, 2024 - Python
Implement layer normalization GRU in pytorch
-
Updated
Apr 8, 2026 - Python
Some common CUDA kernel implementations (Not the fastest).
-
Updated
Jun 24, 2026 - Cuda
Unveiling the Layers: Neural Networks from first principles
-
Updated
Oct 1, 2025 - Jupyter Notebook
MNIST Digit Prediction using Batch Normalization, Group Normalization, Layer Normalization and L1-L2 Regularizations
-
Updated
Jun 11, 2021 - Jupyter Notebook
LLM pretraining from scratch on FineWeb dataset (architecture and all components explained), plus optimal use of GPU on SLURM cluster
-
Updated
May 12, 2026 - Python
WGAN with feedback from discriminator& LayerNorm instead of BatchNorm
-
Updated
Sep 12, 2020 - Python
Pure C implementation of Layer Normalization with learnable γ and β parameters—built from scratch without ML frameworks or autograd.
-
Updated
Jul 4, 2026 - C
Implemented a custom LayerNorm forward and backward pass extension in C++ using LibTorch and validated numerical equivalence with PyTorch.
-
Updated
Jan 24, 2026 - C++
Fused normalisation CUDA kernels for PyTorch — residual-add+LayerNorm/RMSNorm, fp8 outputs, fast deterministic backward, torch.compile-native, with reproducible A100/H100 benchmarks
-
Updated
Nov 2, 2026 - Python
Hardware-friendly LayerNorm approximation accelerator for LLMs (Verilog, FPGA)
-
Updated
Aug 29, 2025 - Verilog
Fundamentals of Artificial Intelligence and Deep Learning Frameworks
-
Updated
Nov 2, 2022 - Jupyter Notebook
CUDA C++ kernels for RMSNorm, LayerNorm, and FP32 GEMM, tuned and benchmarked on NVIDIA L4. Includes PyTorch extensions, workload-specific dispatch, and numerical and sanitizer validation.
-
Updated
Oct 18, 2026 - Python
A complete, operational Transformer Decoder Layer built from scratch — combining self-attention, Pre-LN normalization, residual connections, and a SwiGLU feed-forward network, with an empirical demonstration of why residual connections prevent signal collapse in deep stacks.
-
Updated
Aug 29, 2026 - Python
Triton LayerNorm and softmax kernels, forward and backward, checked against per-element rounding-error bounds, with mutation tests and measured benchmarks
-
Updated
Nov 26, 2026 - Python
LayerNorm kernel implemented across three abstraction layers: CUDA C++, hand-written PTX (SM-120 Blackwell), and Ascend C (CANN 8.x). Demonstrates cross-architecture memory-bandwidth optimization.
-
Updated
Nov 11, 2026 - Cuda
Principal component geometry and feature readout in Transformer hidden states (GPT-2, OPT, Qwen2.5). Shows 96–98% PC1 variance concentration is driven by the first token, while PC2–PC8 preserve transferable token-level surprisal across articles.
-
Updated
Nov 5, 2026 - Python
DEPRECATED. Canonical: https://github.com/szl-holdings/szl-lambda-gate. Archived frozen for provenance; HF model SZLHOLDINGS/szl-governed-norm remains available. Apache-2.0.
-
Updated
Aug 8, 2026 - Python
Add this topic to your repo
To associate your repository with the layernorm topic, visit your repo's landing page and select "manage topics."