zugexiaodui / torch_flopsLinks
A library for calculating the FLOPs in the forward() process based on torch.fx
☆129Updated 7 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:
- An efficient pytorch implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivatio…☆97Updated last month
- ☆199Updated last year
- Implementation of Post-training Quantization on Diffusion Models (CVPR 2023)☆139Updated 2 years ago
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆129Updated 2 weeks ago
- Collection of papers on state-space models☆605Updated last week
- [ICLR 2025 Spotlight] Vision-RWKV: Efficient and Scalable Visual Perception with RWKV-Like Architectures☆517Updated 8 months ago
- [NeurIPS 2023] Structural Pruning for Diffusion Models☆204Updated last year
- Causal depthwise conv1d in CUDA, with a PyTorch interface☆642Updated 3 weeks ago
- Curated list of methods that focuses on improving the efficiency of diffusion models☆44Updated last year
- [ECCV 2024] Official PyTorch implementation of RoPE-ViT "Rotary Position Embedding for Vision Transformer"☆409Updated 2 weeks ago
- When it comes to optimizers, it's always better to be safe than sorry☆377Updated last month
- [CVPR'23] SparseViT: Revisiting Activation Sparsity for Efficient High-Resolution Vision Transformer☆75Updated last year
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆367Updated 2 months ago
- [CVPR 2023 Highlight] This is the official implementation of "Stitchable Neural Networks".☆249Updated 2 years ago
- The calflops is designed to calculate FLOPs、MACs and Parameters in all various neural networks, such as Linear、 CNN、 RNN、 GCN、Transformer…☆892Updated last year
- Awesome list of papers that extend Mamba to various applications.☆138Updated 5 months ago
- [CVPR 2025] Q-DiT: Accurate Post-Training Quantization for Diffusion Transformers☆71Updated last year
- Minimal Mamba-2 implementation in PyTorch☆229Updated last year
- [NeurIPS 2025 Spotlight] TPA: Tensor ProducT ATTenTion Transformer (T6) (https://arxiv.org/abs/2501.06425)☆422Updated 3 weeks ago
- Fast Multi-dimensional Sparse Attention☆654Updated 2 weeks ago
- PyTorch implementation of PTQ4DiT https://arxiv.org/abs/2405.16005☆38Updated last year
- [ICLR 2024 Spotlight] This is the official PyTorch implementation of "EfficientDM: Efficient Quantization-Aware Fine-Tuning of Low-Bit Di…☆66Updated last year
- [ECCV 2024] Isomorphic Pruning for Vision Models☆79Updated last year
- Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models☆330Updated 8 months ago
- Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"☆91Updated 3 weeks ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆334Updated 7 months ago
- Reading list for research topics in state-space models☆330Updated 5 months ago
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores☆331Updated 10 months ago
- [ICML 2025] XAttention: Block Sparse Attention with Antidiagonal Scoring☆245Updated 4 months ago
- [IJCAI 2022] FQ-ViT: Post-Training Quantization for Fully Quantized Vision Transformer☆353Updated 2 years ago