Repository navigation
Match GPUs in --where - #31
Merged
Merged
Conversation
Runners report the GPUs nvidia-smi lists, refreshed at most once a minute in the background so a slow driver never holds up info. --where gains gpu, gpus>=N, gpu=MODEL and vram>=N, combined per GPU, plus os=windows. Runners recheck them at admission, and errand peers shows a GPUS column. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
This was referenced Oct 5, 2026
When ssh exited with 255 before saying anything, a read reported the peer unreachable but a write reported only that ssh ended. Whether the request write or the response read hit the closed pipe first depended on timing, so TestSSHConnectFailureIsUnreachable was flaky in CI. Both now explain the error through one function. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
Owner
Author
|
Generated by Claude Code |
lydakis
marked this pull request as ready for review
October 5, 2026 06:11
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Before:
--wherehad no way to ask for a GPU, anderrand peersshowed none.After:
--where gpu,gpus>=N,gpu=MODELandvram>=Nselect runners by the GPUsnvidia-smireports, for exampleerrand --where gpu=a100,vram>=80,gpus>=4 -- python train.py. Runners recheck the terms at admission, anderrand peersgains a GPUS column.os=windowsis accepted as a where term too.This is the first of three PRs split out of #26: these where terms are useful on their own. Cloud leasing (broker, command provider, CLI, endpoints) follows on top of this, and the Lambda provider comes last.
How: runners ask
nvidia-smiat most once a minute, in the background, so a slow or hung driver never holds up/v0/info; only the first measurement is briefly waited for. Combined GPU terms count the GPUs that satisfy all of them. Model names match ignoring case, spaces and hyphens. VRAM is rounded to the nearest GiB, and unified-memory parts that report no size never satisfyvram>=N.🤖 Generated with Claude Code
https://claude.ai/code/session_013BQxiCNDXMnjv5pvmgo5E6
Generated by Claude Code