Skip to content

checkpoint push

Upload files to create a new checkpoint in FlexAI

flexai checkpoint push <checkpoint_name> [(--file <path_in_filesystem> ... | --file <path_in_filesystem>=<path_in_checkpoint> ...) | (--storage-provider <storage_provider_name> --source-path <source_path>)] [flags]
Required
-f , --file
<key=value>
Optional

Pushes a new Checkpoint to FlexAI from either the host machine running the FlexAI CLI or from a Remote Storage Provider Connection, such as Hugging Face, Amazon S3, Cloudflare R2 or GCP Cloud Storage.

‘Key=Value’ path pair: <path_in_filesystem>=<path_in_checkpoint>

-h , --help
<boolean>
Optional
Flag

Displays this help page.

--source-path
<boolean>
Optional
Flag

Pushes a new Checkpoint to FlexAI from either the host machine running the FlexAI CLI or from a Remote Storage Provider Connection, such as Hugging Face, Amazon S3, Cloudflare R2 or GCP Cloud Storage.

Optional
Flag

Pushes a new Checkpoint to FlexAI from either the host machine running the FlexAI CLI or from a Remote Storage Provider Connection, such as Hugging Face, Amazon S3, Cloudflare R2 or GCP Cloud Storage.

Optional
Flag

Pushes a new Checkpoint to FlexAI from either the host machine running the FlexAI CLI or from a Remote Storage Provider Connection, such as Hugging Face, Amazon S3, Cloudflare R2 or GCP Cloud Storage.

flexai checkpoint push my-checkpoint —file /path/to/checkpoint/

Terminal window
flexai checkpoint push my-checkpoint --file /path/to/checkpoint/

flexai checkpoint push my-checkpoint —storage-provider my-s3-provider —source-path bucket-name/checkpoints/model/

Terminal window
flexai checkpoint push my-checkpoint --storage-provider my-s3-provider --source-path bucket-name/checkpoints/model/