Repository navigation
Composer: one parallel interface (launch_parallel_agents), abstention hidden - #130
Draft
aaronsmulktis wants to merge 15 commits into
Draft
aaronsmulktis wants to merge 15 commits into
aaronsmulktis wants to merge 15 commits into
Conversation
…ep their own windows
…d process and run.log per job
…launch_parallel_agents sweep
… run dirs and the logs_dir warning)
…nt.hostname=auto, no sweep_slurm.sh agent.hostname=auto finds the node serving each agent's model among the user's running SLURM jobs (squeue --me, then /v1/models on agent.port), once per model, for mode=local and mode=slurm_cluster alike. That was the part of scripts/sweep_slurm.sh the launcher lacked; the rest is mode=local max_parallel=N inside an srun allocation, so the script is removed. The agents docs give both SLURM commands and a dummy-agent check of each.
…ser-one-interface
…s for agents, repeats and max_parallel The Worker pool and Worker pool on SLURM targets are gone. Several agents render as agents=a,b, a repeat count as parallel_tasks.repeats, a parallelism cap as max_parallel (refused on SLURM, which schedules its own), and SLURM is the sweep with mode=slurm_cluster, where a vLLM agent is offered agent.hostname=auto. Old #target=pool / slurm_pool links and requests load as the equivalent sweep; conduct.sh commands pasted in point at the sweep.
Abstention is ongoing research: the GPT-5.5-computer-use-abstention config and abstention_examples tasks stay for the experiments built on them, but the composer no longer lists them, and the README's sweep example uses GPT-5.5-computer-use.
run_concurrently: a process per job instead of a ProcessPoolExecutor, whose shutdown ran every queued job before exiting and whose pre-queued job could not be cancelled. Ctrl-C now starts no further job and SIGTERMs the running ones, which unwind through their finally (stopping their web apps); a second Ctrl-C kills them, and uv's echo of the first is not mistaken for one. AgentLauncher: the 30 s startup wait moves inside launch()'s try/finally, so an interrupt during it no longer leaks the web app, and stopping the web app ignores Ctrl-C (it is bounded by SIGKILL). README and docs/index.md explain agents=, repeats, max_parallel, SLURM with agent.hostname=auto, W&B grouping and stopping a sweep.
…to aaronsmulktis/composer-one-interface # Conflicts: # README.md
The sweep's handler covers SIGTERM as well as SIGINT, so `kill <pid>` stops queued and running jobs the way Ctrl-C does (exit 128 + signal), in both the pooled and the one-at-a-time paths. Off the main thread, where no handler can be installed, jobs take Ctrl-C themselves and exit 130, which stops the sweep. A job ignores signals after the first, so the parent's SIGTERM cannot cut short a cleanup a Ctrl-C started.
…to aaronsmulktis/composer-one-interface
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.