Repository navigation
Tags
Tags
feat: pre-download model weights in launcher (PrimeIntellect-ai#2282) * feat: pre-download model weights in launcher instead of using HF_HUB_OFFLINE Remove hardcoded `HF_HUB_OFFLINE=1` from multi-node SLURM templates and instead pre-download model weights via `snapshot_download` in the rl/sft launchers before dispatching to local or SLURM execution. This ensures weights are cached on the shared filesystem before training starts, removing the need to manually pre-download models. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: pre-download model weights in launcher instead of using HF_HUB_OFFLINE Remove hardcoded `HF_HUB_OFFLINE=1` from multi-node SLURM templates and instead pre-download model weights via `snapshot_download` in the rl/sft launchers before dispatching to local or SLURM execution. This ensures weights are cached on the shared filesystem before training starts, removing the need to manually pre-download models. Also replace `format_time` with the verifiers-style two-unit display (e.g. "1h 30m" instead of "1.50h"). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * refactor: move pre_download_model to trainer.model Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: log cache path when model is already downloaded Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore: remove redundant cache log from pre_download_model Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore: move pre_download_model import to module top Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: skip download and log cache path when model already cached Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Revert "feat: skip download and log cache path when model already cached" This reverts commit 5b2bac9. * chore: keep HF_HUB_OFFLINE=1 in SLURM templates Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
feat: set tool_call_parser default to 'auto' (PrimeIntellect-ai#2285) * feat: set tool_call_parser default to 'auto' Changed the default value of tool_call_parser from None to 'auto' to enable automatic tool call parser detection from model name by default. This provides better out-of-the-box experience for users working with tool-calling models. * test: add unit tests for inference metrics collector Tests parsing, aggregation (sum/max/mean), counter rates, histogram latency, counter reset handling, server failures, and wandb logging. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Revert "test: add unit tests for inference metrics collector" This reverts commit 48eb049. --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add env_install_prerelease config option (PrimeIntellect-ai#2279)
chore: drop trajectory from saved rollout JSONL files (PrimeIntellect… …-ai#2281)
[fix] add gpt-oss extra to Dockerfile uv sync and fix meta buffers (P… …rimeIntellect-ai#2280) * chore: add gpt-oss extra to Dockerfile uv sync Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix buffer init for meta loading --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
feat: add config to disable prefix cache reset after weight updates (P… …rimeIntellect-ai#2266) * feat: add `reset_prefix_cache_after_update` config to disable prefix cache reset When prefix caching correctness is not a concern, the cache reset after weight updates and LoRA adapter loads can be skipped to avoid the extra latency. The new `inference.reset_prefix_cache_after_update` flag (default: True) controls this behavior. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: add `use_prefix_cache_salt` to invalidate stale prefix caches via salt Instead of resetting the entire prefix cache after weight updates, this sets a `cache_salt` (= ckpt step) on every inference request. vLLM uses the salt to partition cached prefixes, so KV states from old weights are never reused while keeping the cache warm for the current policy. Covers train envs (updated in scheduler after weight update), eval envs (updated before each evaluation), and initial setup. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: default salt on, default reset off Salt (use_prefix_cache_salt) is now True by default — it partitions the prefix cache by policy version with zero overhead. Reset (reset_prefix_cache_after_update) is now False by default — the full cache reset is still available for users who want to ensure all KV states are recomputed at the cost of extra prefill. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: set use_prefix_cache_salt in test scheduler fixture Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * refactor: move prefix cache fields to experimental configs Move reset_prefix_cache_after_update into InferenceExperimentalConfig and use_prefix_cache_salt into OrchestratorExperimentalConfig. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * refactor: pass cache_salt as argument instead of mutating env state Pass cache_salt through run_rollout/run_group/evaluate as an explicit parameter instead of mutating env.sampling_args in place. The salt is computed at schedule time from ckpt_step, so each rollout captures the policy version it was scheduled under. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
feat: add GLM-5.1 to tool call parser auto-detection (PrimeIntellect-… …ai#2275) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
feat: collect per-engine inference server metrics (PrimeIntellect-ai#… …2257) * feat: collect per-engine inference server metrics via Prometheus Poll vLLM /metrics endpoints every 5s from the orchestrator and log aggregated inference metrics to W&B on a time-based axis. Metrics include request queue sizes, KV cache usage, prefix cache hit rate, prefill/decode throughput, completed requests/s, and NIXL transfer latency. Gated on wandb config — no-op when W&B is disabled. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: address review feedback on inference metrics collector - Add collect_inference_metrics config (default True) to allow disabling - Remove type hint on collector variable in orchestrator - Log both max and mean for KV cache metrics to surface imbalance Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore: remove unused _SUM_GAUGES variable Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
PreviousNext