frank-default-small: ncpu-moe=35(5GPU), ubatch=2048, ctx-checkpoints=16
This commit is contained in:
1 parent
f8deaa798a
commit
90a8b1c562
2 files changed
+8
-8
No files matched your search
@@ -31,8 +31,8 @@ NGRAM_MOD_N_MIN=48
|
|||||||
NGRAM_MOD_N_MAX=64
|
NGRAM_MOD_N_MAX=64
|
||||||
NGRAM_MOD_N_MATCH=24
|
NGRAM_MOD_N_MATCH=24
|
||||||
|
|
||||||
# Expert offload: 36 of 40 layers keep MoE weights on CPU; 4 on GPU.
|
# Expert offload: 35 of 40 layers keep MoE weights on CPU; 5 on GPU.
|
||||||
N_CPU_MOE=36
|
N_CPU_MOE=35
|
||||||
N_GPU_LAYERS=all
|
N_GPU_LAYERS=all
|
||||||
|
|
||||||
# KV cache on GPU, both K and V at f16.
|
# KV cache on GPU, both K and V at f16.
|
||||||
@@ -41,11 +41,11 @@ CACHE_TYPE_V=f16
|
|||||||
|
|
||||||
VERBOSITY=4
|
VERBOSITY=4
|
||||||
# Store SWA/context checkpoints in RAM to hold peak GPU memory down.
|
# Store SWA/context checkpoints in RAM to hold peak GPU memory down.
|
||||||
CTX_CHECKPOINTS=2
|
CTX_CHECKPOINTS=16
|
||||||
|
|
||||||
# Big prefill batches (ubatch 1536, batch 4096).
|
# Big prefill batches (ubatch 2048, batch 4096).
|
||||||
BATCH_SIZE=4096
|
BATCH_SIZE=4096
|
||||||
UBATCH_SIZE=1536
|
UBATCH_SIZE=2048
|
||||||
|
|
||||||
# Eager RAM load (MoE experts on CPU; ~31 GB RAM).
|
# Eager RAM load (MoE experts on CPU; ~31 GB RAM).
|
||||||
NO_MMAP=1
|
NO_MMAP=1
|
||||||
|
|||||||
@@ -36,11 +36,11 @@ fi
|
|||||||
: "${CACHE_TYPE_K:=f16}"
|
: "${CACHE_TYPE_K:=f16}"
|
||||||
: "${CACHE_TYPE_V:=f16}"
|
: "${CACHE_TYPE_V:=f16}"
|
||||||
: "${VERBOSITY:=4}"
|
: "${VERBOSITY:=4}"
|
||||||
: "${N_CPU_MOE:=36}"
|
: "${N_CPU_MOE:=35}"
|
||||||
: "${N_GPU_LAYERS:=all}"
|
: "${N_GPU_LAYERS:=all}"
|
||||||
: "${BATCH_SIZE:=4096}"
|
: "${BATCH_SIZE:=4096}"
|
||||||
: "${UBATCH_SIZE:=1024}"
|
: "${UBATCH_SIZE:=2048}"
|
||||||
: "${CTX_CHECKPOINTS:=2}"
|
: "${CTX_CHECKPOINTS:=16}"
|
||||||
: "${NO_MMAP:=1}"
|
: "${NO_MMAP:=1}"
|
||||||
: "${TEMPERATURE:=1.0}"
|
: "${TEMPERATURE:=1.0}"
|
||||||
: "${TOP_K:=20}"
|
: "${TOP_K:=20}"
|
||||||
|
|||||||
Reference in new issue
Block a user