* chore: bump verifiers to latest main
deps/verifiers ab65b6e8d (v0.2.1) -> 1f457da17 (0.2.2.dev6). uv.lock is
unchanged: verifiers is an editable path dep and its dependency set did
not change, so `uv lock` is a no-op.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* chore: bump research-environments to latest main
deps/research-environments 85b1527b9 -> e40d32690 (one commit:
refactor(swe): import patch capture from verifiers, #682), pairing with
the verifiers capture_patch/resolve_head utils pulled in by the previous
commit. uv.lock: swelego-v1 / swerebench-v2-v1 / swesmith-v1 0.1.1 ->
0.1.2.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* Patch vLLM layerwise alias-buffer reload
* Remove layerwise buffer copy-back guard
* Skip alias buffers during layerwise copy-back
* ruff
* Skip absent buffers during layerwise copy-back
* Precompute layerwise alias storage pointers
* ruff
* simpler fix for layerwise alias buffer reload (#2486)
* meow
* dont think theres a need for this singletoning behavior?
* Simplify layerwise alias-buffer patch to copy-back-only
Drop the capture-time skip and the absent-buffer guard; detect aliasing
at copy-back via parameter storage pointers (recursing into submodules
so views like mixer.conv_weights → mixer.conv1d.weight are caught).
_place_kernel_tensors then restores the original aliased buffer, which
trivially reflects the parameter's freshly-loaded storage.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Apply suggestion from @Jackmin801
Signed-off-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com>
---------
Signed-off-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Signed-off-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com>
Co-authored-by: Jackmin801 <56836461+Jackmin801@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Default TRITON_CACHE_DIR=~/.triton/cache lives on NFS in shared-home
clusters. Concurrent multi-node compiles race on that directory and
some ranks hit `ImportError: cannot stat shared object: Stale file
handle` when reading a .so that another node invalidated. One rank
dies, NCCL watchdog trips after 480s on all other ranks, job hangs.
Point TRITON_CACHE_DIR at /tmp/triton-cache-$USER-$SLURM_JOB_ID so
each node has its own local cache and no job shares state with any
other.
When `verifiers` CliAgentEnv catches an agent crash pre-LLM-call, it
sets `state["error"]` but the trajectory stays `[]` because the agent
never produced any messages. The previous branch order fired the
"Empty trajectory" warning first and dropped the detailed AgentError
diagnostic. Swap the branches so error-bearing rollouts surface
"Rollout error ...: {error_chain_repr}" instead.
Related: PrimeIntellect-ai/verifiers#1127, #1130
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Track how many eval rollouts failed due to sandbox/infra errors.
Derived from the difference between total eval inputs and successful
outputs. Also logged in the all-fail early return path.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* add Group Relative Reward Rescaling as length penalty
* require online difficulty filtering
* add config validation
* fix mean
* refactor
* move `baseline`
* GR3 length penalty: Advantage config validator bug (#2039)
The validate_gr3_alpha validator in AdvantageConfig was incorrectly
accessing self.online_difficulty_filtering, which belongs to BufferConfig,
not AdvantageConfig. This caused an AttributeError whenever gr3_alpha was
set to a truthy value, making the GR3 feature unusable.
Fixed by moving the online_difficulty_filtering check to OrchestratorConfig
where both advantage and buffer configs are accessible.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* fix baseline
* fix dtype
* changelog
* rename to `length_shaping_alpha`
* deprecate `length_weighte_mean`
* add test
---------
Signed-off-by: rasdani <73563550+rasdani@users.noreply.github.com>
Co-authored-by: rasdani <3563550+rasdani@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* add env worker logging
* reset logger before env logger
* redirect verifiers logger to file
* Add CHANGELOG entry for orchestrator.env.log configuration
Documents the new EnvLogConfig class and log field added to EnvConfig,
which provides logging configuration for environment workers.
* Fix worker crash when logging disabled
When logging is disabled (default), reset_logger() sets _LOGGER to None
but setup_logger() was not called. This caused EventLoopLagMonitor to
crash with RuntimeError when calling get_logger().
Fix: Always set up a logger in worker processes. When logging is disabled,
use CRITICAL level which produces no output (critical logging is disabled
in setup_logger).
* fix
* Add formatter to verifiers logger FileHandler
The FileHandler added for the verifiers logger was missing a Formatter,
causing log messages to be written as raw text without timestamps, log
levels, or logger names. This makes the verifiers logs difficult to
correlate or debug effectively.
Added a Formatter with timestamp (HH:MM:SS) and log level formatting,
matching the format used by the prime-rl logger for consistency.
* Add missing reset_logger() in else branch
On Linux with fork start method, worker subprocesses inherit _LOGGER
from parent. Both branches need reset_logger() before setup_logger()
to avoid RuntimeError("Logger already set").
* Revert "Fix worker crash when logging disabled"
This reverts commit f37ab4be3ce4fe85e15391ecdc3164bfe5b59ee5.
* refactor
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
* add output saving and retries
* resume with UUID
* checkpoint: Avg@2=0.7904, high
* add exacto config
* add running average
* test int3 on pinference
* fix
* retry with new `max_tokens`
* clean up config
* deprecate HF saving
* rollouts instead of groups
* revert synthesize
* minor fix
* address comments
* fix save path
* fix reasoning_content in orchestrator
* import from synthesize
* model validate resume config
* reintroduce saving to HF
* make retry configurable
* fix
* fix sampling args retry
* offer both, per rollout and group based
* resume path instead of uuid
* update config
* fix
* fix
* support stream save for groups
* default to per_rollout
* model validate resume path
* `per_rollout` defaults to false
---------
Co-authored-by: rasdani <3563550+rasdani@users.noreply.github.com>