Repository navigation
CLI: --cloud/--gpu/--ttl, instances.json, destroy NAME, status, text-to-sql-h100 - #56
Merged
Merged
Conversation
…s, text-to-sql-h100 - launch: --cloud, --gpu, --ttl win over --param. gpu maps to the pack's instance_type and ttl to hours (rounded up), since packs reject unknown parameters. - ~/.labagent/instances.json (0600) records each launch; destroy NAME recalls pack and params, and the old destroy <pack> --name syntax merges them (explicit flags win). - labagent status: table or JSON of recorded instances. - text-to-sql-h100 resolves to gpu-notebooks-container and is listed by `labagent packs`. Created by LabAgent https://becloudready.com/ Co-Authored-By: LabAgent <info@becloudready.com>
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.
What
launchtakes--cloud,--gpu,--ttl; they win over--param.gpubecomes the pack'sinstance_typeandttlitshours(rounded up), because packs reject unknown parameters. A pack with no such setting is refused by name.~/.labagent/instances.json(0600) records each real launch.labagent destroy NAMErecalls pack and params.destroy <pack> --name nmerges saved params; explicit flags win. A successful destroy removes the entry.labagent statusprints NAME, PACK, CLOUD, GPU, ELAPSED, TTL REMAINING (--json/--output -for JSON).text-to-sql-h100is an alias ofgpu-notebooks-container, listed bylabagent packs.run,dataset,bootstrap-path,commands,ragare unchanged. No new dependencies.Notes
--ttlonly deletes the machine on Shadeform. On RunPod and Lambda it is a planned end: rundestroy.statuscan show "expired" while a machine still bills.Tests
20 new tests in
tests/test_cli_instances.py. Full suite: 996 passed, 1 failed (test_gpu_shared_key ... no_key_list, also fails on cleanmainbecause of a local Nebius login).Created by LabAgent