plugin-atropos
A plugin to train LLMs using Axolotl with Atropos, a large-scale RL Gym.
Installation
Install axolotl + vllm if not already installed
pip install axolotl[vllm,flash-attn]
Install Atropos
git clone https://github.com/NousResearch/atropos.git
cd atropos
git checkout add-support-for-custom-api-servers
pip install -e .
cd -
Install this plugin
git clone https://github.com/axolotl-ai-cloud/plugin-atropos.git
cd plugin-atropos
pip install -e .
Usage
Note: requires 3 GPUs: 0,1 runs vllm, 2 runs trainer
# start the vLLM server (can take a few minutes), this will block the session
CUDA_VISIBLE_DEVICES=0,1 axolotl vllm-serve examples/train-fft.yaml --serve-module plugin_atropos.vllm_serve
# CUDA_VISIBLE_DEVICES=0,1 vllm serve Qwen/Qwen3-4B --port 9001 --host 0.0.0.0 --tensor-parallel-size=2 --max-model-len 4096 --kv-cache-dtype fp8
# in a new terminal session
# start the API server in the background and redirect both stdout and stderr
run-api &> logs.txt &
# start the RL environment, this will block the session
python examples/gsm8k_server.py serve --slurm false
Start the trainer
CUDA_VISIBLE_DEVICES=2 axolotl train examples/train-fft.yaml
Metadata
Release files for axolotl-plugin-atropos 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| axolotl_plugin_atropos-0.0.2.tar.gz | 24.9 kB | With provenance | Details for axolotl_plugin_atropos-0.0.2.tar.gz |
Release files / axolotl_plugin_atropos-0.0.2.tar.gz
| Download URL | axolotl_plugin_atropos-0.0.2.tar.gz |
|---|---|
| Size | 24.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
008f83594e1f90ebbc601f23e41fbce3837d193eb063b69bc59f04b7a93cc63f
|
|
BLAKE2b-256 checksum How to use checksums |
fbbaf2116a22fe324584729b298c07b6ec6b8bce8ffc8408460b6c4ef40c2ba4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 13, 2025.
Transparency logSecurity for axolotl-plugin-atropos 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 1 file in this release has been uploaded with provenance metadata.
Attestation for axolotl_plugin_atropos-0.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 13, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.