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.
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]Arguments
Section titled “Arguments”- checkpoint_name
- -f , --file
-
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
-
Displays this help page.
- --source-path
-
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.
- --storage-provider
-
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.
- -v , --verbose
-
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.
Examples
Section titled “Examples”Push checkpoint from local files
Section titled “Push checkpoint from local files”flexai checkpoint push my-checkpoint —file /path/to/checkpoint/
flexai checkpoint push my-checkpoint --file /path/to/checkpoint/Push checkpoint from storage provider
Section titled “Push checkpoint from storage provider”flexai checkpoint push my-checkpoint —storage-provider my-s3-provider —source-path bucket-name/checkpoints/model/
flexai checkpoint push my-checkpoint --storage-provider my-s3-provider --source-path bucket-name/checkpoints/model/