Expert-parallel dispatch: alltoall or deepep (NVLink-optimized).
deepep_buffer_size_gb
2.0
DeepEP NVLink buffer size per GPU in GB. Only active when ep_dispatch: deepep.
deepep_num_sms
20
SMs assigned to DeepEP communication kernels. Must be even.
deepep_async_combine
false
Overlap DeepEP combine with the next layer’s compute (experimental, unsafe). Forced to false in code unless XORL_DEEPEP_UNSAFE_ASYNC_COMBINE=1 is exported; without that env var, deferring the comm-stream sync races the transformer block’s read of the combined tensor on the default stream.
merge_qkv
true
Keep Q/K/V projections fused. Set false for tensor parallelism.
basic_modules
[]
Additional module names to shard as separate FSDP units.
foundation
{}
Foundation model extra config (dict).
encoders
{}
Multimodal encoder configs, keyed by type (image, video, audio).
LoRA rank (r). Default is 32 for server (vs 16 for local).
lora_alpha
16
LoRA scaling factor.
lora_target_modules
null
Module names to inject LoRA into. null = default for architecture.
moe_hybrid_shared_lora
false
Share lora_A for gate/up projections and lora_B for down projections across experts.
enable_qlora
false
Quantize base weights and train LoRA adapters on top.
quant_format
nvfp4
Quantization format: nvfp4, block_fp8.
quant_group_size
16
Quantization group size.
qlora_exclude_modules
null
Modules to exclude from quantization (e.g., [lm_head]).
merge_lora_interval
0
Merge LoRA into base weights every N steps. 0 = never.
reset_optimizer_on_merge
false
ReLoRA optimizer reset after merge.
adapter_state_load_mode
all_ranks
How to restore multi-adapter checkpoints: all_ranks loads on every rank; rank0_broadcast loads on rank 0 and broadcasts weights, metadata, and optimizer state.
Method for pushing updated weights to the inference endpoint after each step. Currently only nccl_broadcast is supported (uses SGLang update_weights_from_distributed).