Latest Tutorials

Learn about the latest technologies from fellow newline community members!

  • React
  • Angular
  • Vue
  • Svelte
  • NextJS
  • Redux
  • Apollo
  • Storybook
  • D3
  • Testing Library
  • JavaScript
  • TypeScript
  • Node.js
  • Deno
  • Rust
  • Python
  • GraphQL
  • React
  • Angular
  • Vue
  • Svelte
  • NextJS
  • Redux
  • Apollo
  • Storybook
  • D3
  • Testing Library
  • JavaScript
  • TypeScript
  • Node.js
  • Deno
  • Rust
  • Python
  • GraphQL
    NEW

    Using Sharpness-Aware Minimization to Boost Deep Learning Models

    Sharpness-Aware Minimization (SAM) is an optimization technique designed to improve the generalization of deep learning models by flattening the loss landscape during training. Unlike traditional methods like Stochastic Gradient Descent (SGD) or Adam, SAM explicitly balances minimizing the loss and…
    Thumbnail Image of Tutorial Using Sharpness-Aware Minimization to Boost Deep Learning Models
      NEW

      Tensor Parallelism Checklist: Maximize GPU Utilization

      Tensor parallelism splits model computations across GPUs to boost efficiency. Below is a comparison of key techniques: Tensor parallelism improves training speed by 2–4x compared to single-GPU setups, as seen in vLLM benchmarks. It also enhances model accuracy by maintaining full-precision…
      Thumbnail Image of Tutorial Tensor Parallelism Checklist: Maximize GPU Utilization

      I got a job offer, thanks in a big part to your teaching. They sent a test as part of the interview process, and this was a huge help to implement my own Node server.

      This has been a really good investment!

      Advance your career with newline Pro.

      Only $40 per month for unlimited access to over 60+ books, guides and courses!

      Learn More
        NEW

        What Is Tensor Parallelism and How to Apply It

        Watch: Scale ANY Model: PyTorch DDP, ZeRO, Pipeline & Tensor Parallelism Made Simple (2025 Guide) by Zachary Mueller Tensor Parallelism (TP) is a distributed computing strategy that splits large model tensors across multiple GPUs to reduce memory usage and accelerate training/inference. Unlike Data…
        Thumbnail Image of Tutorial What Is Tensor Parallelism and How to Apply It
          NEW

          Agent‑Centric Benchmarking Moves Beyond Static Datasets

          Agent-centric benchmarking transforms how AI systems are evaluated by replacing static datasets with dynamic, interactive protocols. Traditional benchmarks rely on fixed datasets with predefined questions or tasks, limiting their ability to test real-world adaptability. In contrast, agent-centric…
          Thumbnail Image of Tutorial Agent‑Centric Benchmarking Moves Beyond Static Datasets
            NEW

            Ask What Explanations Should Answer, Not If Model Is Interpretable

            Watch: Interpretable vs Explainable Machine Learning by A Data Odyssey When working with AI models, the focus should shift from whether a model is interpretable to what questions explanations must answer. As mentioned in the Why Explanations Matter in AI Development section, explanations bridge the…
            Thumbnail Image of Tutorial Ask What Explanations Should Answer, Not If Model Is Interpretable