zugexiaodui / torch_flopsLinks
A library for calculating the FLOPs in the forward() process based on torch.fx
☆132Updated last week
Alternatives and similar repositories for torch_flops
Users that are interested in torch_flops are comparing it to the libraries listed below
Sorting:
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆134Updated last month
- Implementation of Post-training Quantization on Diffusion Models (CVPR 2023)☆140Updated 2 years ago
- [CVPR'23] SparseViT: Revisiting Activation Sparsity for Efficient High-Resolution Vision Transformer☆76Updated last year
- An efficient pytorch implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivatio…☆98Updated last month
- ☆200Updated 2 years ago
- Curated list of methods that focuses on improving the efficiency of diffusion models☆44Updated last year
- [NeurIPS 2025 Spotlight] TPA: Tensor ProducT ATTenTion Transformer (T6) (https://arxiv.org/abs/2501.06425)☆427Updated last month
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆382Updated 2 months ago
- Collection of papers on state-space models☆609Updated last month
- [NeurIPS 2023] Structural Pruning for Diffusion Models☆208Updated last year
- When it comes to optimizers, it's always better to be safe than sorry☆381Updated 2 months ago
- [CVPR 2025] Q-DiT: Accurate Post-Training Quantization for Diffusion Transformers☆73Updated last year
- [TMLR] Official PyTorch implementation of paper "Quantization Variation: A New Perspective on Training Transformers with Low-Bit Precisio…☆46Updated last year
- The official implementation of the NeurIPS 2022 paper Q-ViT.☆101Updated 2 years ago
- Causal depthwise conv1d in CUDA, with a PyTorch interface☆661Updated last month
- Nonuniform-to-Uniform Quantization: Towards Accurate Quantization via Generalized Straight-Through Estimation. In CVPR 2022.☆136Updated 3 years ago
- [ICLR 2025 Spotlight] Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architectures☆525Updated 9 months ago
- [CVPR 2023 Highlight] This is the official implementation of "Stitchable Neural Networks".☆249Updated 2 years ago
- A collection of research papers on low-precision training methods☆49Updated 6 months ago
- [IJCAI 2022] FQ-ViT: Post-Training Quantization for Fully Quantized Vision Transformer☆355Updated 2 years ago
- [ICLR 2024 Spotlight] This is the official PyTorch implementation of "EfficientDM: Efficient Quantization-Aware Fine-Tuning of Low-Bit Di…☆66Updated last year
- Awesome Pruning. ✅ Curated Resources for Neural Network Pruning.☆173Updated last year
- Speedup the attention computation of Swin Transformer☆26Updated 5 months ago
- Fast Multi-dimensional Sparse Attention☆667Updated this week
- [ICCV 2025] QuEST: Efficient Finetuning for Low-bit Diffusion Models☆55Updated 5 months ago
- The calflops is designed to calculate FLOPs、MACs and Parameters in all various neural networks, such as Linear、 CNN、 RNN、 GCN、Transformer…☆899Updated last year
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆256Updated 4 months ago
- [ECCV 2024] Isomorphic Pruning for Vision Models☆77Updated last year
- A list of papers, docs, codes about efficient AIGC. This repo is aimed to provide the info for efficient AIGC research, including languag…☆201Updated 9 months ago
- ☆45Updated last year