AI workload storage options

Google Cloud Tech · Beginner ·📐 ML Fundamentals ·7mo ago
Skills: ML Pipelines80%

Key Takeaways

The video discusses Google Cloud's storage recommendations for high-performance AI and machine learning workloads, highlighting Managed Lustre and Google Cloud Storage (GCS) as top choices for training and inference phases.

Full Transcript

[Music] Running high performance AI and machine learning workloads can be incredibly resource inensive. We're talking about massive data sets and compute requirements that are constantly pushing boundaries. But all that compute is only as fast as the data you can feed it. If your storage is slow, your expensive accelerator cluster could be sitting idle waiting for a file. So, how do you choose the right storage for your specific AI workload? Let's take a look at the top choice for two common jobs and the powerful alternatives so you can make the right decision based on your specific needs for performance, cost, and ease of use. Let's start with the most demanding phase, training. For this, manage luster is a perfect place to start. Manage Luster is a parallel file system with high throughput that works great for AI workloads. It stripes data across many disks to deliver up to 1 tabyte a second of throughput for both reads and writes with submillisecond latency. This high performance is critical for workloads that write large frequent checkpoints or jobs that access millions of tiny files. Manage Luster provides the throughput and low latency needed to keep your accelerators fully saturated. Another option for training is Google Cloud Storage. GCS is different from the traditional file system of Luster. It's an object store for direct use in your AI jobs. GCS fuse lets your compute instances mount a bucket as a local file system. You can also enable GCS anywhere cache to create a zonal cache on SSDs closer to your jobs. This delivers file throughput of up to 2.5 terabytes per second and offers 70% lower latency compared to reading directly from the bucket. The trade-off with GCS is that you may need to adjust your job to fit the object storage model and manually tune the cache to get the best performance. This is in contrast to manage luster which we expect to have high performance for most training jobs out of the gate without manual tuning. Now let's switch to inference. Here the priorities change and so do our recommendations. For inference, our primary recommendation is GCS with anywhere cache. For inference, cost effectiveness and flexibility are key. You can store your model in a single multi-reion bucket and then use anywhere cache to create high performance read caches in any zone where you have inference servers, bringing the model closer to your users. The alternative for inference is manage luster. In some cases, it's higher performing and could be a logical choice in a few key scenarios. For instance, if you're already using managed luster for training in a single zone, it's simple and efficient to use it for serving there as well. It's also the top performer for workloads with the strictest latency requirements, like if you're relying on a KV cache. So to summarize our storage recommendations for AI training, choose manage luster when you need the highest performance with the least manual tuning. Or you can use GCS with anywhere cache for an alternative, especially if you're willing to write your job with an object store in mind. For AI inference, your primary choice is GCS with anywhere cache for its balance of cost and flexibility. Manage Luster is your secondary choice when you need the absolute lowest latency or are already using it for training. By choosing your storage based on your workload, you can build the right foundation for any AI application on Google Cloud. To learn more, check out the links in the description. Thanks for watching and we'll see you in the next one. [Music]

Original Description

High performance AI and machine learning workloads demand equally high performance storage. This video explores Google Cloud's primary storage recommendations to keep your expensive accelerators fully saturated during both AI training and inference. We dive into Managed Lustre for its unparalleled throughput and Google Cloud Storage (GCS) with GCS FUSE and Anywhere Cache for its flexibility and cost effectiveness. Discover the right storage solution to build the foundation for your AI applications. Chapters: 0:00 - Introduction 0:31 - Storage for AI Training: Managed Lustre 1:19 - Alternative for Training: Google Cloud Storage with GCS FUSE 2:08 - Storage for Inference: GCS with Anywhere Cache 2:32 - Alternative for Inference: Managed Lustre 2:55 - Summary of Storage Recommendations 3:25 - Conclusion Resources: High performance parallel file system → https://goo.gle/ra-managed-lustre Optimize AI and ML workloads with Cloud Storage FUSE → https://goo.gle/ra-gcs-fuse Subscribe to Google Cloud Tech → https://goo.gle/GoogleCloudTech #GoogleCloud #GCSFUSE #CloudStorage Speakers: Drew Brown Products Mentioned: AI Infrastructure, Cloud Storage
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Google Cloud Tech · Google Cloud Tech · 0 of 60

← Previous Next →
1 I’m going for it #GoogleCloudCertified
I’m going for it #GoogleCloudCertified
Google Cloud Tech
2 I had to get #GoogleCloudCertified
I had to get #GoogleCloudCertified
Google Cloud Tech
3 Be better overall at what you do #GoogleCloudCertified
Be better overall at what you do #GoogleCloudCertified
Google Cloud Tech
4 Cloud Monitoring on our radar #Analysis #Uptime
Cloud Monitoring on our radar #Analysis #Uptime
Google Cloud Tech
5 Introduction to Generative AI Studio
Introduction to Generative AI Studio
Google Cloud Tech
6 How to use Github Actions with Google's Workload Identity Federation
How to use Github Actions with Google's Workload Identity Federation
Google Cloud Tech
7 Introduction to Responsible AI
Introduction to Responsible AI
Google Cloud Tech
8 Networking updates and CDMC-certified architecture
Networking updates and CDMC-certified architecture
Google Cloud Tech
9 Create and use a Cloud Storage bucket
Create and use a Cloud Storage bucket
Google Cloud Tech
10 How to digitize text from documents
How to digitize text from documents
Google Cloud Tech
11 Faster analytical queries with AlloyDB
Faster analytical queries with AlloyDB
Google Cloud Tech
12 Next ‘23 sessions and FaaS Wave
Next ‘23 sessions and FaaS Wave
Google Cloud Tech
13 Introduction to Assured Open Source Software
Introduction to Assured Open Source Software
Google Cloud Tech
14 BigQuery Cost Optimization: Storage
BigQuery Cost Optimization: Storage
Google Cloud Tech
15 BigQuery Cost Optimization: Compute
BigQuery Cost Optimization: Compute
Google Cloud Tech
16 BigQuery Cost Optimization: Select Queries
BigQuery Cost Optimization: Select Queries
Google Cloud Tech
17 Remote Field Equipment Management with Manufacturing Data Engine
Remote Field Equipment Management with Manufacturing Data Engine
Google Cloud Tech
18 Supercharging your applications with Cloud SQL Enterprise Plus
Supercharging your applications with Cloud SQL Enterprise Plus
Google Cloud Tech
19 Vector Support on our radar #GenAI
Vector Support on our radar #GenAI
Google Cloud Tech
20 Architecting a blockchain startup with Google Cloud
Architecting a blockchain startup with Google Cloud
Google Cloud Tech
21 Kubernetes and multitasking updates!
Kubernetes and multitasking updates!
Google Cloud Tech
22 GKE: Using Kubernetes Events
GKE: Using Kubernetes Events
Google Cloud Tech
23 How to configure firewall rules for Cloud Composer
How to configure firewall rules for Cloud Composer
Google Cloud Tech
24 Vertex AI Embeddings API + Matching Engine: Grounding LLMs made easy
Vertex AI Embeddings API + Matching Engine: Grounding LLMs made easy
Google Cloud Tech
25 Geospatial analytics on our radar #EarthEngine #BigQuery
Geospatial analytics on our radar #EarthEngine #BigQuery
Google Cloud Tech
26 Ensuring requests are set in Kubernetes
Ensuring requests are set in Kubernetes
Google Cloud Tech
27 Cloud Next 2023, Google research program, and more!
Cloud Next 2023, Google research program, and more!
Google Cloud Tech
28 How to migrate projects between organizations with Resource Manager
How to migrate projects between organizations with Resource Manager
Google Cloud Tech
29 How to run #MySQL in Google Cloud
How to run #MySQL in Google Cloud
Google Cloud Tech
30 #GenerativeAI for enterprises and #Next2023
#GenerativeAI for enterprises and #Next2023
Google Cloud Tech
31 How Google Photos scales to store 4 trillion photos and videos
How Google Photos scales to store 4 trillion photos and videos
Google Cloud Tech
32 Google Cross-Cloud Interconnect (Demo 2)
Google Cross-Cloud Interconnect (Demo 2)
Google Cloud Tech
33 GKE Cost Optimization Golden Signals: Introduction
GKE Cost Optimization Golden Signals: Introduction
Google Cloud Tech
34 GKE Cost Optimization Golden Signals: Workload Rightsizing
GKE Cost Optimization Golden Signals: Workload Rightsizing
Google Cloud Tech
35 GKE Load Balancing: Overview
GKE Load Balancing: Overview
Google Cloud Tech
36 GKE Load Balancing: Best Practices
GKE Load Balancing: Best Practices
Google Cloud Tech
37 Disaster Recovery in GKE
Disaster Recovery in GKE
Google Cloud Tech
38 How to configure IP masquerade agent in GKE Standard clusters
How to configure IP masquerade agent in GKE Standard clusters
Google Cloud Tech
39 Enable and use GKE Control plane logs
Enable and use GKE Control plane logs
Google Cloud Tech
40 Compliance in Australia with Assured Workloads
Compliance in Australia with Assured Workloads
Google Cloud Tech
41 Creating budgets and budget alerts in Google Cloud #FinOps
Creating budgets and budget alerts in Google Cloud #FinOps
Google Cloud Tech
42 Cloud SQL Enterprise Plus on our radar #mySQL
Cloud SQL Enterprise Plus on our radar #mySQL
Google Cloud Tech
43 What's Next for Google Cloud?
What's Next for Google Cloud?
Google Cloud Tech
44 How Loveholidays scaled with Contact Center AI
How Loveholidays scaled with Contact Center AI
Google Cloud Tech
45 What is fleet team management in GKE?
What is fleet team management in GKE?
Google Cloud Tech
46 Troubleshoot VPC Network Peering
Troubleshoot VPC Network Peering
Google Cloud Tech
47 Introduction to DocAI and Contact Center AI
Introduction to DocAI and Contact Center AI
Google Cloud Tech
48 Cloud Run Direct VPC egress explained
Cloud Run Direct VPC egress explained
Google Cloud Tech
49 Database deployment options in GKE
Database deployment options in GKE
Google Cloud Tech
50 Analyze cloud billing data with #BigQuery
Analyze cloud billing data with #BigQuery
Google Cloud Tech
51 Tips to becoming a world-class Prompt Engineer
Tips to becoming a world-class Prompt Engineer
Google Cloud Tech
52 Serverless is simple. Do I need CI/CD?
Serverless is simple. Do I need CI/CD?
Google Cloud Tech
53 Accelerating model deployment with MLOps
Accelerating model deployment with MLOps
Google Cloud Tech
54 How Hawaii's Department of Human Services scaled with CCAI
How Hawaii's Department of Human Services scaled with CCAI
Google Cloud Tech
55 Pricing API on our #Radar
Pricing API on our #Radar
Google Cloud Tech
56 How Recommendations AI for Media can boost customer retention
How Recommendations AI for Media can boost customer retention
Google Cloud Tech
57 Troubleshooting: Node Not Ready Status
Troubleshooting: Node Not Ready Status
Google Cloud Tech
58 One weekend until Cloud Next 2023!
One weekend until Cloud Next 2023!
Google Cloud Tech
59 #GoogleCloudNext starts tomorrow!
#GoogleCloudNext starts tomorrow!
Google Cloud Tech
60 #GoogleCloudNext will be demand!
#GoogleCloudNext will be demand!
Google Cloud Tech

This video teaches how to choose the right storage for AI workloads on Google Cloud, covering Managed Lustre and Google Cloud Storage (GCS) for training and inference phases. It highlights the importance of high-performance storage for AI applications.

Key Takeaways
  1. Determine the specific needs of your AI workload for performance, cost, and ease of use
  2. Choose Managed Lustre for AI training when high performance with minimal manual tuning is required
  3. Use Google Cloud Storage (GCS) with anywhere cache for AI inference when cost-effectiveness and flexibility are key
  4. Consider using GCS with anywhere cache for AI training when willing to write jobs with an object store in mind
  5. Evaluate the trade-offs between Managed Lustre and GCS for your specific use case
💡 Choosing the right storage solution for your AI workload can significantly impact performance and cost, and understanding the strengths and weaknesses of different storage options is crucial for building efficient AI applications.

Related Reads

📰
Programação dinâmica
Learn to break down complex problems into smaller sub-problems using dynamic programming and solve them efficiently
Medium · Data Science
📰
What Breaks First When Your AI App Reaches 1,000 Real Users?
Learn how to identify and address scalability issues in AI apps as user base grows to 1,000 real users, focusing on latency, retries, and queues
Medium · Machine Learning
📰
The Mental Model of PyTorch: Build a Neural Network in 5 Phases
Learn the mental model of PyTorch by building a neural network in 5 phases to understand every line of code
Medium · Deep Learning
📰
Automatic Relevance Determination Regression for Time Series Forecasting
Learn how to apply Automatic Relevance Determination Regression for accurate time series forecasting
Medium · Data Science

Chapters (7)

Introduction
0:31 Storage for AI Training: Managed Lustre
1:19 Alternative for Training: Google Cloud Storage with GCS FUSE
2:08 Storage for Inference: GCS with Anywhere Cache
2:32 Alternative for Inference: Managed Lustre
2:55 Summary of Storage Recommendations
3:25 Conclusion
Up next
Dropout in Deep Learning
AnuTech-CH
Watch →