Added retrieval of pod configuration from miners' projects for specifying platform and GPU#62
Open
dl2gomi wants to merge 4 commits into
Open
Added retrieval of pod configuration from miners' projects for specifying platform and GPU#62dl2gomi wants to merge 4 commits into
dl2gomi wants to merge 4 commits into
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a50a2aa. Configure here.
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.

pod_config.yaml (orchestrator placement)
The generation-orchestrator reads an optional
pod_config.yamlfrom miner repository at the pinned submission commit (same commit as the Docker build). HTTP service does not need to read this file; it is metadata for the orchestrator.pod_config.yaml.GPU_PROVIDERS, no Runpod host CUDA filter).pod_config.yaml.platforms: optional ordered list. Onlyrunpodis honored for placement hints today (allowedCudaVersions, etc.);targonandverdaentries are removed when the file is loaded (orchestratorGPU_PROVIDERSstill controls whether those providers are used at all). Unknown names are ignored later during provider resolution. If every listed platform wastargonorverda(so the list is empty after removal),filtersare cleared as well: the orchestrator applies the same defaults as whenpod_config.yamlis missing for Runpod hints (nofilters.cudafor Runpod). This does not apply whenplatformsis omitted or explicitly empty without those names — in that casefilters.cudais still honored.filters.cuda: optional. Integer major (13) or YAML float (13.0, unquoted) are equivalent; dotted strings such as12.4are also accepted. When deploying on Runpod, this is mapped to the RESTallowedCudaVersionsallowlist so the pod is scheduled only on hosts whose driver reports a compatible CUDA version. Targon and Verda do not support this filter in the current orchestrator; deploy proceeds without a host-level CUDA allowlist there.Note
Medium Risk
Changes pod deployment/provider-selection behavior and adds new Runpod scheduling filters, which can affect pod acquisition and generation reliability if misconfigured or parsing/ordering is wrong.
Overview
Adds support for an optional miner
pod_config.yaml(loaded from the miner repo at the pinned submission commit) to influence pod placement.The orchestrator now passes miner-derived provider preferences into pod acquisition (custom round-robin sequence) and can apply a Runpod-only host CUDA allowlist via Runpod’s
allowedCudaVersionsdeploy payload; other providers ignore this filter. GitHub access is extended withget_file_from_repo(treating 401/403/404 as missing), the deploy script gains flags to load/fetchpod_config.yaml, shared deps addpyyaml, and new tests cover config parsing, provider resolution, GitHub failure handling, and Runpod payload generation.Reviewed by Cursor Bugbot for commit 8b71b40. Bugbot is set up for automated code reviews on this repo. Configure here.