Skip to content

Composer: one parallel interface (launch_parallel_agents), abstention hidden - #130

Draft
aaronsmulktis wants to merge 15 commits into
mainfrom
aaronsmulktis/composer-one-interface
Draft

aaronsmulktis wants to merge 15 commits into
mainfrom
aaronsmulktis/composer-one-interface

Conversation

@aaronsmulktis

Copy link
Copy Markdown
Contributor

No description provided.

aaronsmulktis and others added 11 commits October 29, 2026 15:31
…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.
…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.
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 19, 2026
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.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant