$npx skillfedfor your agent

fvcore

Collection of common code shared among different research projects in FAIR computer vision team

With conditionsPyPI Artificial IntelligenceReleased Dec 20222.1M downloads / moApache 2.0Source build

Decision gist · record as of 2026-08-14

sdist only — fvcore-0.1.5.post20221221.tar.gz · builds from source
v0.1.5.post20221221 · released 2022-12-21 · Python >=3.6

Yes, if you use PyTorch for computer vision research and need standard profiling or scheduling utilities. The library is actively maintained at the repository level, permissively licensed, and widely used in FAIR projects. However, note that the last PyPI release was December 2022—verify compatibility with your PyTorch version before installing, and consider installing from GitHub if you need the latest code.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires PyTorch to be installed separately; Python >= 3.6 required.
  • High install friction: the package requires PyTorch as a system dependency and has not been updated on PyPI since December 2022, though the repository remains active with recent commits.
  • Installation may require resolving PyTorch separately depending on your environment.

License · maintenance · safety

Apache 2.0 (permissive) — Released under Apache 2.0 (permissive), allowing commercial and private use with minimal restrictions, though you must include a copy of the license and note any modifications.

last release 2022-12-21 (1332 days) · last repo commit 2026-07-24 · 2,251 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,121,804 downloads/mo, #3,277 on PyPI

Verify before relying

pip install fvcore

from fvcore.nn import FlopCountAnalyzer

flops = FlopCountAnalyzer(model, input_shape).total()
  • Whether PyTorch version constraints exist beyond the requirement for pytorch itself
  • Current status of nightly PyPI updates mentioned in the install instructions
  • Compatibility with modern PyTorch versions given the December 2022 release date
  • Whether FlopCountAnalyzer is the primary entry point or if other APIs are more commonly used
Same gist for agents: .md · .json

What it is and what it does

fvcore is a lightweight library maintained by Facebook AI Research (FAIR) that centralizes common computer vision utilities used across their research projects. It provides PyTorch-native components: standard neural network layers and loss functions, a hierarchical FLOP counter for profiling model efficiency, recursive parameter counting for model analysis, batch normalization statistics recomputation, and a stateless hyperparameter scheduler. All code is type-annotated and tested.

The library is designed for researchers and engineers working with PyTorch who need standard computer vision utilities without heavyweight dependencies. It has no runtime dependencies listed in the package metadata, though PyTorch itself is a hard requirement. The package is actively maintained at the repository level but has not received a PyPI release since December 2022, which may affect compatibility with very recent PyTorch versions.

Use it for

  • Profile model computational cost (FLOPs) during development to optimize architectures before training.
  • Analyze parameter counts and memory footprint of neural networks for deployment planning.
  • Recompute batch normalization statistics on a new dataset without retraining the full model.
  • Schedule learning rates and other hyperparameters in a scale-invariant, reproducible way across experiments.
  • Access common PyTorch layers and loss functions shared across FAIR research codebases.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use PyTorch for computer vision research and need standard profiling or scheduling utilities.

The library is actively maintained at the repository level, permissively licensed, and widely used in FAIR projects. However, note that the last PyPI release was December 2022—verify compatibility with your PyTorch version before installing, and consider installing from GitHub if you need the latest code.

Install

fvcore on PyPI

Before you install

High install friction: the package requires PyTorch as a system dependency and has not been updated on PyPI since December 2022, though the repository remains active with recent commits. Installation may require resolving PyTorch separately depending on your environment.

Requires PyTorch to be installed separately; Python >= 3.6 required.

License in practice

Released under Apache 2.0 (permissive), allowing commercial and private use with minimal restrictions, though you must include a copy of the license and note any modifications.

Quickstart

pip install fvcore

from fvcore.nn import FlopCountAnalyzer

flops = FlopCountAnalyzer(model, input_shape).total()

Verify before relying

  • Whether PyTorch version constraints exist beyond the requirement for pytorch itself
  • Current status of nightly PyPI updates mentioned in the install instructions
  • Compatibility with modern PyTorch versions given the December 2022 release date
  • Whether FlopCountAnalyzer is the primary entry point or if other APIs are more commonly used

Package facts

LicenseApache 2.0 permissive
Python supportSupports the current Python release >=3.6
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceActively maintained 1,332 days since the last release
Last repo commit
First released
Downloads2,121,804 / month, #3,277 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: fvcore-0.1.5.post20221221.tar.gz

Tags

Capabilities
pytorch computer vision utilitiesflop counting neural networksparameter counting pytorchbatch norm statisticshyperparameter scheduler pytorch
Topics
pytorchcomputer-visionprofiling

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “flop counting neural networks”

  • fvcorefvcore provides shared computer vision utilities for PyTorch,…
  • thopCounts floating-point operations (MACs) and parameters in PyTorch…
  • torchprofileCounts multiply-accumulate operations (MACs) in PyTorch models by…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also torchvision · pytorchcv · pytorch_optimizer · pipablepytorch3d · icevision · torchprofile · inference-models · pytorch-forecasting · facexlib · basicsr