GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pytorch/FBGEMM: FB (Facebook) + GEMM (General Matrix-Matrix Multiplication) - https://code.fb.com/ml-applications/fbgemm/

BranchesTags
Open more actions menu

Latest commit

 

History

5,795 Commits
5,795 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
bench
bench
 
 
ci
ci
 
 
cmake/modules
cmake/modules
 
 
docs
docs
 
 
external
external
 
 
fbgemm_gpu
fbgemm_gpu
 
 
include/fbgemm
include/fbgemm
 
 
src
src
 
 
test
test
 
 
.bazelrc
.bazelrc
 
 
.clang-tidy
.clang-tidy
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
BUILD.bazel
BUILD.bazel
 
 
CMakeLists.txt
CMakeLists.txt
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
MODULE.bazel
MODULE.bazel
 
 
README.md
README.md
 
 
WORKSPACE.bazel
WORKSPACE.bazel
 
 
defs.bzl
defs.bzl
 
 
netlify.toml
netlify.toml
 
 

Repository files navigation

The FBGEMM Project

The FBGEMM Project is a repository of highly-optimized kernels used across deep learning applications.

The codebase is organized and published as three related packages: FBGEMM, FBGEMM-GPU, and FBGEMM-GenAI. Each package has its own set of features and documentation.

Project Overview

  • FBGEMM: A low-precision, high-performance matrix multiplication and convolution library for server-side inference. The documentation below provides an overview of FBGEMM, including its features, documentation, and community resources.

  • FBGEMM_GPU: A collection of PyTorch GPU operator libraries built on top of FBGEMM for training and inference, with focus on recommendation systems applications. Please see the documentation for more information.

  • FBGEMM_GPU GenAI: A collection of PyTorch GPU operator libraries that are designed for generative AI applications, such as FP8 row-wise quantization and collective communications. Please see the documentation for more information.

FBGEMM

FBGEMM CI

FBGEMM (Facebook GEneral Matrix Multiplication) is a low-precision, high-performance matrix-matrix multiplications and convolution library for server-side inference.

The library provides efficient low-precision general matrix multiplication for small batch sizes and support for accuracy-loss minimizing techniques such as row-wise quantization and outlier-aware quantization. FBGEMM also exploits fusion opportunities in order to overcome the unique challenges of matrix multiplication at lower precision with bandwidth-bound operations.

FBGEMM is used as a backend of PyTorch quantized operators for x86 machines:

  • PyTorch: https://github.com/pytorch/pytorch/tree/master/aten/src/ATen/native/quantized/cpu

See the full Documentation for more information on building, installing, and developing with FBGEMM, as well as the most up-to-date support matrix and API documentation for this library.

What's New?

  • New Features and Recent Improvements (January, 2020)

Citation

For a high-level overview, design philosophy and brief descriptions of various parts of FBGEMM please see our blog post.

For those looking for the appropriate article to cite regarding FBGEMM, we recommend citing our paper:

@article{fbgemm,
  title={FBGEMM: Enabling High-Performance Low-Precision Deep Learning Inference},
  author={Khudia, Daya and Huang, Jianyu and Basu, Protonu and Deng, Summer and Liu, Haixin and Park, Jongsoo and Smelyanskiy, Mikhail},
  journal={arXiv preprint arXiv:2101.05615},
  year={2021}
}

Join the FBGEMM community

For questions, support, news updates, or feature requests, please feel free to:

  • File a ticket in GitHub Issues
  • Post a discussion in GitHub Discussions
  • Reach out to us on the #fbgemm channel in PyTorch Slack

For contributions, please see the CONTRIBUTING file for ways to help out.

Community Ports

Huawei Ascend NPU

fbgemm-ascend provides community-maintained NPU implementations for selected FBGEMM_GPU operators.

  • Prebuilt wheels: Install from PyPI with python -m pip install fbgemm-ascend, or download a wheel from GitCode Releases.

  • Build from source: See the fbgemm-ascend README for source build instructions.

License

FBGEMM is BSD licensed, as found in the LICENSE file.

About

FB (Facebook) + GEMM (General Matrix-Matrix Multiplication) - https://code.fb.com/ml-applications/fbgemm/

Resources

Readme
License

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

1.6k stars

Watchers

56 watching

Forks

825 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.