Skip to content

Commit

Permalink
change kepler config path and export func name
Browse files Browse the repository at this point in the history
Signed-off-by: Sunyanan Choochotkaew <[email protected]>
  • Loading branch information
sunya-ch committed Apr 19, 2024
1 parent f75122d commit bf495ae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion manifests/kepler/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- github.com/sustainable-computing-io/kepler/manifests/config/base
- github.com/sustainable-computing-io/kepler/manifests/k8s/config/base

patchesStrategicMerge:
- ./patch/patch-ci.yaml
6 changes: 3 additions & 3 deletions model_training/cpe_script_instruction.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,17 @@ Compatible version: python 3.8
1. Fork `kepler-model-db`.
1. Validate and make a copy by export command. Need to define `machine id`, `local path to forked kepler-model-db/models`, `author github account` and `benchmark type`.
1. Validate and make a copy by export_models command. Need to define `machine id`, `local path to forked kepler-model-db/models`, `author github account` and `benchmark type`.
Run
```
./script.sh export <machine id> <path to kepler-model-db/models> <author github account> <benchmark type>
./script.sh export_models <machine id> <path to kepler-model-db/models> <author github account> <benchmark type>
```
If you also agree to share the raw data (preprocessed data and archived file of full pipeline), run
```
./script.sh export_with_raw <machine id> <path to kepler-model-db/models> <author github account> <benchmark type>
./script.sh export_models_with_raw <machine id> <path to kepler-model-db/models> <author github account> <benchmark type>
```
- set `NATIVE="true"` to export natively.
Expand Down
4 changes: 2 additions & 2 deletions model_training/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,11 @@ function _export() {
fi
}

function export() {
function export_models() {
_export $1 $2 $3 $4
}

function export_with_raw() {
function export_models_with_raw() {
_export $1 $2 $3 $4 "--include-raw true"
}

Expand Down

0 comments on commit bf495ae

Please sign in to comment.