Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIStudio Workloads

Standalone GPU workloads for LLM benchmarking and interactive Jupyter environments. Each workload runs as an isolated Docker container on any NVIDIA GPU node and can be used independently or managed through AIStudio Server.

Workloads

LLM Inference (llm-inference)

vLLM-based throughput and latency benchmarking. Starts its own vLLM server, sweeps concurrency levels, and outputs structured benchmark results (tokens/sec, TTFT, TPOT, cost estimates).

Supported models: Any HuggingFace-compatible model. Gated models (Llama, etc.) require an HF token — see MODEL-LICENSES.md.

Jupyter Notebook (jupyter-notebook)

JupyterLab environment with GPU profiling utilities and MLPerf microbenchmarks, pre-configured for remote GPU nodes.

Running Standalone

Pull the image and run directly on any NVIDIA GPU node (no AIStudio Server required):

# LLM Inference
docker run --gpus all --rm \
  -v ~/.cache/huggingface:/root/.cache/huggingface \
  -v /path/to/results:/results \
  -v /path/to/dataset.json:/path/to/dataset.json \
  --entrypoint python3 \
  us-docker.pkg.dev/aimlworkbench/aistudio/llminference:1.0.0-nvidia \
  /llm-inference/benchmark.py \
    --model mistralai/Mistral-7B-Instruct-v0.3 \
    --dataset-path /path/to/dataset.json \
    --concurrencies 4 \
    --output_data_path /results/run1

# Jupyter Notebook
docker run --gpus all -d \
  -p 8888:7008 \
  -v /path/to/data:/data \
  -e workload_id=my-session \
  -e workload_port=7008 \
  us-docker.pkg.dev/aimlworkbench/aistudio/jupyternotebook:1.0.0-nvidia

Dataset: The LLM benchmark requires a ShareGPT-format JSON file on the GPU node. No dataset is bundled or auto-downloaded. You can use OpenOrca (MIT) or Dolly (CC-BY-SA-3.0) as clean alternatives.

Integration with AIStudio Server

When used with AIStudio Server, these workloads are orchestrated automatically — the server handles node selection, SSH execution, result collection, and the benchmark dashboard.

To use a specific workload image version, set the image_tag in the server's catalog.json:

{
  "workload_types": [
    { "name": "LLMInference", "image_tag": "1.0.0-nvidia" },
    { "name": "JupyterNotebook", "image_tag": "1.0.0-nvidia" }
  ]
}

The server passes dataset_path (set in the benchmark config UI) as a bind mount and CLI argument into the container automatically.

Building

# LLM Inference
cd llm-inference
docker build -t llminference:local .

# Jupyter Notebook
cd jupyter-notebook
docker build -t jupyternotebook:local .

License

Apache-2.0 — see LICENSE. This licence covers CoreSpan source code only, not model weights or datasets. See NOTICE for third-party dependency terms.

About

No description, website, or topics provided.

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages