Skip to content

Commit

Permalink
set auto_user ElevationLevel to admin
Browse files Browse the repository at this point in the history
  • Loading branch information
Tooyosi committed Dec 17, 2024
1 parent 2b53ef5 commit bf2fb17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bajor/batch/predictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
),
#
Expand Down
2 changes: 1 addition & 1 deletion bajor/batch/train_finetuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand Down

0 comments on commit bf2fb17

Please sign in to comment.