From bf2fb17cb7006d1e743b0b938e5114f32a50d89d Mon Sep 17 00:00:00 2001 From: tooyosi Date: Tue, 17 Dec 2024 16:58:20 +0000 Subject: [PATCH] set auto_user ElevationLevel to admin --- bajor/batch/predictions.py | 2 +- bajor/batch/train_finetuning.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bajor/batch/predictions.py b/bajor/batch/predictions.py index e2faef2..bd23a4a 100644 --- a/bajor/batch/predictions.py +++ b/bajor/batch/predictions.py @@ -91,7 +91,7 @@ def create_batch_job(job_id, manifest_url, pool_id, checkpoint_target='ZOOBOT_CH user_identity = batchmodels.UserIdentity( auto_user=batchmodels.AutoUserSpecification( scope=batchmodels.AutoUserScope.task, - elevation_level=batchmodels.ElevationLevel.non_admin + elevation_level=batchmodels.ElevationLevel.admin ) ), # diff --git a/bajor/batch/train_finetuning.py b/bajor/batch/train_finetuning.py index 88c2eef..c00e02e 100644 --- a/bajor/batch/train_finetuning.py +++ b/bajor/batch/train_finetuning.py @@ -120,7 +120,7 @@ def create_batch_job(job_id, manifest_container_path, pool_id, checkpoint_target user_identity = batchmodels.UserIdentity( auto_user=batchmodels.AutoUserSpecification( scope=batchmodels.AutoUserScope.task, - elevation_level=batchmodels.ElevationLevel.non_admin + elevation_level=batchmodels.ElevationLevel.admin ) ), environment_settings=[