Skip to main content

commander command for Cloudmesh AI

Project description

Cloudmesh AI Commander

The cloudmesh-ai-commander extension provides a set of automation tools to orchestrate the deployment, management, and access of AI model servers on the UVA GPU cluster.

It simplifies the complex process of requesting compute resources via iJob, deploying server software (either mock or real), and establishing secure SSH tunnels for local access.

Documentation Guides

Depending on your needs, please refer to the appropriate guide:

1. Mock Server Guide

Purpose: Rapid development and testing.

  • What it does: Deploys a lightweight FastAPI mock server that simulates the vLLM API.
  • When to use: When you need to test your application's integration with an AI API without consuming expensive GPU resources or waiting for large model weights to load.
  • Key Command: cmc commander run mock

2. Real Gemma Service Guide

Purpose: Production-grade model serving.

  • What it does: Deploys the actual Gemma 4 model using the vLLM engine via Apptainer containers on UVA GPU nodes.
  • When to use: When you need actual model inferences, high-throughput serving, and real GPU performance.
  • Key Command: cmc commander run vllm

Comparison at a Glance

Feature Mock Workflow Real Gemma Workflow
Resource Usage Minimal (CPU/Small RAM) High (Multiple A100 GPUs)
Startup Time Seconds Minutes (Model Loading)
Accuracy Simulated Responses Actual LLM Inferences
Deployment Python Script Apptainer Container
Primary Goal API Integration Testing Model Evaluation & Usage

Quick Installation

To get started with the commander:

# 1. Setup environment
pyenv virtualenv 3.14.4 CMC
pyenv local CMC

# 2. Install from source
git clone https://github.com/cloudmesh-ai/cloudmesh-ai-commander.git
cd cloudmesh-ai-commander
pip install -e .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cloudmesh_ai_commander-0.1.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file cloudmesh_ai_commander-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cloudmesh_ai_commander-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5fb7a07fe382a3b62b0da1c8026f4877f1a98b6731e0b953554eb3f1a4d9fd1
MD5 40f486bbfc192d0e6a83e1321e9b220c
BLAKE2b-256 dfecbb086b209a56fa720b8bbacfd38d3825831596bc48fab807a85ca623e100

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page