Skip to content

Commit

Permalink
Remove ML tasks (#3188)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanmetzman authored Jun 29, 2023
1 parent e08de3f commit bfd6310
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/clusterfuzz/_internal/base/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
JOBS_TASKQUEUE = JOBS_PREFIX
HIGH_END_JOBS_TASKQUEUE = HIGH_END_JOBS_PREFIX

# ML job is currently supported on Linux only.
ML_JOBS_TASKQUEUE = 'ml-jobs-linux'

# Limits on number of tasks leased at once and in total.
MAX_LEASED_TASKS_LIMIT = 1000
MAX_TASKS_LIMIT = 100000
Expand Down Expand Up @@ -189,10 +186,6 @@ def get_task():
if task:
return task

# TODO(unassigned): Remove this hack.
if environment.get_value('ML'):
return get_regular_task(queue=ML_JOBS_TASKQUEUE)

allow_all_tasks = not environment.get_value('PREEMPTIBLE')
if allow_all_tasks:
# Check the high-end jobs queue for bots with multiplier greater than 1.
Expand Down

0 comments on commit bfd6310

Please sign in to comment.