Get up and running with Chisel CLI to accelerate your Python functions on cloud GPUs
Install Chisel CLI
Verify installation
Create a Python script
my_first_gpu_script.py
:@app.capture_trace
decorator marks functions for GPU execution when using the chisel
command.Test locally first
Run on cloud GPU
Monitor execution
ChiselApp
class is your main interface for GPU acceleration:
"app-name"
: Job tracking identifier for monitoringgpu
: GPU configuration (see options below)upload_dir
: Directory to upload (default: current directory)Type | GPUs | Memory | Best For |
---|---|---|---|
GPUType.A100_80GB_1 | 1x A100 | 80GB | Development, inference |
GPUType.A100_80GB_2 | 2x A100 | 160GB | Medium training |
GPUType.A100_80GB_4 | 4x A100 | 320GB | Large models |
GPUType.A100_80GB_8 | 8x A100 | 640GB | Massive models |
First-time setup
chisel
for the first time:~/.chisel/
Credential management