Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
# release for the current arch picked from TARGETARCH — WHEELS_TAG_X86 on amd64,
# WHEELS_TAG_ARM64 on arm64 (cu12-x86 overrides WHEELS_TAG_X86).

ARG SGLANG_IMAGE_TAG=v0.5.14
ARG SGLANG_IMAGE_TAG=v0.5.15
FROM lmsysorg/sglang:${SGLANG_IMAGE_TAG} AS sglang

# ======================================== Arguments =============================================

ARG SGLANG_BRANCH=sglang-miles
ARG SGLANG_BRANCH=sglang-miles-v0.5.15
ARG SGLANG_COMMIT=""

ARG MEGATRON_REPO=radixark/Megatron-LM
Expand Down
2 changes: 1 addition & 1 deletion docker/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"tag_postfix": "-cu12",
"build_args": {
"ENABLE_CUDA_13": "0",
"SGLANG_IMAGE_TAG": "v0.5.12-cu129",
"SGLANG_IMAGE_TAG": "v0.5.15-cu129",
"WHEELS_TAG_X86": "cu129-x86_64-v0.5.12",
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def _create_cpu_replica(
model_loader_extra_config=None,
rl_quant_profile=server_args.rl_quant_profile,
)
server_args_module._global_server_args = server_args
server_args_module.set_global_server_args_for_scheduler(server_args)
initialize_moe_config(server_args)
initialize_fp8_gemm_config(server_args)
initialize_fp4_gemm_config(server_args)
Expand Down
16 changes: 8 additions & 8 deletions scripts/run_deepseek_v32.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class ScriptArgs(U.ExecuteTrainConfig):
model_local_dir: str = "/root/models"
megatron_path: str = "/root/Megatron-LM"
num_rollout: int = 3000
no_save: bool = False
rollout_mxfp8: bool = False
rollout_fp8: bool = False
train_mxfp8: bool = False
Expand Down Expand Up @@ -175,14 +176,13 @@ def _execute_train(args: ScriptArgs):
hf_checkpoint = f"{args.model_dir}/{args.model_name}-FP8"
else:
hf_checkpoint = f"{args.model_dir}/{args.model_name}"
ckpt_args = (
f"--hf-checkpoint {hf_checkpoint}/ "
f"--ref-load {ref_load_path} "
f"--load {load_save_path} "
f"--save {load_save_path} "
f"--save-interval {2 if args.mode == 'debug_minimal' else 20} "
f"--save-retain-interval {2 if args.mode == 'debug_minimal' else 20} "
)
ckpt_args = f"--hf-checkpoint {hf_checkpoint}/ " f"--ref-load {ref_load_path} " f"--load {load_save_path} "
if not args.no_save:
ckpt_args += (
f"--save {load_save_path} "
f"--save-interval {2 if args.mode == 'debug_minimal' else 20} "
f"--save-retain-interval {2 if args.mode == 'debug_minimal' else 20} "
)

rollout_args = (
f"--prompt-data {args.data_dir}/dapo-math-17k/dapo-math-17k.jsonl "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def _args() -> ScriptArgs:
use_single_node=True,
from_bf16_ckpt=False,
num_rollout=2,
no_save=True,
extra_args=(
"--ci-test --check-weight-update-allow-quant-error --bf16 --freeze-indexer "
"--use-rollout-routing-replay "
Expand Down
Loading