Skip to main content
use-apify.com

GPU: guides & tutorials

GPUs speed LLM parsing, OCR, and vision on large crawls. Most scrapers stay CPU-bound until models—not HTTP—become the throughput bottleneck you hit first.

8 articles

View all tags

GPUs speed LLM parsing, OCR, and vision on large crawls, but most scrapers stay CPU-bound until models become the bottleneck. These guides cover when a GPU actually helps a data pipeline.

The honest answer is that HTTP and parsing rarely need a GPU; model inference on the output sometimes does. Apify runs the crawl while GPU hardware handles heavy model stages. Below you will find guidance on GPU use in scraping pipelines.

Related topics

Self-hosting6 min read

Ollama vs vLLM: Choosing a Self-Hosted LLM Inference Server (2026)

· 6 min read
Yassine El Haddad
Software Developer & Automation Specialist

Ollama and vLLM both let you run open-weight LLMs on your own hardware without sending prompts to OpenAI or Anthropic. But they are built for different points on the scale curve — Ollama for developers and small teams, vLLM for production multi-user inference workloads where throughput matters.

Self-hosting7 min read

5 Self-Hosted ChatGPT Alternatives — Run LLMs on Your Own Server (2026)

· 7 min read
Yassine El Haddad
Software Developer & Automation Specialist

ChatGPT Team costs $25 per user per month. At 10 users that is $3,000 per year — before you factor in rate limits, data residency concerns, and the fact that every prompt you send trains future OpenAI models unless you opt out. Self-hosting an LLM stack eliminates per-seat costs, keeps prompts on hardware you control, and lets you run models tuned for your domain.

Self-hosting15 min read

Private Team ChatGPT: Ollama + LiteLLM + Open WebUI + Authentik on Liquid Web GPU (2026)

· 15 min read
Yassine El Haddad
Software Developer & Automation Specialist

TL;DR

  • One docker-compose.yml: Ollama + LiteLLM + Open WebUI + Authentik + PostgreSQL + Redis + Caddy
  • Team logs in via SSO (Authentik OIDC); per-team budgets enforced by LiteLLM
  • Runs Llama 3 70B at 40–60 tokens/sec on a Liquid Web L40S GPU server (48 GB VRAM)
  • ChatGPT Team (10 users): $250/mo — this stack on L40S: ~$1,040/mo 24/7 or ~$360/mo at 8 hr/day · 5 days/wk

Every prompt your team sends to ChatGPT Team or Copilot for Microsoft 365 leaves your network and is processed on OpenAI's or Microsoft's servers. For most teams that's an acceptable trade-off. For teams handling legal documents, source code, financial data, or customer PII, it is not. This guide deploys a private ChatGPT equivalent — Llama 3 70B running on your own GPU hardware, with a ChatGPT-quality web interface, your company's SSO, and per-team usage budgets — entirely inside your infrastructure.

Self-hosting16 min read

Self-Hosted RAG Pipeline: Dify + Qdrant + Ollama on Liquid Web (2026)

· 16 min read
Yassine El Haddad
Software Developer & Automation Specialist

TL;DR

  • One docker-compose.yml: Dify (API + worker + web + sandbox) + Qdrant + Ollama + PostgreSQL + Redis + Caddy
  • Measured idle RAM: ~7.4 GB (Llama 3 8B loaded, CPU inference); minimum server: 16 GB VPS
  • Replaces: OpenAI Assistants API ($0.03/1k tokens) + Pinecone Starter ($70/mo) with a fully local, zero-egress alternative
  • Your documents never leave the server — not during upload, not during embedding, not during inference

Retrieval-Augmented Generation (RAG) lets you ask questions against a private document corpus and get answers grounded in the actual content. The dominant hosted pattern — OpenAI Assistants + Pinecone — works, but every document chunk and every query travels to OpenAI's servers. For legal contracts, internal knowledge bases, or any non-public data, that is a compliance liability.

This guide deploys a fully self-hosted RAG stack: Dify as the orchestration and document management layer, Qdrant as the vector database, and Ollama serving both the embedding model and the chat LLM — all on a single Liquid Web VPS.

GPU8 min read

Running OpenClaw with Local GPU Inference on LiquidWeb (2026)

· 8 min read
Yassine El Haddad
Software Developer & Automation Specialist

Self-hosting OpenClaw with a cloud API backend is easy. But cloud APIs have costs that scale with usage, and they receive every message you send. If your team uses OpenClaw heavily, or if data privacy is a concern, local GPU inference solves both problems: your data stays on your hardware, and you pay a flat server rate instead of per-token fees.

ComfyUI7 min read

ComfyUI on a Cloud GPU: Run Stable Diffusion and FLUX Remotely (2026)

· 7 min read
Yassine El Haddad
Software Developer & Automation Specialist

ComfyUI is a node-based workflow editor for Stable Diffusion and FLUX. It is more powerful and flexible than AUTOMATIC1111, with a steeper learning curve. The catch: SDXL wants 12GB+ VRAM, and FLUX wants 24GB+. Most consumer GPUs fall short. The solution: run ComfyUI on a cloud GPU server and access it via SSH tunnel or reverse proxy. This guide covers setup on a fresh GPU server, model management, essential workflows, and remote access. For hosting, Liquid Web offers GPU VPS with RTX 4090, A100, and H100 options.

GPU7 min read

Fine-Tune LLaMA 3 with QLoRA on a Rented GPU: Complete Guide (2026)

· 7 min read
Yassine El Haddad
Software Developer & Automation Specialist

Fine-tuning adapts a pre-trained model to your domain — support tickets, legal docs, code style, or brand voice. QLoRA makes it practical on a single GPU: quantize the base model to 4-bit, train small LoRA adapters, then merge and deploy. This guide covers the full pipeline: dataset format, libraries, training script, saving and loading, evaluation, and cost estimates. For hardware, Liquid Web offers A100 and H100 GPU servers by the hour.

GPU15 min read

Serve LLaMA 3 with vLLM: Production Inference API on a GPU Server (2026)

· 15 min read
Yassine El Haddad
Software Developer & Automation Specialist

Deploy Meta's LLaMA 3 as a high-throughput, OpenAI-compatible inference API on a dedicated GPU server — with quantization, load testing, and Prometheus monitoring included.

If you've run LLaMA 3 locally with Ollama or llama.cpp, you've hit the ceiling: single-user latency is fine, but concurrency crumbles past three or four simultaneous requests. vLLM solves that. It uses PagedAttention and continuous batching to serve dozens of concurrent requests on the same GPU that would otherwise stall at one.

This guide walks through deploying LLaMA 3 (8B and 70B) on a dedicated GPU server using vLLM — covering Docker setup, model quantization, the OpenAI-compatible API, load testing with Locust, and Prometheus monitoring. All steps are tested on an NVIDIA A100 80 GB, which you can rent from Liquid Web.

Guides on this site

Frequently asked questions

Frequently Asked Questions

Standard web scraping does not need GPUs. GPU demand arises in the post-processing stage: embedding text for RAG pipelines, running inference on scraped images, or fine-tuning models on collected training data. Separate the GPU-intensive processing from the scraping actor to optimize cost for each stage independently.

Apify handles the scraping and data storage; GPU inference runs on separate infrastructure—AWS EC2 GPU instances, RunPod, Vast.ai, or a local server. Apify webhooks trigger the GPU workload when scraped data is ready. This decoupled architecture lets you scale scraping and inference independently based on their different cost profiles.

RunPod and Vast.ai offer flexible spot pricing for batch inference jobs. AWS SageMaker and GCP Vertex AI provide managed inference endpoints with auto-scaling. Lambda Labs offers hourly GPU instances for training. Match instance type to your VRAM requirement: 24GB for most 7B models, 80GB for 70B quantized inference.

Batch text chunks into groups of 64-256, run through sentence-transformers or OpenAI embedding API, and write to a vector store. Local GPU embedding with ONNX Runtime is fast and cheap at scale; API embedding is simpler but costs per token. Typical throughput: 50,000 short text chunks per GPU-hour at 16-bit precision.