zugexiaodui / torch_flopsLinks
A library for calculating the FLOPs in the forward() process based on torch.fx
☆127Updated 5 months ago
Alternatives and similar repositories for torch_flops
Users that are interested in torch_flops are comparing it to the libraries listed below
Sorting:
- ☆197Updated last year
- An efficient pytorch implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivatio…☆95Updated last year
- The official implementation of TPA: Tensor ProducT ATTenTion Transformer (T6) (https://arxiv.org/abs/2501.06425)☆384Updated 2 weeks ago
- Implementation of Post-training Quantization on Diffusion Models (CVPR 2023)☆140Updated 2 years ago
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆118Updated this week
- Causal depthwise conv1d in CUDA, with a PyTorch interface☆564Updated 2 weeks ago
- [CVPR'23] SparseViT: Revisiting Activation Sparsity for Efficient High-Resolution Vision Transformer☆73Updated last year
- Curated list of methods that focuses on improving the efficiency of diffusion models☆46Updated last year
- [NeurIPS 2023] Structural Pruning for Diffusion Models☆200Updated last year
- [IJCAI 2022] FQ-ViT: Post-Training Quantization for Fully Quantized Vision Transformer☆347Updated 2 years ago
- [ICLR 2024 Spotlight] This is the official PyTorch implementation of "EfficientDM: Efficient Quantization-Aware Fine-Tuning of Low-Bit Di…☆65Updated last year
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆326Updated 6 months ago
- DiTAS: Quantizing Diffusion Transformers via Enhanced Activation Smoothing (WACV 2025)☆11Updated 9 months ago
- [CVPR 2025] Q-DiT: Accurate Post-Training Quantization for Diffusion Transformers☆59Updated last year
- Fast Multi-dimensional Sparse Attention☆608Updated 3 weeks ago
- Collection of papers on state-space models☆599Updated last week
- The official implementation of the NeurIPS 2022 paper Q-ViT.☆96Updated 2 years ago
- PyTorch implementation of PTQ4DiT https://arxiv.org/abs/2405.16005☆33Updated 10 months ago
- [ECCV 2024] Isomorphic Pruning for Vision Models☆76Updated last year
- [CVPR 2023 Highlight] This is the official implementation of "Stitchable Neural Networks".☆247Updated 2 years ago
- When it comes to optimizers, it's always better to be safe than sorry☆367Updated 2 weeks ago
- Recent Advances on Efficient Vision Transformers☆53Updated 2 years ago
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆226Updated 2 months ago
- Join the High Accuracy Club on ImageNet with A Binary Neural Network Ticket☆70Updated 2 years ago
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores☆331Updated 8 months ago
- The official implementation of PTQD: Accurate Post-Training Quantization for Diffusion Models☆101Updated last year
- [ECCV 2024] Official PyTorch implementation of RoPE-ViT "Rotary Position Embedding for Vision Transformer"☆393Updated 8 months ago
- [ICLR'25] ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generation☆118Updated 5 months ago
- [NeurIPS 2024 Oral🔥] DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMs.☆165Updated 11 months ago
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆228Updated 5 months ago