Skip to content

Commit 9c9796e

Browse files
committed
change default pipeline name to std_v0.7.11
Signed-off-by: Sunyanan Choochotkaew <[email protected]>
1 parent 4005b55 commit 9c9796e

File tree

10 files changed

+14
-13
lines changed

10 files changed

+14
-13
lines changed

.github/workflows/collect-train.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
instance_type: [i3.metal]
2929
uses: ./.github/workflows/train-model.yml
3030
with:
31-
pipeline_name: std_v0.7
31+
pipeline_name: std_v0.7.11
3232
instance_type: ${{ matrix.instance_type }}
3333
ami_id: 'ami-0e4d0bb9670ea8db0'
3434
github_repo: ${{ github.repository }}

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ jobs:
196196
docker_secret: ${{ needs.check-secret.outputs.docker-secret }}
197197
image_repo: ${{ vars.IMAGE_REPO || 'docker.io/library' }}
198198
image_tag: ${{ needs.check-branch.outputs.tag }}
199-
pipeline_name: std_v0.7
199+
pipeline_name: std_v0.7.11
200200

201201
integration-test-internal-only:
202202
needs: [check-secret, check-branch, check-change, base-image]

.github/workflows/push-to-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
instance_type: [i3.metal]
7979
uses: ./.github/workflows/train-model.yml
8080
with:
81-
pipeline_name: std_v0.7
81+
pipeline_name: std_v0.7.11
8282
instance_type: ${{ matrix.instance_type }}
8383
ami_id: 'ami-0e4d0bb9670ea8db0'
8484
github_repo: ${{ github.repository }}

.github/workflows/train.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
instance_type: [i3.metal]
3232
uses: ./.github/workflows/train-model.yml
3333
with:
34-
pipeline_name: std_v0.7
34+
pipeline_name: std_v0.7.11
3535
instance_type: ${{ matrix.instance_type }}
3636
ami_id: 'ami-0e4d0bb9670ea8db0'
3737
github_repo: ${{ github.repository }}

hack/aws_helper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ HOST_MNT_PATH="${HOST_MNT_PATH:-/mnt}"
2828
MACHINE_SPEC_DIR="machine_spec"
2929
MACHINE_ID=""
3030

31-
PIPELINE_NAME="${PIPELINE_NAME:-std_v0.7}"
31+
PIPELINE_NAME="${PIPELINE_NAME:-std_v0.7.11}"
3232
POWER_SOURCE="${POWER_SOURCE:-rapl-sysfs}"
3333
MODEL_TYPE="${MODEL_TYPE:-AbsPower}"
3434
FEATURE_NAME="${FEATURE_NAME:-BPFOnly}"

manifests/base/patch/patch-estimator-sidecar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
data:
77
MODEL_CONFIG: |
88
NODE_COMPONENTS_ESTIMATOR=true
9-
NODE_COMPONENTS_INIT_URL=https://raw.githubusercontent.com/sustainable-computing-io/kepler-model-db/main/models/v0.7/ec2/intel_rapl/AbsPower/BPFOnly/GradientBoostingRegressorTrainer_0.zip
9+
NODE_COMPONENTS_INIT_URL=https://raw.githubusercontent.com/sustainable-computing-io/kepler-model-db/main/models/v0.7/ec2-0.7.11/rapl-sysfs/AbsPower/BPFOnly/GradientBoostingRegressorTrainer_0.zip
1010
NODE_TOTAL_ESTIMATOR=true
1111
NODE_TOTAL_INIT_URL=https://raw.githubusercontent.com/sustainable-computing-io/kepler-model-db/main/models/v0.7/specpower/acpi/AbsPower/BPFOnly/GradientBoostingRegressorTrainer_0.zip
1212
---
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
data:
22
MODEL_CONFIG: |
33
NODE_COMPONENTS_ESTIMATOR=true
4-
NODE_COMPONENTS_INIT_URL=http://model-db.kepler.svc.cluster.local:8110/std_v0.7/intel_rapl/AbsPower/BPFOnly/GradientBoostingRegressorTrainer_0.zip
4+
NODE_COMPONENTS_INIT_URL=http://model-db.kepler.svc.cluster.local:8110/std_v0.7.11/rapl-sysfs/AbsPower/BPFOnly/GradientBoostingRegressorTrainer_0.zip
55
NODE_TOTAL_ESTIMATOR=true
6-
NODE_TOTAL_INIT_URL=http://model-db.kepler.svc.cluster.local:8110/std_v0.7/acpi/AbsPower/BPFOnly/GradientBoostingRegressorTrainer_0.zip
6+
NODE_TOTAL_INIT_URL=http://model-db.kepler.svc.cluster.local:8110/std_v0.7.11/acpi/AbsPower/BPFOnly/GradientBoostingRegressorTrainer_0.zip

model_training/tekton/examples/single-train/dyn-power.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# example-dyn-train-pipeline:
2-
# running pipelines with all default value to train DynPower model (intel_rapl, BPFOnly)
2+
# running pipelines with all default value to train DynPower model (rapl-sysfs, BPFOnly)
33
apiVersion: tekton.dev/v1
44
kind: PipelineRun
55
metadata:

src/util/loader.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
import requests
1010
import codecs
1111

12-
version = 0.7
12+
major_version = "0.7"
13+
version = "0.7.11"
1314

1415
FILTER_ITEM_DELIMIT = ';'
1516
VALUE_DELIMIT = ':'
@@ -24,10 +25,10 @@
2425
## default_train_output_pipeline: a default pipeline name which is output from the training pipeline
2526
default_train_output_pipeline = "std_v{}".format(version)
2627
default_pipelines = {
27-
"rapl-sysfs": "ec2-0.7.11",
28+
"rapl-sysfs": "ec2-{}".format(version),
2829
"acpi": "specpower"
2930
}
30-
base_model_url = "https://raw.githubusercontent.com/sustainable-computing-io/kepler-model-db/main/models/v{}".format(version)
31+
base_model_url = "https://raw.githubusercontent.com/sustainable-computing-io/kepler-model-db/main/models/v{}".format(major_version)
3132
def get_pipeline_url(model_topurl, pipeline_name):
3233
file_ext = ".zip"
3334
return os.path.join(model_topurl, pipeline_name + file_ext)

tests/estimator_model_request_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
os.environ['MODEL_SERVER_URL'] = 'http://localhost:8100'
2222
model_topurl = 'http://localhost:{}'.format(file_server_port)
2323
os.environ['MODEL_TOPURL'] = model_topurl
24-
os.environ['INITIAL_PIPELINE_URL'] = os.path.join(model_topurl, "std_v0.7")
24+
os.environ['INITIAL_PIPELINE_URL'] = os.path.join(model_topurl, "std_v0.7.11")
2525

2626
server_path = os.path.join(os.path.dirname(__file__), '../src')
2727
util_path = os.path.join(os.path.dirname(__file__), '../src/util')

0 commit comments

Comments
 (0)