Tutorials on Gpu Memory Optimization

Learn about Gpu Memory Optimization 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

Fine-Tune LLMs on a Single GPU Using LoRA and PEFT

LoRA makes single-GPU fine-tuning possible by updating adapters instead of rewriting the full model. QLoRA pushes further by quantizing the frozen base model, which frees up memory for the trainable adapter, optimizer state, and batches. Here's what single-GPU LoRA and QLoRA workflows look like in…
Thumbnail Image of Tutorial Fine-Tune LLMs on a Single GPU Using LoRA and PEFT

What Is FlashInfer? FlashInfer-Bench and Faster Attention Kernels for LLM Inference

Evaluating FlashInfer against existing attention backends comes down to a few numbers that matter for production serving. Here's what the benchmarks actually show. FlashInfer vs. Existing Backends: What the Numbers Show FlashInfer sits between memory-bound token generation and compute-bound prompt…
Thumbnail Image of Tutorial What Is FlashInfer? FlashInfer-Bench and Faster Attention Kernels for LLM Inference

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