Skip to main content

cirron info

Display comprehensive information about your ML model (architecture, dependencies, metadata) and run diagnostic checks or hardware detection.

Usage

Options

OptionDescriptionDefault
--update <type>Update metadata (currently: metadata)null
--dry-runPreview metadata changes without applyingfalse
--diagnosticsRun diagnostic checks on configuration and connectivityfalse
--hardwareShow hardware informationfalse
--jsonOutput in JSON formatfalse
--detailedShow detailed informationfalse

Output Fields

Running cirron info produces a report with the following groups of fields:
GroupFieldDescription
BasicModel TypeClassification, regression, etc.
BasicFrameworkPyTorch, TensorFlow, Scikit-learn
BasicPython VersionRequired Python version
BasicGPU RequiredWhether GPU is needed
ModelModel ClassDetected model class name
ModelArchitectureCNN, LSTM, Transformer, etc.
ModelParametersEstimated parameter count
ModelInput ShapeExpected input dimensions
ModelOutput ShapeModel output dimensions
ModelTraining/Test Data ShapesData dimensions
VCSGit CommitCurrent commit hash
VCSBranchCurrent git branch
VCSRepository StatusClean or uncommitted changes
EndpointsDeployment URLsConfigured endpoint URLs by environment
DependenciesFramework / Data / Visualizationtorch, tensorflow, sklearn, numpy, pandas, matplotlib, seaborn
The command performs static analysis of 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

Updated fields: 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

Validates cirron.yaml structure, checks settings consistency, tests API reachability and authentication, and verifies Python/CUDA/dependency availability.

Hardware Info

Equivalent to cirron config hardware --detect. Reports CPU, memory, GPU, CUDA availability, and framework compatibility.
For full hardware configuration and profile management, use cirron config hardware.

Examples

Example output:

Troubleshooting

Error / SymptomResolution
Not a Cirron projectRun cirron init my-project
Unknown update typeOnly metadata is supported today
cirron.yaml has been modified by another processRetry after other processes complete
Missing model informationEnsure src/model.py exists and the model inherits from framework base classes
Inaccurate parameter countsEnsure model instantiation works; avoid dynamic parameter generation
Architecture not detectedUse standard framework patterns; avoid custom layer name typos

Integration