AI-powered infrastructure: Cloud TPUs

TensorFlow · Beginner ·🧠 Large Language Models ·2y ago

Key Takeaways

The video discusses Cloud ML Accelerators, specifically Google's custom accelerator Cloud TPU, for advancing ML and AI in key use cases like LLM, Generative AI, and recommendation systems. It provides an overview of Cloud TPU offerings, software features, and capabilities, as well as customer use cases.

Full Transcript

[Music] hi everybody Welcome to my session I'm going to be talking about AI powered infrastructure specifically Cloud tpus for the next 10 minutes Cloud TPU tpus stand for tensor Processing Unit it's one of the fastest most efficient most sustainable ml systems in the world designed by our engineers at Google Cloud TPU is one of the key differentiators not just for gcps but for the entire alphabet and here is why many of alphabet's Key Products includes search YouTube translate and Gmail as well as te of-the-art Google AI models such as Lambda Palm Gemini they are all powered by tpus externally we are rapidly growing an ecosystem of ml practitioners who are actively utilizing tpus to put the boundaries of AI in a very cost efficient and sustainable manner importantly our customers can now enjoy a much better ease of use with the recently landed TPM architecture and ml Frameworks of choice the landscape of AI has dramatically shifted larger more complex models have given rise to Greater AI capabilities across a range of applications but at the same time larger models are also driving up the costs for AI Computing astronomically today's state-of-the-art llms are trained on tens of millions of dollars have hundreds of billions of parameters and need trillions of tokens of data to learn at Google we are no stranger to this phenomenon almost a decade ago we realized that if users search their voice just for three minutes per day Google would have to double its Data Center capacity to run speech recognition AI it's with that realization that we built the first generation Cloud TPU since then we have rapidly Advanced with every iteration from purpose built AI chips to the highest bandwidth Optical interconnects to efficient but highly scalable liquid cool data centers tpus have become powerful supercomputing platforms to meet the computational demands of the modern geni workloads let's take a closer look with the latest generation which is our Cloud TPU v5e it's the most cost efficient versatile and scalable Cloud debut to date first is cost efficiency Cloud tpv 5e provides Two Times Higher puff per dollar when training large ni models up to 2.5 times higher performance when running inference on them second is versatility in addition to running both training and inference TPU v5v offers eight different VM shapes to support the full breadth of llm and gen model sizes as large as 2 trillion parameters the divers VM shapes offer a wide range of computing horsepower and memory capacity which allows you to choose the optimal shape to suit your AI models and because it's a TPU it's been designed to scale using our largest multi-slice technology you can easily scale your model training across tens of thousands of chips Additionally you can conveniently leverage the exact same out of the box xlaa programming model to scale that you use today for all of you techn files out there I know you're craving to see the details TPU V5 is not the largest TPU we have seen but it is in fact the most efficient TPU to date in a world where we are confronted with a global EI chip shortage we have changed the way to think about serving our customers so we've chosen to make every chip count every TPU v5e chip packs a punch delivering nearly 400 ter Ops of computing while scaling 1,600 gbits per second over a blazing fast interchip interconnect each pod features 256 chips but it can be strung together across tens of thousands of chips using our Jupiter data center Network this elegant architecture allows us to offer v5e at an astonishing 54 cents per chip at the starting price starting today TPU v5v supercomputers are available for GA in North America with later availability coming to APAC and Amia regions to take the full advantage of TPO V5 platform we' have also invested in a complimentary software stack first off v5e supports both training and inference on AI leading Frameworks pych tensor flow and Jacks you can train and serve models end to end on tpus second we are introducing two new scaling Technologies multislice training enable Ables large scale training of AI models over tens of thousands of chips and multihost inference allows you to serve models as large as two trillion parameters last but not the very least Cloud tpus are now integrated with gke enabling seamless workloud orchestration furthermore integration with Vex AI will soon bring fully managed training and prediction workflows so this combination of elegant hardware and outof the-box software provides a coste efficient and productive endtoend AI development platform for you let's take a closer look at the inference stack we start with the trained pytorch jaxa tensorflow model we then export the model to a saved model using stable HL it's basically a portability layer between different AI Frameworks and compilers we run the saved model through the TPU entrance converter which performs initial optimization such as quantization we then compile this TPU compartible model using xlaa which does even more optimization including high level Fusion GMD sharding for data and model parallelm and lowlevel scheduling xcla also performs v5v Hardware specific optimizations and compilation so finally you resulted with a V5 optimized model that can run on tensor flow serving torch serve or saxs for Jack based models as you can see we're leveraging a robust software stack to take full advantage of the underlying powerful tpus we also bringing high throughput and low latency inference to Cloud TPU V5 when optimizing with our open xlaa compiler and the cloud TPU v5e delivers 2.5 times higher throughput per dollar for a range of state-of-the-art llm and ji models such as llama 2 gbd3 stable defusion 2.1 as well we can achieve this throughput performance without sacrificing latency in fact v5b achieves up to 1.7x speed up over the previous generation so what does all of this mean um it means that you can bring your most accurate most capable a models to realtime production applications at a fraction of what you would otherwise have to pay so llms and gen models continue to grow in size and the computational cost not just for training but also for serving also grows hand inand larges models require many many chips to fit and this is where flexibility of TPU V5 with fast interconnect up to 256 chip really shines Cloud TPU v5e supports INF frence on a variety of um model sizes a single v5e chip can run models up to 13 billion parameters and from there you can imagine the scale you can easily scale up to 256 chips and sometimes run models even with up to 2 trillion parameters and keep it still Within the Pod this is a quote from assembly AI one of our customers it's a testimonial from them for running their ASR models in production for their use cases well we saw the performance for inference use cases and the versatility of BM shapes that we offer let's take a closer look at training use cases with w5e we're able to achieve 2x higher training puff per dollar compared to the previous generations across lln 32 billion as well as gbd3 175 billion parameters we are also introducing aqt intake training we are able to see step function increase in perf per dollar for training workloads with multili technology we are able to scale Beyond power boundaries achieving near linear scaling for tens of thousands of chips in this specific use case we are able to scale a single workload to 16,000 chips with multi-slice training specifically customers can achieve near linear scaling across part boundaries to tens of thousands of chips with very few lines of code set up it's a full stack solution across gang scheduling orchestration compiler and runtime um as well as deep learning Frameworks to achieve this breathtaking scale character AI is a specific customer that has given us feedback on multi multi slice training it's truly a game changer for them and they are able to leverage through data center scale networking uh and they've used Jack's xlaa um to deliver out the box performance as well we saw inference and training performance graphs so far and here is an example of fine-tuning and this is specifically for Falcon llm we are able to achieve 1.9 times higher fine-tuning performance from the previous generations of tpus another great um customer testimonial from lightning AI they were able to achieve 1.9x higher puff per dollar for Pine tuning and again for a similar Falcon 7B llm compared to the previous generation of tpus again Cloud TPU V5 is now available globally uh we initially enabled access in Las Vegas um and also in the east east coast um there are many more locations opening up in North Americas soon to will'll also be opening up in Netherlands and Singapore this is our Global availability zones for cloud TP 5e we provide various consumption models to fit the needs of your business in use case you can spin up a machine on demand when you need them if you're able to but if you have a bursting workload or are testing any new workloads and On Demand uh is a perfect way to go once you understand your steady state requirements you can then purchase the committed use discounts in this case you're able to leverage up to 55% discounts across any region or a machine type family if you need additional savings then you can of course leverage spot VMS which have the lowest price for your most tolerant workloads shared reservations will also leverage discounts for on demand and um cuds our customers are able to leverage a mix or a wide variety of these consumption model to achieve optimal price for their business needs if you are interested um every customer will have a different path based on existing technology and business goals um our public website on cloud tpos has all the information about the system specs the scale and the documentation for getting started as well um you can also contact your sales representative to get immediate access to cloud tpus and and go from there with that said thank you so much for joining me today in my session there are wonderful other sessions that are being put together for women in ml Symposium I hope you have a wonderful rest of the day thank you so much for making [Music] it

Original Description

Learn about Cloud ML Accelerators including TPU, Google’s custom accelerator for advancing ML and AI for key use cases like LLM, Generative AI, and recommendation systems. This session will give an overview of Cloud TPU offerings including software features and capabilities, and also highlight key customer use cases. Thank you for watching Women in Machine Learning 2023. Speaker: Nithya Natesan Watch more: Watch all of the Women in ML Symposium sessions → https://goo.gle/WiML23-all Subscribe to the TensorFlow channel → https://goo.gle/TensorFlow #WIMLsymposium
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from TensorFlow · TensorFlow · 0 of 60

← Previous Next →
1 The TensorFlow YouTube Channel is Here!
The TensorFlow YouTube Channel is Here!
TensorFlow
2 Answering Your TF Questions #AskTensorFlow
Answering Your TF Questions #AskTensorFlow
TensorFlow
3 Chatting With the TensorFlow Community (TensorFlow Meets)
Chatting With the TensorFlow Community (TensorFlow Meets)
TensorFlow
4 All About TensorFlow Code (Coding TensorFlow)
All About TensorFlow Code (Coding TensorFlow)
TensorFlow
5 TensorFlow: an ML platform for solving impactful and challenging problems
TensorFlow: an ML platform for solving impactful and challenging problems
TensorFlow
6 Keynote (TensorFlow Dev Summit 2018)
Keynote (TensorFlow Dev Summit 2018)
TensorFlow
7 tf.data: Fast, flexible, and easy-to-use input pipelines (TensorFlow Dev Summit 2018)
tf.data: Fast, flexible, and easy-to-use input pipelines (TensorFlow Dev Summit 2018)
TensorFlow
8 Eager Execution (TensorFlow Dev Summit 2018)
Eager Execution (TensorFlow Dev Summit 2018)
TensorFlow
9 Machine Learning in JavaScript (TensorFlow Dev Summit 2018)
Machine Learning in JavaScript (TensorFlow Dev Summit 2018)
TensorFlow
10 Training Performance: A user’s guide to converge faster (TensorFlow Dev Summit 2018)
Training Performance: A user’s guide to converge faster (TensorFlow Dev Summit 2018)
TensorFlow
11 The Practitioner's Guide with TF High Level APIs (TensorFlow Dev Summit 2018)
The Practitioner's Guide with TF High Level APIs (TensorFlow Dev Summit 2018)
TensorFlow
12 Distributed TensorFlow (TensorFlow Dev Summit 2018)
Distributed TensorFlow (TensorFlow Dev Summit 2018)
TensorFlow
13 Debugging TensorFlow with TensorBoard plugins (TensorFlow Dev Summit 2018)
Debugging TensorFlow with TensorBoard plugins (TensorFlow Dev Summit 2018)
TensorFlow
14 TensorFlow Lite (TensorFlow Dev Summit 2018)
TensorFlow Lite (TensorFlow Dev Summit 2018)
TensorFlow
15 Searching Over Ideas (TensorFlow Dev Summit 2018)
Searching Over Ideas (TensorFlow Dev Summit 2018)
TensorFlow
16 Reconstructing Fusion Plasmas (TensorFlow Dev Summit 2018)
Reconstructing Fusion Plasmas (TensorFlow Dev Summit 2018)
TensorFlow
17 Nucleus: TensorFlow toolkit for Genomics (TensorFlow Dev Summit 2018)
Nucleus: TensorFlow toolkit for Genomics (TensorFlow Dev Summit 2018)
TensorFlow
18 Open Source Collaboration (TensorFlow Dev Summit 2018)
Open Source Collaboration (TensorFlow Dev Summit 2018)
TensorFlow
19 Swift for TensorFlow - TFiwS (TensorFlow Dev Summit 2018)
Swift for TensorFlow - TFiwS (TensorFlow Dev Summit 2018)
TensorFlow
20 TensorFlow Hub (TensorFlow Dev Summit 2018)
TensorFlow Hub (TensorFlow Dev Summit 2018)
TensorFlow
21 Applied AI at The Coca-Cola Company (TensorFlow Dev Summit 2018)
Applied AI at The Coca-Cola Company (TensorFlow Dev Summit 2018)
TensorFlow
22 Real-World Robot Learning (TensorFlow Dev Summit 2018)
Real-World Robot Learning (TensorFlow Dev Summit 2018)
TensorFlow
23 TensorFlow Extended (TFX) (TensorFlow Dev Summit 2018)
TensorFlow Extended (TFX) (TensorFlow Dev Summit 2018)
TensorFlow
24 Project Magenta (TensorFlow Dev Summit 2018)
Project Magenta (TensorFlow Dev Summit 2018)
TensorFlow
25 TensorFlow Dev Summit 2018 - Livestream
TensorFlow Dev Summit 2018 - Livestream
TensorFlow
26 Introducing TensorFlow Lite (Coding TensorFlow)
Introducing TensorFlow Lite (Coding TensorFlow)
TensorFlow
27 TensorFlow Dev Summit 2018 Highlights
TensorFlow Dev Summit 2018 Highlights
TensorFlow
28 Jeff Dean, Head of AI at Google discusses the impact of ML (TensorFlow Meets)
Jeff Dean, Head of AI at Google discusses the impact of ML (TensorFlow Meets)
TensorFlow
29 TensorFlow Mobile vs. TF Lite and More! #AskTensorFlow
TensorFlow Mobile vs. TF Lite and More! #AskTensorFlow
TensorFlow
30 Using TensorFlow to enable research & production across many fields (TensorFlow Meets)
Using TensorFlow to enable research & production across many fields (TensorFlow Meets)
TensorFlow
31 Teaching TensorFlow for Deep Learning at Stanford University (TensorFlow Meets)
Teaching TensorFlow for Deep Learning at Stanford University (TensorFlow Meets)
TensorFlow
32 TensorFlow Lite for Android (Coding TensorFlow)
TensorFlow Lite for Android (Coding TensorFlow)
TensorFlow
33 Using the tf.data API to build input pipelines (TensorFlow Meets)
Using the tf.data API to build input pipelines (TensorFlow Meets)
TensorFlow
34 Training Models in the Cloud & the Benefits of AI Toolkits #AskTensorFlow
Training Models in the Cloud & the Benefits of AI Toolkits #AskTensorFlow
TensorFlow
35 Execute operations immediately with TensorFlow's Eager Execution (TensorFlow Meets)
Execute operations immediately with TensorFlow's Eager Execution (TensorFlow Meets)
TensorFlow
36 TensorFlow Lite for iOS (Coding TensorFlow)
TensorFlow Lite for iOS (Coding TensorFlow)
TensorFlow
37 Get started with TensorFlow's High-Level APIs (Google I/O '18)
Get started with TensorFlow's High-Level APIs (Google I/O '18)
TensorFlow
38 TensorFlow for JavaScript (Google I/O '18)
TensorFlow for JavaScript (Google I/O '18)
TensorFlow
39 TensorFlow in production: TF Extended, TF Hub, and TF Serving (Google I/O '18)
TensorFlow in production: TF Extended, TF Hub, and TF Serving (Google I/O '18)
TensorFlow
40 Get started with TensorFlow's High-Level APIs in 5 mins |  Google I/O 2018
Get started with TensorFlow's High-Level APIs in 5 mins | Google I/O 2018
TensorFlow
41 TensorFlow and deep reinforcement learning, without a PhD (Google I/O '18)
TensorFlow and deep reinforcement learning, without a PhD (Google I/O '18)
TensorFlow
42 TensorFlow Lite for mobile developers (Google I/O '18)
TensorFlow Lite for mobile developers (Google I/O '18)
TensorFlow
43 Advances in machine learning and TensorFlow (Google I/O '18)
Advances in machine learning and TensorFlow (Google I/O '18)
TensorFlow
44 Distributed TensorFlow training (Google I/O '18)
Distributed TensorFlow training (Google I/O '18)
TensorFlow
45 Classification using neural networks & ML regression models #AskTensorFlow
Classification using neural networks & ML regression models #AskTensorFlow
TensorFlow
46 TensorFlow and Keras in R - Josh Gordon meets with J.J. Allaire (TensorFlow Meets)
TensorFlow and Keras in R - Josh Gordon meets with J.J. Allaire (TensorFlow Meets)
TensorFlow
47 Focus on your experiment with TensorFlow Estimators (TensorFlow Meets)
Focus on your experiment with TensorFlow Estimators (TensorFlow Meets)
TensorFlow
48 How to get started with AI/ML, retraining models, & more! #AskTensorFlow
How to get started with AI/ML, retraining models, & more! #AskTensorFlow
TensorFlow
49 TensorFlow - the deep learning solution for mobile platforms (TensorFlow Meets)
TensorFlow - the deep learning solution for mobile platforms (TensorFlow Meets)
TensorFlow
50 MiniGo: TensorFlow Meets Andrew Jackson (TensorFlow Meets)
MiniGo: TensorFlow Meets Andrew Jackson (TensorFlow Meets)
TensorFlow
51 The growth of TensorFlow with added support for JS & Swift (TensorFlow Meets)
The growth of TensorFlow with added support for JS & Swift (TensorFlow Meets)
TensorFlow
52 At the intersection of TensorFlow & nuclear physics (TensorFlow Meets)
At the intersection of TensorFlow & nuclear physics (TensorFlow Meets)
TensorFlow
53 NVidia TensorRT: high-performance deep learning inference accelerator (TensorFlow Meets)
NVidia TensorRT: high-performance deep learning inference accelerator (TensorFlow Meets)
TensorFlow
54 Try TensorFlow.js in your browser (Coding TensorFlow)
Try TensorFlow.js in your browser (Coding TensorFlow)
TensorFlow
55 TensorFlow Hub: reusing machine learning modules (TensorFlow Meets)
TensorFlow Hub: reusing machine learning modules (TensorFlow Meets)
TensorFlow
56 How to use TensorFlow in PyCharm (TensorFlow Tip of the Week)
How to use TensorFlow in PyCharm (TensorFlow Tip of the Week)
TensorFlow
57 Training models faster with TensorFlow Hub (TensorFlow Meets)
Training models faster with TensorFlow Hub (TensorFlow Meets)
TensorFlow
58 Prepare your dataset for machine learning (Coding TensorFlow)
Prepare your dataset for machine learning (Coding TensorFlow)
TensorFlow
59 Using ML to predict insulin use for Type 1 Diabetes (TensorFlow Meets)
Using ML to predict insulin use for Type 1 Diabetes (TensorFlow Meets)
TensorFlow
60 TFX: an end-to-end machine learning platform for TensorFlow (TensorFlow Meets)
TFX: an end-to-end machine learning platform for TensorFlow (TensorFlow Meets)
TensorFlow

This video introduces Cloud TPUs as a key component of AI-powered infrastructure, highlighting their role in accelerating ML and AI workloads, particularly for LLM and Generative AI applications. Viewers will learn about the software features and capabilities of Cloud TPU and explore customer use cases. By watching this video, viewers will gain a foundational understanding of how to leverage Cloud TPUs for their own ML and AI projects.

Key Takeaways
  1. Learn about Cloud ML Accelerators
  2. Understand the role of Cloud TPUs in ML and AI acceleration
  3. Explore software features and capabilities of Cloud TPU
  4. Investigate customer use cases for Cloud TPU
  5. Consider deploying LLM models on Cloud TPUs
💡 Cloud TPUs are custom accelerators designed to advance ML and AI workloads, particularly for key use cases like LLM and Generative AI.

Related Reads

📰
Claude Has a Silent Workspace. Anthropic Just Found It
Discover how Anthropic's AI model Claude can infer answers without explicit prompts, and learn to apply this technique to improve your own AI interactions
Medium · AI
📰
Claude Has a Silent Workspace. Anthropic Just Found It
Discover how Anthropic's Claude model can infer context without explicit keywords, and learn to apply this understanding to improve your own prompt engineering skills
Medium · Machine Learning
📰
Claude Has a Silent Workspace. Anthropic Just Found It
Discover how Anthropic's AI model Claude can infer answers without explicit mentions, and learn to apply similar techniques in your own AI projects
Medium · Programming
📰
Stop Paying the AI Tax: Every Technical Trick That Cuts Your LLM Bill Without Killing Quality
Optimize LLM costs without sacrificing quality by applying technical tricks and strategies
Medium · AI
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →