# returncode: 0

### 0
"pkill"
"-9"
"sglang"

### 1
"sleep"
"3"

### 2
"ray"
"stop"
"--force"

### 3
"pkill"
"-9"
"ray"

### 4
"pkill"
"-9"
"python"

### 5
"sleep"
"3"

### 6
"pkill"
"-9"
"ray"

### 7
"pkill"
"-9"
"python"

### 8
"python3"
"<REPO_ROOT>/examples/experimental/reproducibility/../../../miles/utils/external_utils/model_args_utils.py"
"qwen2.5-0.5B"

### 9
"ray"
"start"
"--head"
"--node-ip-address"
"127.0.0.1"
"--num-gpus"
"8"
"--disable-usage-stats"

### 10
"ray"
"job"
"submit"
"--address=http://127.0.0.1:8265"
"--runtime-env-json={\n     \"env_vars\": {\n        \"PYTHONPATH\": \"/root/Megatron-LM\",\n        \"CUDA_DEVICE_MAX_CONNECTIONS\": \"1\",\n        \"NCCL_ALGO\": \"Ring\",\n        \"NVTE_ALLOW_NONDETERMINISTIC_ALGO\": \"0\",\n        \"CUBLAS_WORKSPACE_CONFIG\": \":4096:8\"\n     }\n   }"
"--"
"python3"
"train.py"
"--actor-num-nodes"
"1"
"--actor-num-gpus-per-node"
"8"
"--colocate"
"--calculate-per-token-loss"
"--swiglu"
"--num-layers"
"24"
"--hidden-size"
"896"
"--ffn-hidden-size"
"4864"
"--num-attention-heads"
"14"
"--use-rotary-position-embeddings"
"--disable-bias-linear"
"--add-qkv-bias"
"--normalization"
"RMSNorm"
"--norm-epsilon"
"1e-6"
"--rotary-base"
"1000000"
"--group-query-attention"
"--num-query-groups"
"2"
"--vocab-size"
"151936"
"--hf-checkpoint"
"/root/Qwen2.5-0.5B-Instruct/"
"--ref-load"
"/root/Qwen2.5-0.5B-Instruct_torch_dist/"
"--prompt-data"
"/root/gsm8k/train.parquet"
"--input-key"
"messages"
"--label-key"
"label"
"--apply-chat-template"
"--rollout-shuffle"
"--rm-type"
"math"
"--num-rollout"
"100"
"--rollout-batch-size"
"32"
"--n-samples-per-prompt"
"8"
"--rollout-max-response-len"
"1024"
"--rollout-temperature"
"1"
"--global-batch-size"
"256"
"--optimizer"
"adam"
"--lr"
"1e-6"
"--lr-decay-style"
"constant"
"--weight-decay"
"0.1"
"--adam-beta1"
"0.9"
"--adam-beta2"
"0.98"
"--advantage-estimator"
"grpo"
"--use-kl-loss"
"--kl-loss-coef"
"0.00"
"--kl-loss-type"
"low_var_kl"
"--kl-coef"
"0.00"
"--entropy-coef"
"0.00"
"--eps-clip"
"0.2"
"--eps-clip-high"
"0.28"
"--use-wandb"
"--wandb-host"
"https://wandb.ai/"
"--wandb-team"
"glm-zero"
"--wandb-project"
"miles-dev"
"--wandb-group"
"qwen2.5-0.5B-gsm8k-deterministic"
"--tensor-model-parallel-size"
"1"
"--sequence-parallel"
"--pipeline-model-parallel-size"
"1"
"--context-parallel-size"
"1"
"--expert-model-parallel-size"
"1"
"--expert-tensor-parallel-size"
"1"
"--use-dynamic-batch-size"
"--max-tokens-per-gpu"
"9216"
"--eval-interval"
"20"
"--eval-prompt-data"
"gsm8k"
"/root/gsm8k/test.parquet"
"--n-samples-per-eval-prompt"
"1"
"--eval-max-response-len"
"1024"
"--eval-top-k"
"1"
"--rollout-num-gpus-per-engine"
"1"
"--sglang-mem-fraction-static"
"0.7"
"--sglang-enable-deterministic-inference"
"--sglang-attention-backend"
"flashinfer"
"--deterministic-mode"
"--attention-dropout"
"0.0"
"--hidden-dropout"
"0.0"
"--accumulate-allreduce-grads-in-fp32"
"--attention-softmax-in-fp32"
"--attention-backend"
"flash"
