Skip to content

Commit

Permalink
Setting the version in additional places. Also adding to dashboard.
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeygit committed Aug 19, 2023
1 parent a823382 commit 575e01c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dashboard/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ resources:
env_variables:
REDISHOST: '10.25.27.107'
REDISPORT: '6379'
TEST_NAME_PREFIXES: 'pt-nightly,pt-2.0,tf-r2.14.0,tf.nightly,tf.nightly-se,tf.exp,%-1vm,jax,flax,pax-stable,pax-nightly,mp-jax,mp-pax,mp-pt'
TEST_NAME_PREFIXES: 'pt-nightly,pt-2.0,tf.2.14.0,tf.nightly,tf.nightly-se,tf.exp,%-1vm,jax,flax,pax-stable,pax-nightly,mp-jax,mp-pax,mp-pt'
JOB_HISTORY_TABLE_NAME: 'xl-ml-test.metrics_handler_dataset.job_history'
METRIC_HISTORY_TABLE_NAME: 'xl-ml-test.metrics_handler_dataset.metric_history'

Expand Down
8 changes: 4 additions & 4 deletions tests/tensorflow/r2.14/common.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ local volumes = import 'templates/volumes.libsonnet';
HuggingFaceTransformer:: common.ModelGardenTest {
local config = self,

frameworkPrefix: 'tf-2.14.0',
frameworkPrefix: 'tf.2.14.0',
tpuSettings+: {
softwareVersion: '2.14.0',
},
Expand All @@ -42,7 +42,7 @@ local volumes = import 'templates/volumes.libsonnet';
ModelGardenTest:: common.ModelGardenTest {
local config = self,

frameworkPrefix: 'tf-2.14.0',
frameworkPrefix: 'tf.2.14.0',
tpuSettings+: {
softwareVersion: '2.14.0',
},
Expand Down Expand Up @@ -152,7 +152,7 @@ local volumes = import 'templates/volumes.libsonnet';
metadata: {
'ssh-keys': 'xl-ml-test:$(cat /scripts/id_rsa.pub)',
'startup-script': %(startupScript)s,
'tensorflow-docker-url': 'gcr.io/cloud-tpu-v2-images-dev/grpc_tpu_worker:nightly'
'tensorflow-docker-url': 'gcr.io/cloud-tpu-v2-images-dev/grpc_tpu_worker:tf-2.14.0'
}
}" https://tpu.googleapis.com/v2alpha1/projects/${project}/locations/${zone}/nodes?node_id=${tpu_name}
echo "Waiting for TPU Pod ${tpu_name} to become ready..."
Expand All @@ -179,7 +179,7 @@ local volumes = import 'templates/volumes.libsonnet';
softwareVersion=%(softwareVersion)s
gcloud alpha compute tpus tpu-vm ssh ${tpu_name} --zone=${zone} --project=${project} --internal-ip --ssh-key-file=/scripts/id_rsa --worker=all --command "echo 'WRAPT_DISABLE_EXTENSIONS=true' | sudo tee -a /etc/environment"
if [[ ${softwareVersion: -3} == "pod" ]]; then
gcloud alpha compute tpus tpu-vm ssh ${tpu_name} --zone=${zone} --project=${project} --internal-ip --ssh-key-file=/scripts/id_rsa --worker=all --command "sudo sed -i 's/TF_DOCKER_URL=.*/TF_DOCKER_URL=gcr.io\/cloud-tpu-v2-images-dev\/grpc_tpu_worker:nightly\"/' /etc/systemd/system/tpu-runtime.service"
gcloud alpha compute tpus tpu-vm ssh ${tpu_name} --zone=${zone} --project=${project} --internal-ip --ssh-key-file=/scripts/id_rsa --worker=all --command "sudo sed -i 's/TF_DOCKER_URL=.*/TF_DOCKER_URL=gcr.io\/cloud-tpu-v2-images-dev\/grpc_tpu_worker:tf-2.14.0\"/' /etc/systemd/system/tpu-runtime.service"
gcloud alpha compute tpus tpu-vm ssh ${tpu_name} --zone=${zone} --project=${project} --internal-ip --ssh-key-file=/scripts/id_rsa --worker=all --command "sudo systemctl daemon-reload && sudo systemctl restart tpu-runtime"
fi
||| % tpuCreateSettings),
Expand Down

0 comments on commit 575e01c

Please sign in to comment.