Skip to content

Commit

Permalink
change "get,python" to "get,python3" in all scripts to be consistant …
Browse files Browse the repository at this point in the history
…and make sure that this deps in reused!
  • Loading branch information
gfursin committed Jan 6, 2023
1 parent 8567d16 commit dc38284
Show file tree
Hide file tree
Showing 21 changed files with 23 additions and 24 deletions.
2 changes: 1 addition & 1 deletion cm-mlops/script/app-image-classification-torch-py/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"python",
"python3"
],
"tags": "get,python"
"tags": "get,python3"
},
{
"tags": "get,dataset,imagenet,image-classification,preprocessed"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"python",
"python3"
],
"tags": "get,python"
"tags": "get,python3"
},
{
"tags": "get,dataset,image-classification,original"
Expand Down
2 changes: 1 addition & 1 deletion cm-mlops/script/app-mlperf-inference/_cm_not_used.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"names": [
"python3"
],
"tags": "get,python"
"tags": "get,python3"
},
{
"names": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"python",
"python3"
],
"tags": "get,python"
"tags": "get,python3"
},
{
"names": [
Expand Down
2 changes: 1 addition & 1 deletion cm-mlops/script/generate-mlperf-tiny-submission/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"python",
"python3"
],
"tags": "get,python"
"tags": "get,python3"
},
{
"tags": "get,sut,system-description"
Expand Down
2 changes: 1 addition & 1 deletion cm-mlops/script/get-generic-python-lib/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"python",
"python3"
],
"tags": "get,python"
"tags": "get,python3"
}
],
"extra_cache_tags_from_env": [
Expand Down
2 changes: 1 addition & 1 deletion cm-mlops/script/get-ml-model-resnet50-tvm/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"names": [
"python, python3"
],
"tags": "get,python"
"tags": "get,python3"
},
{
"names": [
Expand Down
7 changes: 3 additions & 4 deletions cm-mlops/script/get-python3/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,9 @@ def postprocess(i):
found_path_root = os.path.dirname(found_path)

if from_virtual:
# Clean PATH and other vars with original Python if from virtual
# since we use . activate to set these ...
# If we need them, we can add them later explicitly ...
for k in ['+PATH']:#, '+LD_LIBRARY_PATH', '+C_INCLUDE_PATH']:
# Clean PATH (it will be in activate script)
# but keep LD_LIBRARY_PATH and C_INCLUDE_PATH from the native python
for k in ['+PATH']:
if k in env:
del(env[k])

Expand Down
2 changes: 1 addition & 1 deletion cm-mlops/script/install-generic-python-lib/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"python",
"python3"
],
"tags": "get,python"
"tags": "get,python3"
}
],
"extra_cache_tags_from_env": [
Expand Down
2 changes: 1 addition & 1 deletion cm-mlops/script/install-python-src/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"yes"
]
},
"tags": "get,python"
"tags": "get,python3"
}
],
"tags": [
Expand Down
2 changes: 1 addition & 1 deletion cm-mlops/script/install-python-venv/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"names": [
"register-python"
],
"tags": "get,python"
"tags": "get,python3"
}
],
"tags": [
Expand Down
2 changes: 1 addition & 1 deletion cm-mlops/script/print-hello-world-py/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"python",
"python3"
],
"tags": "get,python"
"tags": "get,python3"
},
{
"tags": "print,python-version"
Expand Down
2 changes: 1 addition & 1 deletion cm-mlops/script/print-python-version/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"python",
"python3"
],
"tags": "get,python"
"tags": "get,python3"
}
],
"tags": [
Expand Down
2 changes: 1 addition & 1 deletion cm-mlops/script/process-mlperf-accuracy/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"python3",
"python"
],
"tags": "get,python"
"tags": "get,python3"
},
{
"enable_if_env": {
Expand Down
2 changes: 1 addition & 1 deletion cm-mlops/script/publish-results-to-dashboard/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"python3",
"python"
],
"tags": "get,python"
"tags": "get,python3"
},
{
"tags": "get,generic-python-lib,_wandb"
Expand Down
2 changes: 1 addition & 1 deletion cm-mlops/script/run-mlperf-inference-app/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"python",
"python3"
],
"tags": "get,python"
"tags": "get,python3"
},
{
"names": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"python",
"python3"
],
"tags": "get,python"
"tags": "get,python3"
},
{
"names": [
Expand Down
2 changes: 1 addition & 1 deletion cm-mlops/script/run-mlperf-power-client/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"python",
"python3"
],
"tags": "get,python"
"tags": "get,python3"
},
{
"names": [
Expand Down
2 changes: 1 addition & 1 deletion cm-mlops/script/run-mlperf-power-server/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"python",
"python3"
],
"tags": "get,python"
"tags": "get,python3"
},
{
"names": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"python",
"python3"
],
"tags": "get,python"
"tags": "get,python3"
},
{
"names": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"python",
"python3"
],
"tags": "get,python"
"tags": "get,python3"
}
],
"env": {},
Expand Down

0 comments on commit dc38284

Please sign in to comment.