Posts

AI study from compiler to security issue - with GOOGLE AI

  The Architecture, History, and Geopolitics of Modern AI Hardware and Software The Silicon & Soul of AI An Engineering Journey from Microcontrollers to Superalignment To understand the artificial intelligence revolution, one must trace the physical wires where software meets silicon, alongside the high-stakes human drama that dictates who controls the future of computing. This comprehensive breakdown explores the underlying engineering of AI hardware, the historic milestones that unlocked its power, and the geopolitical philosophies dividing its greatest minds. 1. The Engineering: Rewriting Architecture for Massive Parallelism Traditional computing relies on Scalar Execution —handling one or two numbers at a time via a standard CPU. This layout functions like a couple of highly intelligent Ferrari sports cars driving down a narrow highway. In cont...

AI study from compiler to security issue - with GOOGLE AI

Image
  AI Mode conversation: what is AI compiler work to do You said: what is AI compiler work to do what is AI compiler work to do 7:27 pm An AI compiler (or machine learning graph compiler) translates high-level deep learning models (built in frameworks like PyTorch or TensorFlow ) into low-level, high-performance machine code tailored for specific hardware ( CPUs , GPUs , TPUs , or custom accelerators) . [ 1 , 2 , 3 ] Unlike traditional software compilers (like GCC or LLVM ) that compile procedural source code, an AI compiler works on computational graphs of neural network operators (such as matrix multiplications, convolutions, and activations). [ 1 , 2 ] Key Core Responsibilities of an AI Compiler 1. Graph-Level Optimization (Upper Layer) Computational Graph Generation: Takes a trained model and turns it into a high-level Intermediate Representation (IR) graph. Operator Fusion: Combines multiple sequential operations (like a convolution followed by a bias add and an activatio...