Skip to content

Commit

Permalink
Support rclone for gptj
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh committed Feb 2, 2024
1 parent c4085bf commit c2cf8a7
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions cm-mlops/script/get-ml-model-gptj/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"tags": "download-and-extract",
"update_tags_from_env_with_prefix": {
"_url.": [
"CM_PACKAGE_URL"
"CM_DOWNLOAD_URL"
]
},
"enable_if_env": {
Expand Down Expand Up @@ -84,7 +84,9 @@
"CM_DOWNLOAD_FILENAME": "checkpoint.zip",
"CM_UNZIP": "yes",
"CM_DOWNLOAD_CHECKSUM_NOT_USED": "e677e28aaf03da84584bb3073b7ee315",
"CM_PACKAGE_URL": "https://cloud.mlcommons.org/index.php/s/QAZ2oM94MkFtbQx/download"
"CM_PACKAGE_URL": "https://cloud.mlcommons.org/index.php/s/QAZ2oM94MkFtbQx/download",
"CM_RCLONE_CONFIG": "rclone config create mlc-inference s3 provider=LyveCloud access_key_id=0LITLNQMHZALM5AK secret_access_key=YQKYTMBY23TMZHLOYFJKL5CHHS0CWYUC endpoint=s3.us-east-1.lyvecloud.seagate.com",
"CM_RCLONE_URL": "mlc-inference:mlcommons-inference-wg-s3/gpt-j"
},
"add_deps_recursive": {
"dae": {
Expand Down Expand Up @@ -182,6 +184,20 @@
"dae": {
"tags": "_wget"
}
},
"env": {
"CM_DOWNLOAD_URL": "<<<CM_PACKAGE_URL>>>"
}
},
"rclone": {
"group": "download-tool",
"add_deps_recursive": {
"dae": {
"tags": "_rclone"
}
},
"env": {
"CM_DOWNLOAD_URL": "<<<CM_RCLONE_URL>>>"
}
},
"pytorch,int8,intel": {
Expand Down

0 comments on commit c2cf8a7

Please sign in to comment.