Topic

Cloud Infrastructure

All digests tagged Cloud Infrastructure

Can you forecast next week's weather? thumbnail

· 31:21

Can you forecast next week's weather?

This technical discussion explores the evolution of weather forecasting, detailing the shift from resource-intensive physics-based models to more efficient AI/ML approaches. The conversation highlights how modern ML tools, particularly those provided by Hugging Face, are standardizing the workflow for running, evaluating, and fine-tuning these complex scientific models. Key focus areas include using the `EarthMover` marketplace for scientific data, leveraging object storage (`buckets`) for data management, and utilizing Hugging Face Jobs for scalable, accessible computation.

Key takeaways

  1. Paradigm Shift in Forecasting Models

    Historically, forecasting relied on physics-based models, which are accurate but computationally demanding and resource-intensive. AI-based models offer a significant advantage by requiring substantially less time and energy for computation, allowing for faster experimentation and iteration.

  2. ML/LLM Parallelism in Weather Prediction

    Weather forecasting models share conceptual similarities with Large Language Models (LLMs). Both utilize an autoregressive paradigm: taking an initial state (like a token or a snapshot of the atmosphere) as input, and predicting the next state (e.g., what happens in the next six hours) sequentially.

  3. Standardizing Data and Compute Infrastructure

    The complexity of scientific data is managed through the `EarthMover` marketplace, which allows users to fetch specific variables (e.g., temperature, wind) on demand, rather than downloading all global data at once. Hugging Face provides infrastructure solutions, including Jobs and object storage (`buckets`), to make running these models accessible even without dedicated GPU clusters.

  4. Ensemble Modeling and Evaluation

    To improve forecast reliability, ensemble models are used, predicting a range of possible outcomes rather than a single deterministic forecast. Evaluation is challenging because ground truth data is often unavailable; thus, reanalysis (e.g., ERA5) or analysis data is used as a proxy for ground truth, and specialized metrics are needed to assess performance on skewed variables like precipitation.

Watch on YouTube Full article

Building Turbopuffer: Gergely Orosz (@pragmaticengineer ) × Simon Eskildsen (CEO) thumbnail

· 56:30

Building Turbopuffer: Gergely Orosz (@pragmaticengineer ) × Simon Eskildsen (CEO)

The discussion provides a deep dive into building highly scalable and resilient infrastructure, focusing heavily on state management challenges in large-scale distributed systems. Key engineering lessons include moving beyond simple benchmarks to model real-world failure modes (e.g., connection layer failures), optimizing for P99 latency when using object storage like S3, and adapting architecture to current cloud constraints, particularly the increasing demand for CPUs driven by AI/RL workloads.

Key takeaways

  1. Modeling Failure in CI 20:46

    To ensure system reliability, it is crucial to simulate low-level failures (like database connection loss) rather than just mocking components. The use of custom proxies or tools like `GDB` allows testing the application's failure handling at the connection layer, uncovering issues that are difficult to reproduce in production.

  2. The Importance of P99 Latency 30:27

    When designing large-scale systems, especially those involving multiple round trips (like navigating a tree structure on S3), optimization must focus on the P99 latency, not just the average (P50). This is critical for accurate performance prediction.

  3. CPU Scarcity in AI Workloads 47:25

    The demand curve for CPUs is shifting right due to AI and Reinforcement Learning (RL) workloads, which require significant CPU cycles for training and general-purpose agent execution. This scarcity is a major constraint that cloud providers are managing through power allocation.

  4. Architectural Simplicity Wins 51:27

    The principle of 'simplicity above everything' was key to the development philosophy, allowing for rapid iteration and focusing on core functionality rather than complex features. This approach helped achieve significant cost reductions (e.g., reducing a client's bill by 95%).

Watch on YouTube Full article

Emulated: The Data for Fully Autonomous Software Engineers and Companies — Joseph Wang thumbnail

· 16:33

Emulated: The Data for Fully Autonomous Software Engineers and Companies — Joseph Wang

Emulated focuses on creating high-fidelity training data environments that simulate entire companies and complex infrastructure operations, moving beyond simple code diffs or single-node sandboxes. The core argument is that for AI agents to achieve true autonomy in mission-critical systems (like cloud providers), they must be trained on long-horizon tasks involving distributed cluster failures, resource provisioning across VPCs/subnets, managing cost constraints, and reasoning through real-world operational incidents.

Key takeaways

  1. The Data Gap in AI Agents 3:30

    Current benchmarks (e.g., SweBench Pro, Terminal Bench) limit agents to operating within a codebase, failing to capture the complexity of real-world tasks like PM communication, performance testing, or owning underlying infrastructure over years.

  2. Complexity Requires Full Simulation 6:10

    Real infrastructure work is not a simple code diff; it involves managing failing nodes, stale deprecated components, live traffic serving, and operational blast radius across distributed clusters.

  3. Limitations of Single-Node Sandboxes 10:40

    Standard post-training pipelines often use homogeneous single-node sandboxes. However, real cloud services require simulating resource provisioning (EC2, Cloud Run), VPCs, subnets, and security groups, which necessitates a multi-node sandbox with access to real infrastructure.

Watch on YouTube Full article