awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoServidor MCPAcerca deCómo clasificamosPrensa
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Lyken17 avatar

Lyken17/pytorch-OpCounter

0
View on GitHub↗
5,080 estrellas·535 forks·Python·MIT·6 vistas

Pytorch OpCounter

pytorch-OpCounter es una utilidad de perfilado para redes neuronales de PyTorch diseñada para cuantificar la eficiencia del modelo calculando operaciones de punto flotante y conteos de multiplicación-acumulación. Funciona como un analizador de complejidad para medir el costo computacional y la carga de trabajo teórica de diferentes arquitecturas de modelos.

La herramienta permite la definición de reglas de conteo de operaciones personalizadas para admitir módulos de terceros no cubiertos por defecto. Utiliza hooks de avance (forward hooks) para interceptar llamadas de módulos y recorrido recursivo del árbol de módulos para agregar operaciones a través de sub-módulos hijos.

El proyecto proporciona capacidades para auditoría de rendimiento y análisis de complejidad, transformando conteos de operaciones sin procesar en formatos de métricas escalados legibles por humanos.

Features

  • Model Complexity Analysis - Quantifies the theoretical workload of a model to estimate its efficiency and resource requirements before deployment.
  • Model Complexity Calculators - Calculates multiply-accumulate and floating point operations to quantify neural network computational cost.
  • Deep Learning Optimization - Evaluates the operational overhead of different model architectures to optimize for speed and hardware constraints.
  • Computational Cost Profilers - Measures the computational cost of PyTorch neural networks by calculating floating point operations and multiply-accumulate counts.
  • FLOPs Counters - Measures floating point operations to evaluate the efficiency and performance of PyTorch model architectures.
  • MACs and FLOPs Analyzers - Calculates the number of MACs and FLOPs to quantify the computational cost of PyTorch neural networks.
  • Recursive Module Operations - Walks through the hierarchical structure of a neural network to aggregate total operations across all child sub-modules.
  • Model Execution Hooks - Intercepts PyTorch module calls using forward hooks to record and accumulate operation counts during a single pass.
  • Operation Count Profilers - Provides a profiling tool for counting multiply-accumulate operations and defining custom counting rules for PyTorch modules.
  • Custom Operation Counting Rules - Defining specific operation counting logic for specialized PyTorch modules not supported by default profiling tools.
  • Operational State Accumulators - Implements a global state to sum multiply-accumulate and floating point operations across disparate layers of the model.
  • Complexity Counting Rules - Provides a mechanism to specify how to count operations for third-party modules not supported by default.
  • Computational Complexity Mappings - Maps specific module types or function names to predefined mathematical formulas for calculating computational complexity.
  • Herramientas de desarrollo - FLOPs counting utility.
  • More to explore - Tool for counting MACs and FLOPs.
  • PyTorch Utilities - Listed in the “PyTorch Utilities” section of the The Incredible Pytorch awesome list.

Historial de estrellas

Gráfico del historial de estrellas de lyken17/pytorch-opcounterGráfico del historial de estrellas de lyken17/pytorch-opcounter

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Pytorch OpCounter

Proyectos open-source similares, clasificados según cuántas características comparten con Pytorch OpCounter.
  • tingsongyu/pytorch_tutorialAvatar de TingsongYu

    TingsongYu/PyTorch_Tutorial

    8,018Ver en GitHub↗

    This project is a comprehensive collection of educational examples and reference implementations for building vision and language models using PyTorch. It serves as a deep learning tutorial covering the end-to-end process of developing neural networks, from initial architecture definition to final production deployment. The repository provides detailed guides on implementing a wide range of domain-specific models, including convolutional neural networks for object detection and segmentation, as well as transformer and recurrent architectures for natural language processing. It emphasizes gene

    Python
    Ver en GitHub↗8,018
  • ag14774/diffdistAvatar de ag14774

    ag14774/diffdist

    62Ver en GitHub↗
    Python
    Ver en GitHub↗62
  • kevinmusgrave/pytorch-metric-learningAvatar de KevinMusgrave

    KevinMusgrave/pytorch-metric-learning

    6,328Ver en GitHub↗

    PyTorch Metric Learning is an open-source library for training neural networks to produce similarity-preserving embedding spaces. It provides a modular framework where interchangeable loss functions, mining strategies, and evaluation tools can be composed to learn representations that map similar items to nearby points and dissimilar items to distant points in the embedding space. The library distinguishes itself through a highly configurable architecture that separates concerns across several interchangeable components. Users can assemble custom loss functions from pluggable distance metrics

    Pythoncomputer-visioncontrastive-learningdeep-learning
    Ver en GitHub↗6,328
  • mariogeiger/hessianAvatar de mariogeiger

    mariogeiger/hessian

    187Ver en GitHub↗

    hessian in pytorch

    Python
    Ver en GitHub↗187
Ver las 30 alternativas a Pytorch OpCounter→

Preguntas frecuentes

¿Qué hace lyken17/pytorch-opcounter?

pytorch-OpCounter es una utilidad de perfilado para redes neuronales de PyTorch diseñada para cuantificar la eficiencia del modelo calculando operaciones de punto flotante y conteos de multiplicación-acumulación. Funciona como un analizador de complejidad para medir el costo computacional y la carga de trabajo teórica de diferentes arquitecturas de modelos.

¿Cuáles son las características principales de lyken17/pytorch-opcounter?

Las características principales de lyken17/pytorch-opcounter son: Model Complexity Analysis, Model Complexity Calculators, Deep Learning Optimization, Computational Cost Profilers, FLOPs Counters, MACs and FLOPs Analyzers, Recursive Module Operations, Model Execution Hooks.

¿Qué alternativas de código abierto existen para lyken17/pytorch-opcounter?

Las alternativas de código abierto para lyken17/pytorch-opcounter incluyen: tingsongyu/pytorch_tutorial — This project is a comprehensive collection of educational examples and reference implementations for building vision… mariogeiger/hessian — hessian in pytorch. ag14774/diffdist. kevinmusgrave/pytorch-metric-learning — PyTorch Metric Learning is an open-source library for training neural networks to produce similarity-preserving… tingsongyu/pytorch-tutorial-2nd — This project is a comprehensive instructional resource and course for building neural networks using PyTorch. It… nvidia-ai-iot/torch2trt — torch2trt is a tool for transforming PyTorch model modules into optimized TensorRT engines to improve inference…