Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Prediction Job Failures (Aug 2024) #50

Merged
merged 1 commit into from
Aug 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bajor/batch/predictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ def create_batch_job(job_id, manifest_url, pool_id):
# Short term: avoid waiting for this prep task to complete before starting the main task
# https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.models.JobPreparationTask?view=azure-python#constructor
# https://learn.microsoft.com/en-us/azure/batch/batch-job-task-error-checking#job-preparation-tasks
wait_for_success=False)

# wait_for_success=False) # REVERTED: due to failed prediction jobs that can't find data files
wait_for_success=True)

# Job release task that runs after the job completes
# NOTE: job release tasks are hard to debug as you can't easily extract the logs :(
Expand Down
Loading