Skip to content

checkpoint inspect

Returns detailed information about a Checkpoint: its inception time, metadata, status, file content list, and more. It outputs the information in YAML format by default.

flexai checkpoint inspect <checkpoint_name> [flags]
Required
-h , --help
<boolean>
Optional
Flag

Displays this help page.

-j , --json
<boolean>
Optional
Flag

Displays checkpoint information in JSON format instead of the default ASCII table.

Optional
Flag

Provides more detailed output when inspecting a Checkpoint.

Inspect a checkpoint named my-checkpoint

Terminal window
flexai checkpoint inspect my-checkpoint

Which will output:

flexai checkpoint inspect response (formatted)
kind: Checkpoint
metadata:
name: test-nanogpt-run-1
id: 431a0ecb-cd8f-4508-8ae3-0990833a4f16
creatorUserID: bd67af19-2599-4a57-832e-a1ac042f48be
ownerOrgID: 270a5476-b91a-442f-8a13-852ef7bb5b94
spec:
fromLocalFiles:
- output/checkpoint_20250203_130043/ckpt.pt
storageProvider: ""
sourcePath: ""
status:
status: available
files:
- path: ckpt.pt
size: 343.79 MB
metadata:
name: ""
node: ""
step: 0
trainLoss: 0
evalLoss: 0
model: ""
version: ""
inferenceReady: false
storageProviderID: 00000000-0000-0000-0000-000000000000
size: 343.79 MB
createdAt: "2025-02-03T13:14:37.730471Z"
updatedAt: "2025-02-03T13:14:54.591148Z"