Appearance
AI Work Hub ​
AI Work Hub is a comprehensive platform designed to streamline and enhance the workflow of AI and machine learning projects. It integrates various tools and services to provide a seamless experience for data scientists, researchers, and engineers.

- Dashboard: Overview of recently requested resources.
- Projects: Manage and organize your AI experiments.
- Datasets: Version and manage datasets for reproducibility.
- Pipelines: Define, execute, and monitor complex workflows.
- Reports: Generate and view detailed reports of your experiments using markdown.
- Orchestration: Monitor resources (CPU and GPU, memory, video memory, and network usage) used by the tasks that workers execute.
- Applications: Access various integrated applications like VSCode and JupyterLab.
Experiment Tracking ​
With AI Work Hub, users can easily track their experiments, ensuring reproducibility and efficient resource management. The platform provides a user-friendly interface to visualize and compare various metrics, logs, and other relevant information. Users can explore the source code, hyperparameter configurations, artifacts such as model training checkpoints, log console, and plots.

Below is a snippet of code demonstrating how to record an experiment using the ClearML library:
python
from clearml import Task
# Create a new task in ClearML
task = Task.init(project_name='AI Work Hub Project', task_name='Experiment Tracking Example')
# Log hyperparameters
task.connect({'learning_rate': 0.001, 'batch_size': 32})
# Log metrics
for epoch in range(10):
accuracy = 0.8 + epoch * 0.01 # Example metric
task.get_logger().report_scalar('accuracy', 'validation', iteration=epoch, value=accuracy)
# Close the task
task.close()Container Registry Access ​
AI Work Hub supports accessing private container registries through Administrator Vault feature. This allows you to use custom Docker images from private registries in your AI Work Hub sessions.
Setting up ImagePullSecret Admin Vault ​
To enable access to private container registries, you need to configure an Administrator Vault with registry credentials:
Navigate to Administrator Settings: As an Administrator, go to Settings > Administrator Vaults Follow this procedure to create an Admin Vault.

Create New Vault: Add a new Vault with the following configuration:
- Name:
ImagePullSecret(or any descriptive name) - User Group:
Users - Target:
Client (SDK/Agent/CLI) - Format:
JSON
- Name:
Configure Registry Credentials: Add the following content structure (the key MUST be
ImagePullSecret):
json
{
"ImagePullSecret": [
{
"registry": "myregistry1.mycompany.com",
"username": "testuser1",
"password": "testpass1",
"email": "me@company.com"
},
{
"registry": "myregistry2.mycompany.com",
"username": "testuser2",
"password": "testpass2",
"email": "me@company.com"
}
]
}- Save the Vault: Complete the vault creation process.
Using Private Registry Images ​
Once the ImagePullSecret vault is configured, you can use private registry images in your AI Work Hub applications:
VSCode Sessions:
plaintext
myregistry1.mycompany.com/my-custom-vscode:latestJupyterLab Sessions:
plaintext
myregistry2.mycompany.com/my-jupyter-environment:v1.0Data Management ​
AI Work Hub leverages the ClearML library to provide comprehensive dataset management capabilities. Users can version their datasets, track changes, and ensure reproducibility. ClearML offers features such as dataset registration, versioning, and easy access to datasets across different experiments, for more details visit ClearML Documentation.
Additionally, through ESC (Enterprise Storage Cloud), users can instantiate an S3 bucket and NFS service for efficient data storage and management.
Using an S3 Bucket ​
Instantiate an S3 bucket through ESC, following the ESC Documentation. Along with creating an S3 bucket, you also need to create an S3 user. This user will provide you with an S3 access key and secret key, which can be used to store and access your data in an S3-like service. The service is compatible with any
boto3client with a version lower than 1.36 Additionally, two hosts will be provided for the S3 service:- Private Host: Accessible only within the Swisscom network.
- Public Host: Accessible externally. Ensure to specify public availability when creating your S3 bucket if you intend to use the public host.
Follow this procedure to create an Admin Vault.

Once create an S3 user it's possible to configure your ClearML settings to use the S3 bucket. As an Administrator, navigate to Settings > Administrator Vaults . You will find two prefilled and precreated vaults:
First Vault - Admin Vault: This vault contains the ClearML SDK configuration for S3 storage with the following structure:
inisdk { aws { s3 { credentials: [ { # This will apply to all buckets in this host (unless key/value is specifically provided for a given bucket) host: "<s3-host>:<s3-port>" key: "<your-access-key>" secret: "<your-secret-key>" multipart: false secure: true verify: false # OR "/path/to/ca/bundle.crt" # OR "https://url/of/ca/bundle.crt" # OR true to verify } ] } } } sdk.development.default_output_uri = "s3://<s3-host>:<s3-port>/<bucket-name>"Second Vault - UI S3 Credentials: This vault contains the UI-specific S3 credentials configuration.
For both vaults, you need to specify the following parameters based on the S3 configuration from step 2:
- Host: Your S3 service host and port
- Key: Your S3 access key
- Secret: Your S3 secret key
- Bucket name: The name of your S3 bucket
- Create and upload your datasets to the S3 bucket. Here an example code:
python
from clearml import Dataset
# Create a new dataset in ClearML
dataset = Dataset.create(dataset_name="my dataset",
dataset_project="example project")
# Add external files from S3 to the dataset
dataset.add_external_files(
source_url="s3://host_addr:port/bucket/path_to_folder_or_file",
dataset_path="/my_dataset/new_folder/"
)
# Add multiple external files from S3 to the dataset
dataset.add_external_files(
source_url=[
"s3://host_addr:port/bucket/path_to_folder_or_file",
"s3://host_addr:port/bucket/path_to_another_folder_or_file"
],
dataset_path="/my_dataset/new_folder/"
)
# Upload the dataset to the specified S3 bucket
dataset.upload()
# Finalize the dataset
dataset.finalize()Using NFS ​
- Instantiate an NFS through ESC.
- Make sure to have an NFS configured when instanciated an AI Portal (take a look at ESC Documentation)
- You can directly refer to NFS urls with ClearML SDK.
GPU Partitioning through MIG ​
NVIDIA Multi-Instance GPU (MIG) partitions one H100 GPU into isolated GPU instances. Each instance has dedicated compute resources and GPU memory. MIG is suitable for workloads that do not require a full H100 GPU, such as development sessions, model evaluation, inference, and small training jobs.
MIG instances are available for AI Work Hub workloads and GPUaaS SSH instances through predefined ClearML queues. The GPU partitioning, Kubernetes resources, and ClearML agents are managed by Swisscom. A MIG instance is requested by selecting the corresponding queue; no Kubernetes configuration is required.
Available MIG Queues ​
Each MIG queue provides one GPU instance together with a predefined amount of CPU, system memory, ephemeral storage, and workspace storage.
| Queue display name | GPU memory | CPU | System memory | Ephemeral storage | Workspace storage |
|---|---|---|---|---|---|
1x H100 10GB MIG GPUT2 BC3 | 10 GB | 3 | 25 GB | 100 GB | 384 GiB |
1x H100 20GB MIG GPUT2 BC3 | 20 GB | 6 | 50 GB | 100 GB | 768 GiB |
1x H100 40GB MIG GPUT2 BC3 | 40 GB | 12 | 100 GB | 100 GB | 1536 GiB |
INFO
The AI Work Hub user interface displays queue names with spaces. SDK and CLI integrations use the technical queue names with underscores, for example 1x_H100_20GB_MIG_GPUT2_BC3.
MIG queues are available on H100-based environments. The queues shown in the user interface determine which GPU profiles are available for the subscription.
User's Scripts in the Browser ​
To generate and edit ClearML Reports, user scripts must be allowed to run in the browser.
Tenant Admin Configuration ​
Tenant Admins control whether Tenant Users can run user scripts in the browser:
- Go to Settings > UI Customization.
- Under User Scripts, configure Run user scripts in the browser:
- Select Allowed to let Tenant Users control this preference.
- Select Blocked to prevent user scripts from running.
- Select Server Default to inherit the server setting. The server default is Blocked.

Tenant User Configuration ​
If user scripts are allowed by a Tenant Admin, Tenant Users can configure their individual preference:
- Go to Settings > Configuration.
- Under User Preferences, use Block running user's scripts in the browser. Disable the toggle to allow user scripts and enable ClearML Reports; enable it to block user scripts.

Applications ​
VSCode ​
AI Work Hub allows users to instantiate and configure VSCode sessions for their AI and machine learning projects. Follow the steps below to set up and manage your VSCode session.
Navigate to VSCode: Log in to the AI Work Hub platform and navigate to the VSCode section.
Configure Session: Create a new VSCode session by selecting the following options:
- Session Name: Choose a name for your session.
- Git Repository: Provide the URL of the Git repository to clone.
- Docker Image Selection: Select the appropriate Docker image for your workload. For example, you can use a custom Docker image from your repository:
plaintextmy-custom-repo/my-docker-image:latestNote: Ensure that when building Docker images for your instances, the installation of dependencies is redirected through your private proxy to fetch the required resources. By default, the provided images will attempt to fetch dependencies through the Swisscom Artifactory.
- Extra Packages: Provide a
requirements.txtfile for additional packages. - Persistent Workspace Path: Set up a persistent workspace path to replicate content across different sessions, cloning from a previous session.
- Queue and Agent Setting: Select the GPUs to attach to your session. See GPU Partitioning through MIG for the available MIG profiles.
- Idle Time Configuration: Configure the idle time settings to manage resource usage efficiently.
- Advanced Options:
- Past Session Configuration: Refer to a past session configuration through a session name.
- Tags: Add tags to your session for better organization.
- VSCode Version: Specify the version of VSCode to use.
- Extensions: List the VSCode extensions to be installed.

- Monitor Session: Once the VSCode session is instantiated, you can monitor its status through the following:
- Console Logs: Access real-time console logs to supervise the correct working of the session.
- Resource Metrics: Monitor CPU and GPU usage through dashboards.

JupyterLab ​
AI Work Hub allows users to instantiate and configure JupyterLab sessions for their AI and machine learning projects. Follow the steps below to set up and manage your JupyterLab session.
Navigate to JupyterLab: Log in to the AI Work Hub platform and navigate to the JupyterLab section.
Configure Session: Create a new JupyterLab session by selecting the following options:
- Session Name: Choose a name for your session.
- Git Repository: Provide the URL of the Git repository to clone.
- Docker Image Selection: Select the appropriate Docker image for your workload. For example, you can use a custom Docker image from your repository:
plaintextmy-custom-repo/my-docker-image:latestNote: Ensure that when building Docker images for your instances, the installation of dependencies is redirected through your private proxy to fetch the required resources. By default, the provided images will attempt to fetch dependencies through the Swisscom Artifactory.
- Extra Packages: Provide a
requirements.txtfile for additional packages. - Persistent Workspace Path: Set up a persistent workspace path to replicate content across different sessions, cloning from a previous session.
- Queue and Agent Setting: Select the GPUs to attach to your session. See GPU Partitioning through MIG for the available MIG profiles.
- Idle Time Configuration: Configure the idle time settings to manage resource usage efficiently.
- Advanced Options:
- Past Session Configuration: Refer to a past session configuration through a session name.
- Tags: Add tags to your session for better organization.
- JupyterLab Version: Specify the version of JupyterLab to use.
- Extensions: List the JupyterLab extensions to be installed.

- Monitor Session: Once the JupyterLab session is instantiated, you can monitor its status through the following:
- Console Logs: Access real-time console logs to supervise the correct working of the session.
- Resource Metrics: Monitor CPU and GPU usage through dashboards.

CleanUp ​
AI Work Hub provides a cleanup tool to manage and delete old archived tasks and their associated files, such as model checkpoints, other artifacts, and debug samples. This helps in maintaining an organized and efficient workspace by removing unnecessary data.
Configure the task with the following options:
- delete_threshold_days: Tasks older than this number of days will be deleted. The default value is 30 days.
- cleanup_period_in_days: Repeat the cleanup service at this interval, in days. The default value is 1.0 (run once a day).
- force_delete: If False (default), delete only Draft tasks. If True, allows deletion of tasks in any status.
- run_as_service: If True (default), the task will be enqueued for remote execution (default queue: "services"). Otherwise, the script will execute locally.

vLLM Model Deployment ​
The vLLM Model Deployment application enables users to quickly deploy Large Language Models (LLMs) as networking services over a secure endpoint. This application supports various model configurations and customizations to optimize performance and resource usage.
INFO
vLLM Version Compatibility:
Currently supports models compatible with vLLM 0.13.1. For newer vLLM versions and custom model deployments, see GPUaaS vLLM Deployment.
Key Features:
- Multi-Model Hosting: Deploy multiple models on the same instance
- Secure Endpoints: Authenticated network endpoints via AI Application Gateway
- Performance Optimization: V1 engine, automatic prefix caching, speculative decoding
- Comprehensive Monitoring: Real-time metrics for requests, latency, tokens/sec, and resource utilization
When to Use vLLM Model Deployment vs GPUaaS vLLM:
- vLLM Model Deployment App: Best for standard models, older vLLM versions (0.13.1), and users who prefer UI-driven configuration with built-in observability
- GPUaaS vLLM: Best for custom/recent models, newer vLLM versions (0.19.1+), and advanced customization via setup scripts
Dashboard Overview ​
Once launched, you can monitor your vLLM deployment instance through the dashboard:
Instance Information:
- Idle Time: Time elapsed since last activity
- Generate Token: Link to workspace Settings for token generation
- Session ID: Unique identifier with console log access
Deployed Models Table:
- Model name
- Endpoint URL
- Model access command line example
- Interactive prompt tester with curl command generator
Performance Metrics:
- Total Number of Requests (over time)
- Tokens per Second
- Latency (ms over time)
Resource Monitoring:
- CPU usage
- Network throughput
- Disk performance
- Memory performance
- GPU utilization
- GPU memory usage
- GPU temperature
Console Log: Real-time console output showing setup progress, status changes, and error messages
Configuration Guide ​
Launching a New Instance ​
- Navigate to Applications → vLLM Model Deployment
- Click Launch New App or Add New
- Configure the instance parameters (see below)
- Click Launch to start the instance
Basic Configuration ​
| Parameter | Description | Required |
|---|---|---|
| Instance Name | Name displayed in the instance list. Defaults to 'vLLM Model Deployment_DATE' if not set | Optional |
| Service Project - Access Control | ClearML Project where instance is created. Access control is based on project permissions (all read-access users can use the service) | Yes |
| Queue | ClearML Queue for task enqueueing (ensure agent is assigned). For multi-GPU inference, ensure queue's pod specification defines multiple GPUs | Yes |
| AI Gateway Route | Select a pre-configured static route from available routes (type: path). If none selected, a dynamic route is created | Optional |
Model Configuration ​
Configure the behavior and performance of the model engine. Multiple model configurations can be added to the same instance.
Essential Parameters:
| Parameter | Description | Default |
|---|---|---|
| CLI | vLLM CLI arguments. If set, these override all other entries except Model field | - |
| Model | ClearML Model ID or HuggingFace model name (e.g., openai/gpt-oss-20b) | - |
| Model Endpoint Name | The name used for API access | - |
| Max Context Length | Maximum model context length. If unspecified, derived from model config | Auto |
| GPUs (Tensor Parallel Size) | Number of GPUs used to load the model | Auto-detected |
| GPU Memory Utilization | Fraction of GPU memory to use for model executor (0 to 1) | 0.9 |
| Enable Reasoning | Enable model to generate reasoning content | False |
| Reasoning Parser | Parser for reasoning content (required if Reasoning enabled) | - |
| Enable Auto Tool Choice | Automatically choose between supported tool-call parsers | False |
| Tool Call Parser | Parser for tool-call conversion (required if Auto Tool Choice enabled) | - |
| Multimedia Limit per Prompt | Comma-separated list limiting multi-modal inputs (e.g., image=16,video=2) | 1 per modality |
Performance Parameters:
| Parameter | Description | Default |
|---|---|---|
| Enforce Eager | Force PyTorch eager-mode (vs hybrid eager/graph mode) | False |
| Enable Automatic Prefix Caching | Cache KV pairs for shared prefixes across requests | False |
| Disable Sliding Window | Disable sliding window, cap to sliding window size | False |
| Max Number of Sequences | Maximum sequences per iteration | - |
| Max Num Batched Tokens | Maximum batched tokens per iteration | - |
| Max Concurrent Requests | Maximum concurrent requests before refusing clients | 10 |
Model Loading Parameters:
| Parameter | Description | Default |
|---|---|---|
| Quantization | Weight quantization method (awq, gptq, fp8, etc.) | Auto |
| Dtype | Data type for model weights and activations | auto |
| KV Cache Dtype | Data type for KV cache storage | auto |
| Model Implementation | Use vLLM or Transformers implementation | Auto (vLLM preferred) |
| Tokenizer | HuggingFace tokenizer name or path | Auto |
| Tokenizer Mode | auto (fast) or slow tokenizer | auto |
| Revision | Specific HuggingFace model version | Default |
| HuggingFace Token | Token for accessing private models | - |
Note: For a complete list of vLLM model parameters and their descriptions, see the vLLM documentation
General Settings ​
| Parameter | Description | Default |
|---|---|---|
| Use V1 Engine | Use the vLLM V1 engine for improved performance | True |
| Trust Remote Code | Trust remote code from HuggingFace | False |
| Disable Log Requests | Disable logging requests | False |
| Disable Async Output Processing | Disable async output processing | False |
| Max CUDA Memory (GiB) | Maximum CUDA memory (can exceed hardware, surplus offloaded to CPU) | - |
| Guided Decoding Backend | Engine for decoding config.json files (outlines, lm-format-enforcer) | - |
| Distributed Executor Backend | Backend for distributed workers (mp, ray) | - |
| Load Format | Model weights format (auto, pt, safetensors, etc.) | auto |
| Uvicorn Log Level | Log level for uvicorn | info |
| vLLM Log Level | Log level for vLLM | info |
Advanced Settings ​
| Parameter | Description | Default |
|---|---|---|
| Swap Space | CPU swap space size (GiB) per GPU | - |
| Skip Tokenizer Init | Skip tokenizer initialization | False |
| Disable Custom All Reduce | Disable custom all-reduce kernel, fall back to NCCL | False |
| Enable Chunk Prefill | Allow chunked prefill for requests | False |
| Speculative Decoding | Configure speculative decoding for improved inter-token latency | - |
| Scheduling Policy | Request scheduling: fcfs (first-come-first-served) or priority | fcfs |
| Task | Model task: auto, generate, or embedding | auto |
WARNING
Important: Automatic CPU Offloading features should be disabled for the vLLM Model Deployment app to work correctly. Do not enable CPU offloading or disk swapping options, as these features are not fully functional in the current version
Environment Variables Configuration ​
At the end of the wizard, you can specify environment variables as key-value pairs. The following environment variables are recommended for the vLLM Model Deployment application:
| Environment Variable | Value |
|---|---|
HF_ENDPOINT(https://<your-artifactory-domain>) | Configure to mirror HuggingFace through your organization's Artifactory instance |
HF_TOKEN (your-huggingface-token) | Optional: Required for accessing gated models |
These environment variables ensure compliance with your internal security policies and can improve download speeds by routing traffic through your organization's Artifactory.

AI Application Gateway Integration ​
An AI Application Gateway can be configured to expose your vLLM model deployment via a static endpoint.
For HTTPS routing:
- Provides load balancing and token-based authentication
- JWT authentication for programmatic access
- Full security features
For TCP routing:
- Provides static endpoint only (no authentication)
- Suitable for database connections requiring stable endpoints
- Ensures consistent connection endpoints without dynamic route changes
Follow the procedure described in the AI Application Gateway section to set it up for your application (Step 1 to Step 3).
