How do you fine-tune a model and then run it in Ollama?
Ollama cannot train. Fine-tune on a GPU, merge the LoRA, convert to GGUF with llama.cpp, then ollama create with a Modelfile that matches the chat template.
Ollama cannot train. Fine-tune on a GPU, merge the LoRA, convert to GGUF with llama.cpp, then ollama create with a Modelfile that matches the chat template.
The PyTorch speed levers in payoff order, from BF16 autocast to CUDA graphs, with sourced speedups, a timing harness and what each is worth in dollars.
Cerebrium alternatives for serverless GPUs: Nodus, Modal, RunPod Serverless and Baseten priced on Cerebrium's own L4 billing example.
Make your script save and resume, size the GPU by memory, time a 200-step probe, then launch with a cost cap. A worked $1.67 run, with the code.
Beam Cloud alternatives for serverless GPUs: Nodus, Modal, RunPod Serverless, Baseten and Cerebrium compared on one 24 GB endpoint at list prices.
Pick the cheapest GPU whose memory fits the job. A workload table from 8B to 70B, cheapest fitting GPU at Nodus list prices, and when an H100 pays.
Budget AI GPUs ranked by list price per GB of VRAM, what 12 and 16 GB fit, and the hours-per-month rule for when per-hour jobs on Nodus beat buying.
GPU-hours = 6 x params x tokens / (peak FLOPS x utilization x 3,600); cost = GPU-hours x rate. A Python calculator, a worked run and a spend-cap rule.
Gemma 4 LoRA and QLoRA by model size: VRAM, the GPU each size needs, chat-template and attention traps, and a recipe that survives restarts on Nodus.
One H100 serves an 8B model at 1,300 to 26,000 output tokens/s in aggregate, but one user sees far less. How to read tok/s and price it.
Reserved GPUs win once you use more hours than the reserved rate divided by the on-demand rate. The break-even math, worked on real rates.
Nodus, Replicate, Modal, Runpod Serverless and Baseten compared with fal.ai: H100 rates, 200 GPU-hours priced, and a break-even rule for self-hosting.
A practical Runpod to Nodus migration for training: what each Runpod concept becomes, the commands, checkpoint carry-over, cost and what to leave behind.
Add weights (params x bytes) to the KV cache (2 x layers x KV heads x head size x bytes x tokens), then divide by 0.92. Worked examples and GPU sizes.
Read what the OOM error says, then cut the biggest consumer: activations, optimizer state or fragmentation. An ordered checklist with GB math and code.
Runpod retired spot Pods. Where checkpoints should live on Runpod today, what a stop costs, and how Nodus restores interrupted runs for you.
Connect Cursor to the Nodus MCP server, auto-approve only read-only tools, add a project rule and a Budget, and the agent runs capped GPU jobs.
Pick by your bottleneck. At Nodus list prices the B200 buys BF16 math cheapest, the A100 buys memory cheapest, and the H200 and B300 sell headroom.
Which Qwen3, Qwen3.5 and Qwen3.8 sizes fit LoRA or QLoRA on one GPU, the chat-template traps, and what each size costs per hour on Nodus.
B200 vs H200: 1.28x the memory, 1.67x the bandwidth and 2.27x the FP8 math for 1.53x the price on Nodus. The B200 wins once it is kept busy.
B200 vs H100 for training: MLPerf shows 2.04x to 2.08x faster at equal GPU count. On Nodus a B200 must be 2.115x faster to cost less per run.
TensorDock alternatives for training: how TensorDock handles a host going offline, TensorDock vs RunPod, and what one lost host costs on each.
NVIDIA B200 price: $5.50 to $7.99 per GPU-hour on demand, or $591,114.20 for an 8-GPU DGX B200. Buying beats Nodus above about 60% utilization.
An RTX 5090 is the cheapest GPU per finished job for AI work that fits in 32 GB. Specs, cost math and when an A100 or H100 is worth it.
Run each agent eval episode in its own sandbox with a per-run cap and a batch cap, grade answers separately, and size the batch for a useful error bar.
Where to get NVIDIA B300 GPUs by the hour: Nodus, Modal, RunPod and Nebius list on-demand rates from $6.943 to $9.50 per GPU-hour. Shape matters too.
H100 vs H200 for LLM training: same compute, 76% more memory and 43% more bandwidth. On Nodus the H200 must finish 1.38x faster to cost less.
MCP explained: what an MCP server is, why it needs no GPU of its own, and how Nodus uses one to let coding agents price and run GPU jobs.
Low GPU utilization in PyTorch usually means the GPU is waiting on the CPU. How to measure it, what each symptom means, and what idle time costs.
Codex has no GPUs of its own, but it can launch GPU jobs through an MCP server. Set up Nodus in Codex with two commands and the right timeout and approvals.
Yes. Most teams should fine-tune an open model for a few dollars. Continued pretraining runs about $1,200 and scratch about $19,000 for an 8B model.
One GPU for most fine-tunes, 8 or more for full training of large models and pretraining. Size it with two floors: memory to fit and GPU-hours to finish.
About $1 per million training tokens in GPU time, so $20 to $45 for a 20M-token run. The FLOP math, five GPU setups priced and what doubles it.
B300 vs B200 for training: 288 GB vs 180 GB and faster FP4, but the same BF16 and FP8 math. A B300 must be 1.26x faster to cost less on Nodus.
Use LoRA when the 16-bit model fits your GPU and QLoRA when it does not. Memory math, a cost break-even rule and the Nodus config for both.
Modal, Daytona and Nodus offer GPU sandboxes for agents; E2B is CPU-only. Preemption, lifetimes, H100 prices and when to hand GPU work to a job.
A100 vs H100 for LLM training: the H100 is cheaper per finished job only when it runs at least 2.39x faster on Nodus. Spec ratios, worked costs, a quick test.
Minutes for a small fine-tune, days for a 7B model from scratch, months for a frontier run. The formula, real published runs and wall-clock tables.
Most of an H100's cost is memory and packaging, and demand outruns supply. Three levers cut what you pay per finished job, with a worked 8-GPU example.
AutoTrain is no longer maintained. Compare Nodus, Together AI, Modal, RunPod, Vertex AI and Axolotl or Unsloth for fine-tuning, with worked costs.
Run an LLM locally when it fits your memory and data must stay put; use the cloud for 70B+ models, fine-tuning and batch jobs. Break-even math inside.
RunPod alternatives for AI training compared on H100 price, preemption recovery and scale, with one 80 GPU-hour run priced on each.
A 70B model needs 40 to 141 GB for weights plus a KV cache to serve, and 50 GB to 1.1 TB to fine-tune. The math, GPU setups and a script to check yours.
On Nodus, give every agent run a maxCostUSD cap and put a blocking Budget around all agent work. A prompt is not a limit. Setup for Claude Code and Codex.
Modal alternatives compared on H100 price, preemption, run limits and scale, with one 80 GPU-hour run priced on Nodus, RunPod, Together and more.
Listed per GPU-hour prices for B300, B200, H200, H100, A100, L40S, L4 and RTX cards as of October 8, 2026, with a training-run cost example.
Add the Nodus MCP server to Claude Code, Codex or Cursor with one command, then let the agent estimate, launch and watch GPU jobs under caps you set.