Browse the archived Caffe2 source code for historical reference on how Facebook structured an early production deep learning framework.
Understand the architectural decisions that shaped PyTorch by studying what Caffe2 contributed when it was merged.
Find the active PyTorch repository where all Caffe2 features now live for current use or contribution.
This repository is archived and no longer maintained, use the PyTorch repository for all active development.
Caffe2 was a deep learning framework developed by Facebook, designed to be lightweight, modular, and capable of running at scale. Deep learning frameworks are software libraries that provide the building blocks for training and running neural networks, which are the type of AI models used for tasks like image recognition, language processing, and recommendation systems. Caffe2 was built as a successor to the original Caffe framework, with a focus on making it easier to express different model architectures, run training and inference efficiently, and deploy models in production environments across different hardware. This repository is now archived. The README states clearly that the source code has moved to the PyTorch repository. PyTorch is Meta's primary deep learning framework, and Caffe2 was merged into it. If you are looking to use or contribute to this codebase, the active development happens in the PyTorch project, not here. The repository itself is mostly of historical interest at this point. Because the README is very short and simply redirects to the PyTorch repository and the now-defunct caffe2.ai website, there is little additional detail available about the original feature set or architecture from this source alone.
← facebookarchive on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.