Using FlexAttention to compute attention with different masking patterns
☆47Sep 22, 2024Updated last year
Alternatives and similar repositories for Attention-Mask-Patterns
Users that are interested in Attention-Mask-Patterns are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- ☆309Apr 23, 2025Updated last year
- ☆22Apr 17, 2025Updated last year
- Fast and memory-efficient exact attention☆74Mar 3, 2025Updated last year
- ☆40Feb 26, 2024Updated 2 years ago
- ☆17Aug 1, 2025Updated 11 months ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Codes for accepted paper "Cooperative Pruning in Cross-Domain Deep Neural Network Compression" in IJCAI 2019.☆12Aug 15, 2019Updated 6 years ago
- Running inference on the ZeroSCROLLS benchmark☆22Apr 18, 2024Updated 2 years ago
- FlexAttention w/ FlashAttention3 Support☆27Oct 5, 2024Updated last year
- ☆52Jan 28, 2024Updated 2 years ago
- Helpful tools and examples for working with flex-attention☆1,212Updated this week
- An efficient implementation of the NSA (Native Sparse Attention) kernel☆133Jun 24, 2025Updated last year
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆75Aug 2, 2024Updated last year
- Official implementation of NeurIPS'21: Implicit SVD for Graph Representation Learning☆21Nov 4, 2021Updated 4 years ago
- Spectral Graph Attention Network with Fast Eigen-approximation☆11Dec 24, 2021Updated 4 years ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- ☆15Dec 5, 2019Updated 6 years ago
- Transformers components but in Triton☆34May 9, 2025Updated last year
- Homepage for ProLong (Princeton long-context language models) and paper "How to Train Long-Context Language Models (Effectively)"☆261Sep 12, 2025Updated 10 months ago
- Code for the paper: https://arxiv.org/pdf/2309.06979.pdf☆21Jul 29, 2024Updated last year
- ☆115Mar 12, 2026Updated 4 months ago
- RWKV-X is a Linear Complexity Hybrid Language Model based on the RWKV architecture, integrating Sparse Attention to improve the model's l…☆59Mar 31, 2026Updated 3 months ago
- Energetic GraphNeural Networks (EGNN) implementation based on Dirichlet Energy Constrained Learning.☆27Nov 1, 2021Updated 4 years ago
- A basic pure pytorch implementation of flash attention☆17Oct 28, 2024Updated last year
- Memory-Based Meta-Learning on Non-Stationary Distributions☆18Mar 14, 2024Updated 2 years ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- A PyTorch implementation of the paper https://arxiv.org/abs/1709.04875☆10Jul 22, 2020Updated 6 years ago
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆258Jun 15, 2025Updated last year
- Triton implementation of FlashAttention2 that adds Custom Masks.☆176Aug 14, 2024Updated last year
- ☆18Dec 2, 2024Updated last year
- Code for ICLR 2025 Paper "What is Wrong with Perplexity for Long-context Language Modeling?"☆116Oct 11, 2025Updated 9 months ago
- PyTorch bindings for CUTLASS grouped GEMM.☆154May 29, 2025Updated last year
- ☆54May 20, 2024Updated 2 years ago
- This repository reproduces the results in the paper "How expressive are transformers in spectral domain for graphs?"(published in TMLR)☆11Jul 10, 2022Updated 4 years ago
- Fetches, extracts, and parses data from the arxiv bucket on Amazon S3☆22Jul 12, 2019Updated 7 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Implementation of NAACL 2024 Outstanding Paper "LM-Infinite: Simple On-the-Fly Length Generalization for Large Language Models"☆153Mar 13, 2025Updated last year
- Graph-indexed Pandas DataFrames for analyzing hierarchical performance data☆36May 11, 2026Updated 2 months ago
- ☆27Feb 26, 2026Updated 5 months ago
- STABILIZING GRADIENTS FOR DEEP NEURAL NETWORKS VIA EFFICIENT SVD PARAMETERIZATION☆16Jun 5, 2018Updated 8 years ago
- Here we will test various linear attention designs.☆62Apr 25, 2024Updated 2 years ago
- ☆20Oct 11, 2023Updated 2 years ago
- train with kittens!☆67Oct 25, 2024Updated last year