DeepSeek-V3

22 articles 102k View on GitHub ↗
22 articles
Understanding Dynamic and Static Activation Quantization Schemes in DeepSeek-V3

Explore dynamic vs static activation quantization. DeepSeek-V3 uses dynamic schemes for real-time scaling and peak accuracy. Understand how per-block scales improve inference.

deep-dive
Feb 26, 2026
How to Set Up Distributed Inference with torchrun for Multi-Node Deployment

Learn how to set up distributed inference with torchrun for multi-node deployment. Effortlessly launch generate.py using torchrun flags for efficient model scaling and sharded checkpoint loading across nodes.

how-to-guide
Feb 26, 2026
DeepSeek-V3-Base vs DeepSeek-V3 Chat Model Architectures: Key Differences Explained

Explore the key differences between DeepSeek-V3-Base and DeepSeek-V3 Chat models. Understand their shared architecture and distinct fine-tuning for optimal performance.

deep-dive
Feb 26, 2026
How weight_dequant Handles Per-Block Scaling in DeepSeek-V3 FP8 GEMM

Explore how weight_dequant manages per-block scaling for FP8 GEMM in DeepSeek-V3. Understand its custom Triton kernel for applying unique scaling factors to weight tiles.

internals
Feb 26, 2026
How to Profile DeepSeek-V3 Inference Kernels Using Triton Autotuning

Profile DeepSeek-V3 inference kernels efficiently with Triton autotuning. Learn to capture runtime selections or benchmark specific kernel configurations for optimized performance.

performance
Feb 26, 2026
How to Implement Custom Expert Routing Strategies in the DeepSeek-V3 Gate Module

Master custom expert routing in DeepSeek-V3. Learn to modify hyperparameters, subclass the Gate class, or implement alternative scoring for advanced control.

how-to-guide
Feb 26, 2026
DeepSeek-V3 MLA KV Cache Memory Footprint for 128K Context Length

Discover the DeepSeek-V3 MLA KV cache memory footprint for 128K context. Learn about BFloat16 and FP8 quantization options impacting GPU memory usage, perfect for optimizing large context models.

performance
Feb 26, 2026
How to Convert HuggingFace FP8 Weights to DeepSeek-V3 Format Using convert.py

Learn to convert HuggingFace FP8 weights to DeepSeek-V3 format with convert.py. Reshape and shard checkpoints for DeepSeek-V3 inference engine.

how-to-guide
Feb 26, 2026
DeepSeek-V3 quantization_config Parameters Explained: e4m3, weight_block_size, and activation_scheme

Understand DeepSeek-V3 quantization_config parameters like e4m3, weight_block_size, and activation_scheme to optimize LLM inference. Learn FP8 storage, block quantization, and activation scaling.

deep-dive
Feb 26, 2026
How DeepSeek-V3 Handles Expert Load Imbalance in MoE Layers Without Auxiliary Loss

DeepSeek-V3 overcomes expert load imbalance in MoE layers using deterministic routing and group constraints without auxiliary loss. Learn how it optimizes performance.

deep-dive
Feb 26, 2026
DeepSeek-V3 671B Model Parallelism Requirements: Tensor Parallel Size Setup

Learn the tensor parallel size for DeepSeek-V3 671B model loading. Discover how to set up model parallelism across 16 GPUs for efficient inference.

internals
Feb 26, 2026
DeepSeek-V3 RoPE Scaling Factor (`rope_factor=40`) and YaRN Extrapolation for 128K Context

Discover how DeepSeek-V3 achieves 128K context with rope_factor=40 and YaRN extrapolation. Learn about frequency scaling and linear ramp correction for enhanced performance.

deep-dive
Feb 26, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →