forked from FlagOpen/FlagScale
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CLI] Add flagscale pull command (FlagOpen#364)
# Pull Instruction for FlagScale This PR introduces the `flagscale pull` command, which allows users to pull Docker images and download checkpoints (ckpt) from a specified Git repository. ## Installation First, please install FlagScale: ```bash cd FlagScale && pip install . ``` ## Usage The command for pulling images and checkpoints, along with setting the storage path for checkpoints, is as follows: ```bash flagscale pull [--image <image>] [--ckpt <ckpt>] [--ckpt-path <ckpt_save_path>] ``` ### Parameters - `--image`: Optional. Docker image address that you want to pull. - `--ckpt`: Optional. The Git repository address of the checkpoint you wish to download. - `--ckpt-path`: Optional. If provided, the checkpoint will be stored in the specified path. If not set, it will be downloaded to a folder named `model_download` in the current directory.
- Loading branch information
1 parent
7cf2c6b
commit fe6c78c
Showing
2 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters