FBGEMM: A Remarkable C++ Library for Efficient Matrix Operations

FBGEMM: A Remarkable C++ Library for Efficient Matrix Operations

FBGEMM (Facebook General Matrix Multiplication) is a C++ library developed by Meta (Facebook) that is primarily used for low-precision, high-performance matrix multiplication and convolution operations in server-side inference. It is designed for small batch data and can significantly improve inference efficiency while supporting various techniques to reduce precision loss, such as row-wise quantization and outlier-aware … Read more

Google TPU v2 Training Chip

Google TPU v2 Training Chip

In 2017, Google updated their TPU series. Google referred to this generation of TPU as a “domain-specific supercomputer for training neural networks.” It is evident that compared to TPU v1, which focused on inference scenarios, TPU v2 shifted its design focus towards training-related scenarios. Looking back at history, around 2017, groundbreaking work in deep learning … Read more

D2 Hour 167-170: Multiplication – Finding Products Less Than 100

D2 Hour 167-170: Multiplication - Finding Products Less Than 100

Unit 2: Multiplication Session 3: Finding Products Less Than 100 Learning Objectives: a. Use rectangular arrays to find products less than 100; b. Use grouping of 10 to find the products of two-digit and one-digit numbers; c. Use multiplication to derive the products of two-digit and one-digit numbers. Learning Content: Vocabulary: Key Words (Contextual Story): … Read more

10 Magical Multiplication Tricks to Teach Kids to Multiply

10 Magical Multiplication Tricks to Teach Kids to Multiply

Not all kids are able to learn multiplication facts using rote memorization. Luckily, there are 10 multiplication magic tricks to teach kids to multiply and many multiplication card games to help. In fact, research has shown that rote memorization doesn’t help kids to learn the connections between numbers or understand the rules of multiplication. Practically-based … Read more

Assembly Language: Two Clever MIPS Tricks

Assembly Language: Two Clever MIPS Tricks

Follow SomedayWill, providing assistance to those tormented by computer organization. Yesterday’s P2 haunt still lingers, indeed it was somewhat challenging. Someday did not finish debugging the Challenge, which is a bit regrettable. However, thanks to the inspiration from WJJ, Someday found the first two problems quite easy. Today, I will summarize these clever tricks learned … Read more