mrkeyoor.comAsk

radixark/milestested 10 Oct 2026commit 4867e1f

miles review

Evaluate Miles when you need configurable model post-training infrastructure and can validate the chosen GPU environment.

  • Build 4 s
  • Tests failed
18 sto install
  • 35 packages
AI Toolsevaluationupdated 26 Oct 2026
+26stars / 7d

Miles is a reinforcement-learning framework for model post-training. It coordinates SGLang response generation with model updates, weight synchronization and checkpoints. Its README lists Megatron-LM, FSDP2 and torchtitan training backends, plus recipes for GRPO, GSPO, PPO, REINFORCE++, supervised fine-tuning and on-policy distillation. Those are documented capabilities, not workloads verified in our sandbox.

Verdict

Evaluate Miles when you need configurable model post-training infrastructure and can validate the chosen GPU environment. Our October 10, 2026 run at commit 4867e1f did not establish a complete installation: the install status conflicts with resolver errors, the build step returned exit 0, and tests stopped during setup because torch was absent. The eight-GPU requirement belongs to the documented Qwen3-4B quick start, not every Miles configuration. Start with a supported model recipe and verify it in the intended container before committing training resources.

We ran it

Lab card: what happened when we ran miles
Lab card from our sandbox run
Screenshot of miles (miles.radixark.com)
miles.radixark.com
Install✓ · 18s35 packages · 38 MB
Build✓ · 4s
Tests✗ · 2sran, no count parsed
Known vulns0(pip-audit)
Repo2942 files~408,611 lines of source · 29.8 MB · 26 CI workflows · tests dir

Answers from our run

Does miles build from source?

Dependencies installed in 18 seconds (35 packages), and the build succeeded in 4 seconds. We cloned commit 4867e1f into a clean Debian container with 3 CPUs and no project-specific setup.

Do miles's tests pass?

No. The project's own test command exited unsuccessfully after 2 seconds, and its output did not expose an individual test count.

Does miles have known vulnerabilities in its dependencies?

pip-audit found none in the dependency tree at the time of our run.

Who should not use miles?

Readers seeking a verified laptop walkthrough: the documented Qwen3-4B quick start specifies eight H100, H200 or B-series GPUs and at least 500 GB of free disk. That recipe is not a universal minimum for Miles.

What are the alternatives to miles?

verl, NeMo RL. Evaluate Miles when you need configurable model post-training infrastructure and can validate the chosen GPU environment.

Setup2/5Docker is documented and recommended, but patched dependencies add setup constraints. Our October 10 run at 4867e1f retained resolver errors and could not start tests without torch; complete installation remains unverified.
Docs4/5The supplied guides give concrete container commands, a Qwen3-4B workflow and backend-specific loading, parallelism and checkpoint constraints. We did not validate every recipe.
Community2/5The release page lists contributors and issue 2362 contains a public technical exchange. These show participation but do not establish response reliability, adoption or support quality.
Maturity2/5The project has a first versioned v0.1.0 release and documents operational features, but our recorded run did not validate training or recovery. The OPD report concerns another commit and remains a scoped concern.

Who it’s for

Model-training teams evaluating distributed reinforcement-learning infrastructure.
Researchers who want supplied post-training recipes and can validate their model, backend and GPU configuration.
Operators already comfortable with GPU containers, patched dependencies and checkpoint management.

Who it’s NOT for

Readers seeking a verified laptop walkthrough: the documented Qwen3-4B quick start specifies eight H100, H200 or B-series GPUs and at least 500 GB of free disk. That recipe is not a universal minimum for Miles.
FSDP users who require LoRA or tensor, pipeline, context or expert parallelism in that backend.
Teams that need this review to establish training performance, numerical correctness or production reliability: our recorded run did not validate those outcomes.
Operators unable to permit the documented container access: the AMD example includes privileged execution, device mounts and relaxed seccomp settings.

Setup reality

In our recorded run on October 10, 2026, at commit 4867e1f4bb668fecf42725b921df120ae6bb2f5d, the install step returned exit 0 after 18 seconds, but its retained output contains dependency-resolution errors. It reports that nvidia-resiliency-ext 0.6.0 has no wheel matching the sandbox's manylinux_2_36_x86_64 platform tag. The resolver identifies Miles as version 0.1.2. Successful dependency installation is therefore not established by the step status.

The harness recorded 35 packages and a 38 MB environment footprint. These figures do not establish that all required dependencies were downloaded or installed. The build step returned exit 0 after 4 seconds; its exact command is not supplied, so it does not establish a working training installation or installed binary. The test command exited 4 after 2 seconds while loading conftest because torch was missing. No passing-test count is established.

Pip-audit recorded an advisory total of 0, with coverage unknown. This is not evidence that Miles or its full training environment is free of known vulnerabilities.

The installation guide recommends Docker because Miles pins patched SGLang, Megatron-LM and CUDA kernels. The documented Qwen3-4B quick start then downloads the model and datasets, converts weights for Megatron and launches training through Ray. Our sandbox record does not demonstrate completion of those stages.

A successful step status did not establish a working installation

Miles connects response generation to model training, but our recorded sandbox run stopped short of validating that loop. The useful distinction is between a command returning exit 0 and a training environment being ready.

The project README describes SGLang rollouts, weight synchronization, checkpointing and engine recovery. It lists Megatron-LM, FSDP2 and torchtitan training backends. These are project claims and documented interfaces; our run did not measure training throughput, recovery behavior or model quality.

What our October 10 run established

Our recorded run used commit 4867e1f4bb668fecf42725b921df120ae6bb2f5d on October 10, 2026. The sandbox configuration specified 3 CPUs, 8 GB of memory and image ghcr.io/astral-sh/uv:python3.12-bookworm. The install output identifies Python 3.12.12.

Recorded stage Observation What it establishes
Install Exit 0 after 18 seconds, alongside dependency-resolution errors The step completed, but a complete dependency installation is unverified
Build Exit 0 after 4 seconds The recorded build step succeeded; the exact command is unavailable
Tests Exit 4 after 2 seconds while loading conftest Test startup was blocked by missing torch; no passing-test count is established
Audit Recorded advisory total 0 Coverage is unknown; this is not a clean bill of health

The install output says nvidia-resiliency-ext 0.6.0 has no wheel matching manylinux_2_36_x86_64 and identifies Miles as version 0.1.2. It lists available wheels for manylinux_2_39_aarch64 and manylinux_2_39_x86_64. That is a concrete compatibility obstacle in this sandbox, not proof that the recommended GPU container is broken. The retained output does not explain why the outer install step returned exit 0 despite the resolver errors.

The harness recorded 35 packages and a 38 MB environment footprint. Neither figure proves that Miles and its required dependencies were installed. There is no recorded installed-binary check or successful Miles import check. The supplied record also does not demonstrate model downloads, GPU verification, Ray startup or a training workload.

Pytest stopped while loading tests/conftest.py. Its import chain reached miles/rollout/data_source.py, where importing torch raised ModuleNotFoundError. This is a test-setup failure, not evidence that training assertions failed. The build output also contains a SyntaxWarning in a test file, but that warning alone does not establish a product defect.

The recorded repository summary contains 2,942 files, 408,611 source lines, 29.8 MB and 26 CI workflows, plus a tests directory. These parser summaries do not establish exhaustive unique test coverage. The root Dockerfile detector was false; that does not mean the project has no Docker support.

Eight GPUs describe the supplied quick start

The official quick start specifies one node with eight H100, H200 or B-series GPUs, at least 500 GB of free disk and Docker GPU access. Its recipe trains Qwen3-4B with GRPO. It downloads the model, training prompts and evaluation dataset, converts Hugging Face weights to Megatron's torch_dist format, then launches a local Ray cluster and training job. The original Hugging Face directory must remain available to the rollout engines.

Those requirements describe that recipe. They do not establish a minimum GPU count for every Miles model or backend. The backend guide explicitly discusses nodes with fewer than eight usable GPUs and the corresponding layout setting. Our run did not determine a smaller configuration's hardware requirements.

Docker is the recommended installation path because Miles pins patched SGLang, Megatron-LM and CUDA kernels. The NVIDIA example exposes GPUs, uses host networking and IPC, requests 32 GB of shared memory and raises resource limits. The AMD example uses different flags, including privileged execution and device mounts. Review the command for the selected platform against your cluster policy; these flags are documented configuration choices, not security findings from our run.

Choose among three training backends

The current backend guide describes three choices, with different model-loading and parallelism constraints.

Backend Documented reason to choose it Constraint to check
Megatron-LM Recommended model recipes, tensor/pipeline/context/expert parallelism and LoRA Requires offline conversion to torch_dist checkpoints and architecture configuration
FSDP2 Train the Hugging Face implementation directly without checkpoint conversion Data parallelism only; no LoRA or tensor, pipeline, context or expert parallelism
torchtitan Use torchtitan model implementations and parallelism while loading a Hugging Face directory The architecture must be implemented by torchtitan or added through the Miles integration; no LoRA

Megatron is not the only backend with model-splitting parallelism: torchtitan also supports it. FSDP remains the narrower option for teams that want the Hugging Face implementation and can fit their workload under data parallelism. Check checkpoint formats before automating saves and restores; backend checkpoints are not interchangeable.

GPU layout is a separate decision. Colocation lets rollout and training share GPUs by alternating and offloading between phases. Fully asynchronous operation requires separate GPUs so generation and training can overlap. These are documented operating modes, not utilization gains measured here.

Release and issue evidence have limits

The v0.1.0 release page calls it the first versioned Miles release and links the August 18, 2026 announcement. That release tag is distinct from the Miles 0.1.2 version reported by the resolver in our later checkout. The release's performance numbers are upstream results, not benchmarks reproduced in our sandbox.

Issue 2362 reports a mathematical concern about the OPD top-k path at main commit 77ca8ab. The reporter argues that an action-independent advantage penalty cannot provide the intended on-policy distillation signal. The supplied discussion includes a request for clarification, not a verified resolution or a reproduction at our tested commit. If that path matters to your work, check its implementation and numerical behavior at the exact revision you intend to use. The report does not establish that all Miles distillation is broken.

How to read the scores

These are editorial ratings, not benchmark results. The scale is 1 for substantial barriers, 2 for limited or unresolved evidence, 3 for a documented path with material caveats, 4 for broad supporting evidence and 5 for unusually complete evidence in the assessed area. Setup considers the documented workflow and recorded startup obstacles. Documentation considers actionable coverage. Community considers visible participation, not popularity as proof of support. Maturity considers release history and operational validation. Unknowns constrain the ratings.

Miles warrants evaluation when its backend controls and post-training recipes match your work. Before a substantial job, pin the commit, container digest, model and dataset revisions, then verify imports, GPU visibility, the relevant tests and a small workload in that environment. Our recorded build result cannot substitute for those checks.

Alternatives

ProjectWhat it isPick it when
verl gh↗An LLM reinforcement-learning training library based on HybridFlow.Evaluate verl when its hybrid-controller programming model suits the post-training dataflows you want to customize. Its README describes integrations with FSDP, Megatron-LM, vLLM and SGLang; we did not compare their performance.
NeMo RLAn open-source post-training library under the NVIDIA NeMo Framework.Evaluate NeMo RL when you want its documented Automodel or Megatron training paths and supplied single-GPU GRPO example. Check the chosen model's requirements separately; we did not run that example.

What people are saying

  1. [github-trending] radixark/miles

Sources

  1. Miles README
  2. Miles installation guide
  3. Miles quick start
  4. Miles training backends
  5. Miles v0.1.0 release
  6. OPD top-k reward report

More ai tools reviews