Skip to content
Cursos/DeepSeek Harness (DSH)/DeepSeek Harness · Phase 8
Revisión pendiente desde 21 ago 20262 fuentes primarias

Local DeepSeek models and quantization

This phase does not teach a local runtime from scratch: it analyzes when local or quantized DeepSeek models make sense in DSH, and when the official API is the better choice.

Qué vas a conseguir ahora

Una decisión o prueba aplicada a «Local DeepSeek models and quantization».

  1. 1Entiende el criterio
  2. 2Haz una práctica pequeña
  3. 3Guarda una evidencia
Evidencia

Una nota breve con qué hiciste, qué salió bien, qué falló y qué revisarías después.

Objetivos de aprendizaje
  • Understand the real limits of local DeepSeek on consumer hardware.
  • Compare distilled models with large quantized models.
  • Choose local, API or slow batch execution by task.

Three deployment families

For DSH there are three distinct routes: the official DeepSeek API, smaller distilled models, and large quantized models with offloading. Do not turn them into one promise: each one fits a different kind of work.

On 24 GB VRAM, medium distilled models are usually more realistic than trying to run a full large model. Huge Q1/Q2 models with SSD offloading can be useful for batch work, but they are not a fluid agent experience.

  • API: best starting point for productivity and long context.
  • Local distills: privacy, low variable cost and bounded tasks.
  • Q1/Q2 with offload: experimentation and long non-interactive jobs.

DSH decision table

Choose by mission, not ranking. An agent needs stable tool calling, permission following, good repository reading and enough latency for iteration.

If the local model is so slow that you stop reviewing its actions, the system becomes less safe even if it is more private.

Terminal
Hardware / route           Reasonable DSH use
8-16 GB RAM                small tests with lightweight distills
24 GB VRAM                 14B/32B R1 distills for bounded tasks
Mac 64-128 GB + SSD        slow batch with aggressive quantization
DeepSeek API               daily work, long context and productivity

Minimum benchmark

Do not copy tokens-per-second figures from the internet. Run the same prompt, workspace and mode several times. Record quality and time to a usable result.

Always compare against V4-Flash or V4-Pro so you know whether local savings compensate for speed, quality or coordination loss.

Terminal
Local vs API DSH measurement:
- exact model and quantization
- runtime used
- hardware and memory
- DSH mode
- configured context
- tokens per second
- cache hit rate
- total time
- accepted result
- retries needed

Connect without making this another tutorial

DSH only needs the local runtime to expose an endpoint compatible with the provider you declare. Installation, GPU, network security and runtime troubleshooting belong in the local AI tutorial.

In this phase, only validate that the endpoint responds, the model name matches and the Trajectory clearly records whether a task ran locally or through the API.

Terminal
Before using a local model in DSH:
- local runtime already tested outside DSH
- exact model and license reviewed
- endpoint exposed only where intended
- first test uses no sensitive data
- comparison against DeepSeek API saved
Comprueba que funciona. Compare one read-only mission with the DeepSeek API and with a local or distilled DeepSeek model. Record speed, quality, cache and decision.
Guardar y reabrir el proyecto.
Local is not automatically better; it is better when task, hardware and policy fit.

Si has guardado la evidencia de esta lección, continúa con «Use cases, metrics and benchmarks». Si no, repite la comprobación antes de avanzar.

Complete Aulafy mapSee how this lesson fits without leaving your path.

Complete Aulafy map

How all courses connect

This is not a checklist. Start with the foundation, choose an outcome, and go deeper only when your project needs more control.

  1. 1Understand
  2. 2Apply or build
  3. 3Operate with confidence
01

Choose an application

Turn the foundation into a visible outcome: a website, a business improvement, media, or an interactive experience.

Continue into the technical branch when you need to maintain code, data, or infrastructure.

02

Build with code

Prepare your environment, work with coding agents, and run models while keeping control of your projects.

This branch prepares you to design and operate reliable AI systems.

03

Take systems to production

Combine retrieval, agents, evaluation, security, deployment, and model adaptation when the problem requires it.

You do not need every course: choose the component your system needs and return as it grows.

View full catalogue