Draft
Conversation
This reverts commit 6ddfe52.
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.
Run-down integration: support for downloading and uploading GCS checkpoints using signed URLs provided by the
run-downservice.Instead of requiring each client to have GCS credentials, clients now authenticate to the
run-downservice using their Solana wallet signature and receive time-limited signed URLs for GCS operations. This applies to both model download (during warmup) and checkpoint upload (during cooldown).Request format
Both upload and download requests are
POSTto{base_url}/upload/{run_id}or{base_url}download/{run_id}with:{ "walletAddress": "<solana pubkey>", "filename": "model-00001-of-00004.safetensors", // upload only "expiresInSeconds": 3600, "nonce": "1772661159000" }Header: X-Solana-Signature:
The signature is over: nous-run-down-service:{run_id}:{wallet_address}:{expiresInSeconds}:{nonce}
The run-down service should:
Cache
Downloaded files are cached in
~/.cache/psyche/gcs/{run_id}/step-{step}-{manifest_generation}