Command-line interface and environment variables for Chisel CLI
chisel
command is the primary interface for running Python scripts on cloud GPUs. It activates GPU functionality and handles authentication, upload, and execution automatically.
Environment Setup
CHISEL_ACTIVATED=1
environment variable to enable GPU functionality in ChiselApp instances.Authentication Check
Command Execution
chisel
command to activate GPU functionality. When set, ChiselApp instances will run in active mode.chisel
command provides real-time streaming of execution output:
Live Upload Progress
Job Information
Real-time Streaming
Completion Summary
chisel
command includes comprehensive error handling:
Exit Code | Meaning | Example |
---|---|---|
0 | Success | Script completed without errors |
1 | Script error | Python script raised an exception |
2 | Authentication error | Failed to authenticate with backend |
3 | Upload error | Failed to upload code to backend |
4 | Connection error | Network or backend connectivity issues |
chisel
usage for better performance and cost efficiency.