Your code.
A new environment.
Lunar is a GPU Cloud for running Python in isolated sandboxes with on-demand GPU access. The goal: let you focus on your workload while Lunar handles execution infrastructure.
The workflow
Bring Python
Start with the Python code and dependencies your workload needs.
Use a sandbox
Run inside an isolated environment, separate from other executions.
Access GPU compute
Use on-demand GPU resources without managing the underlying servers.
A GPU workload in Python
This PyTorch snippet demonstrates a GPU matrix operation. It needs PyTorch and a working CUDA environment; it does not create a Lunar sandbox or connect to a Lunar API.
import torch
x = torch.randn(1024, 1024, device="cuda")
result = x @ x.T
print(result.shape)
print(result.device)Access & availability
GPU models, regions, pricing, access conditions, and service capabilities must be confirmed with the Lunar team. Use the project brief form on the homepage to describe your workload. The form creates a local file; it does not submit a request.
Explore Lunar