cirron info
Display comprehensive information about your ML model (architecture, dependencies, metadata) and run diagnostic checks or hardware detection.Usage
Options
| Option | Description | Default |
|---|---|---|
--update <type> | Update metadata (currently: metadata) | null |
--dry-run | Preview metadata changes without applying | false |
--diagnostics | Run diagnostic checks on configuration and connectivity | false |
--hardware | Show hardware information | false |
--json | Output in JSON format | false |
--detailed | Show detailed information | false |
Output Fields
Runningcirron info produces a report with the following groups of fields:
| Group | Field | Description |
|---|---|---|
| Basic | Model Type | Classification, regression, etc. |
| Basic | Framework | PyTorch, TensorFlow, Scikit-learn |
| Basic | Python Version | Required Python version |
| Basic | GPU Required | Whether GPU is needed |
| Model | Model Class | Detected model class name |
| Model | Architecture | CNN, LSTM, Transformer, etc. |
| Model | Parameters | Estimated parameter count |
| Model | Input Shape | Expected input dimensions |
| Model | Output Shape | Model output dimensions |
| Model | Training/Test Data Shapes | Data dimensions |
| VCS | Git Commit | Current commit hash |
| VCS | Branch | Current git branch |
| VCS | Repository Status | Clean or uncommitted changes |
| Endpoints | Deployment URLs | Configured endpoint URLs by environment |
| Dependencies | Framework / Data / Visualization | torch, tensorflow, sklearn, numpy, pandas, matplotlib, seaborn |
src/model.py to detect frameworks (nn.Module, tf.keras.Model, sklearn estimators), architecture patterns (CNN, LSTM/GRU, Transformer, ResNet, Dropout/BatchNorm, embeddings), and input shapes from sample tensor calls.
Metadata Management
modelClassName, architecture, inputShape, trainingDataShape, testDataShape, gitCommitHash, detectedPatterns.
The command also surfaces mismatches between stored metadata and current analysis: critical (model class, input shape changes) or warning (architecture pattern, git commit changes).
cirron.yaml metadata section
Diagnostics
cirron.yaml structure, checks settings consistency, tests API reachability and authentication, and verifies Python/CUDA/dependency availability.
Hardware Info
Equivalent tocirron config hardware --detect. Reports CPU, memory, GPU, CUDA availability, and framework compatibility.
cirron config hardware.
Examples
Troubleshooting
| Error / Symptom | Resolution |
|---|---|
Not a Cirron project | Run cirron init my-project |
Unknown update type | Only metadata is supported today |
cirron.yaml has been modified by another process | Retry after other processes complete |
| Missing model information | Ensure src/model.py exists and the model inherits from framework base classes |
| Inaccurate parameter counts | Ensure model instantiation works; avoid dynamic parameter generation |
| Architecture not detected | Use standard framework patterns; avoid custom layer name typos |