Skip to content

nmbodrick/lium

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

𓋼 Lium

Manage Celium GPU pods from your terminal.


1. Install

Make sure you have uv and Python 3.10+ installed.

# Load env for lium
git clone git@github.com:unconst/lium.git && cd lium && uv venv && source .venv/bin/activate
# Install lium from source
uv pip install -e .

2. Configure

  1. Generate your api key here
  2. Add funds to your account here
# Set your celium API key.
lium config set api_key <YOUR_API_KEY_HERE> 
# Set path to your ssh private key
lium config set ssh.key_path <PATH_TO_YOUR_SSH_PRIVATE_KEY>
# Select your default template
lium config set template.default_id
# Show your config file in: ~/.lium/config.ini 
lium config show

Lium config show

3. Use


lium ls

# List all available H100s for rental
lium ls H100

Lium ls H100


lium up

# Rent pod with name "golden-pixel-2f"
lium up noble-matrix-a3

# Rent multiple pods
lium up golden-pixel-2f, calm-jaguar-f6`

Lium up


lium ps

# Shows all actively rented pods and their status
lium ps

Lium ps


lium exec

# Executes python --version command on cosmic-raven-39
lium exec cosmic-raven-39 "python --version"

lium exec


lium ssh

# Opens an ssh connection into laser-cipher-a9
lium ssh laser-cipher-a9

lium ssh


lium down

# Release your rental on a pod golden-pixel-2f
lium down golden-pixel-2f

# Release all rentals without confirmation
lium down --all -y

lium down


License

2025 Yuma Rao

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%