forked from sdpetrides/cpd-mlops
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheat_sheet_cli_mlops.txt
More file actions
51 lines (27 loc) · 2.23 KB
/
cheat_sheet_cli_mlops.txt
File metadata and controls
51 lines (27 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
export SPACE_ID=81c825b4-a1ae-4c1e-8cf3-51b6e3b301b7
export PATH=$PATH:/userfs
###### step by step ######
python cli_mlops.py prepare stage --path-model=/mnts/AdditionalDeepLIIFVolume/deepliif-ws-output/Test_Model_wendy_ws_serialized2 --path-dependency=/userfs/wmla-deployment/edi-deployment-dirs/deepliif-base --path-yml=/userfs/deployment_metadata_cli_example.yml
python cli_mlops.py deploy create --name deepliif-wendy-test --model-asset-id 41a9a8ff-dcaa-4f0f-beb5-2e1bbaa2f384 --kernel-filename kernel.py --custom-arg CPD_USERNAME=wangw6 --custom-arg CPD_API_KEY=********** --custom-arg VOLUME_DISPLAY_NAME=AdditionalDeepLIIFVolume
python cli_mlops.py monitor create --name deepliif-wendy-test
python cli_mlops.py monitor status --name deepliif-wendy-test
python cli_mlops.py deploy stop --name deepliif-wendy-test
python cli_mlops.py deploy delete --name deepliif-wendy-test
python cli_mlops.py monitor delete --name deepliif-wendy-test
python cli_mlops.py config delete --name deepliif-wendy-test
###### simplified ######
python cli_mlops.py prepare stage --path-model=/mnts/AdditionalDeepLIIFVolume/deepliif-ws-output/Test_Model_wendy_ws_serialized2 --path-dependency=/userfs/wmla-deployment/edi-deployment-dirs/deepliif-base --path-yml=/userfs/deployment_metadata_cli_example.yml -f
python cli_mlops.py deploy create --name deepliif-wendy-test --model-asset-id c1c4af90-5227-4d8c-a75e-6b2b6dc96351 --kernel-filename kernel-wendy.py --custom-arg CPD_USERNAME=wangw6 --custom-arg CPD_API_KEY=********** --custom-arg VOLUME_DISPLAY_NAME=AdditionalDeepLIIFVolume
python cli_mlops.py monitor create --name deepliif-wendy-test
python cli_mlops.py monitor status --name deepliif-wendy-test
python cli_mlops.py deploy stop --name deepliif-wendy-test
python cli_mlops.py deploy delete --name deepliif-wendy-test --remove-monitor --remove-config
###### others ######
python cli_mlops.py monitor list
python cli_mlops.py deploy list
python cli_mlops.py config list
python cli_mlops.py config list --detail True
python cli_mlops.py config add --path-yml deployment_metadata_cli_example2.yml
python cli_mlops.py config delete --model-asset-id f6c8acb8-3490-4e9d-bb99-df00ee773f61
python cli_mlops.py config delete --name deepliif-wendy-test
python cli_mlops.py version